Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001237/0.001237, allocations: 183.3 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2613/0.2613, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004511/0.0004511, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1428, allocations: 58.86 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.295/7.438, allocations: 3.12 GB / 3.599 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/7.438, allocations: 99.23 kB / 3.599 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.38/10.82, allocations: 1.138 GB / 4.737 GB, free: 280 kB / 0.5105 GB Notification: Performance of FrontEnd: time 2.375e-06/10.82, allocations: 0 / 4.737 GB, free: 280 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.809e-05/10.82, allocations: 16 kB / 4.737 GB, free: 264 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.3391/11.16, allocations: 1.656 MB / 4.739 GB, free: 71.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/11.16, allocations: 12.83 kB / 4.739 GB, free: 71.02 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002142/11.16, allocations: 98.25 kB / 4.739 GB, free: 70.98 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003446/11.16, allocations: 86.88 kB / 4.739 GB, free: 70.95 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/11.16, allocations: 0.5354 MB / 4.739 GB, free: 70.69 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/11.16, allocations: 101.6 kB / 4.739 GB, free: 70.63 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.292e-05/11.16, allocations: 53.77 kB / 4.739 GB, free: 70.62 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/11.16, allocations: 0.8153 MB / 4.74 GB, free: 70.39 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/11.16, allocations: 5.828 kB / 4.74 GB, free: 70.39 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.918e-05/11.16, allocations: 26.89 kB / 4.74 GB, free: 70.39 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-05/11.16, allocations: 40.77 kB / 4.74 GB, free: 70.39 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009695/11.16, allocations: 0.6405 MB / 4.741 GB, free: 70.38 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004176/11.17, allocations: 3.919 MB / 4.745 GB, free: 67.96 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007518/11.17, allocations: 404.8 kB / 4.745 GB, free: 67.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000373/11.17, allocations: 0.5033 MB / 4.746 GB, free: 67.36 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/11.17, allocations: 41.72 kB / 4.746 GB, free: 67.32 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 3.326e-06/11.17, allocations: 3.219 kB / 4.746 GB, free: 67.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.003274/11.17, allocations: 1.498 MB / 4.747 GB, free: 66.92 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.008e-05/11.17, allocations: 135.1 kB / 4.747 GB, free: 66.77 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007206/11.17, allocations: 0.4985 MB / 4.748 GB, free: 66.64 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.146e-05/11.17, allocations: 34.95 kB / 4.748 GB, free: 66.61 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/11.17, allocations: 365.8 kB / 4.748 GB, free: 66.42 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/11.17, allocations: 160.7 kB / 4.748 GB, free: 66.32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/11.17, allocations: 19.19 kB / 4.748 GB, free: 66.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001136/11.17, allocations: 373 kB / 4.749 GB, free: 66.01 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004201/11.17, allocations: 221.4 kB / 4.749 GB, free: 66.01 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005501/11.17, allocations: 0.5049 MB / 4.749 GB, free: 65.65 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000526/11.17, allocations: 309 kB / 4.75 GB, free: 65.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/11.17, allocations: 2.656 kB / 4.75 GB, free: 65.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002042/11.18, allocations: 0.9285 MB / 4.751 GB, free: 65.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/11.18, allocations: 9.875 kB / 4.751 GB, free: 65.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/11.18, allocations: 12.8 kB / 4.751 GB, free: 65.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/11.18, allocations: 271.5 kB / 4.751 GB, free: 65.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/11.18, allocations: 126.8 kB / 4.751 GB, free: 65.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008161/11.18, allocations: 0.8594 MB / 4.752 GB, free: 65.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005966/11.18, allocations: 46.53 kB / 4.752 GB, free: 65.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-05/11.18, allocations: 35.19 kB / 4.752 GB, free: 65.02 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003592/11.18, allocations: 244.5 kB / 4.752 GB, free: 64.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/11.18, allocations: 67.62 kB / 4.752 GB, free: 64.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001492/11.18, allocations: 0.7078 MB / 4.753 GB, free: 64.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/11.18, allocations: 6.859 kB / 4.753 GB, free: 64.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/11.18, allocations: 1.031 kB / 4.753 GB, free: 64.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/11.18, allocations: 5.469 kB / 4.753 GB, free: 64.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002411/11.18, allocations: 1.377 MB / 4.754 GB, free: 64.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/11.18, allocations: 10.08 kB / 4.754 GB, free: 64.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/11.18, allocations: 195.3 kB / 4.754 GB, free: 64.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000342/11.18, allocations: 64.83 kB / 4.755 GB, free: 64.39 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.985e-05/11.18, allocations: 15.84 kB / 4.755 GB, free: 64.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002246/11.19, allocations: 2.802 MB / 4.757 GB, free: 61.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/11.19, allocations: 5.156 kB / 4.757 GB, free: 61.81 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/11.19, allocations: 1.055 MB / 4.758 GB, free: 61.45 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004138/11.19, allocations: 207.2 kB / 4.759 GB, free: 61.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.985e-05/11.19, allocations: 11.97 kB / 4.759 GB, free: 61.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004384/11.19, allocations: 33 kB / 4.759 GB, free: 61.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/11.19, allocations: 43.92 kB / 4.759 GB, free: 61.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-05/11.19, allocations: 19.59 kB / 4.759 GB, free: 61.31 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006706/11.19, allocations: 392.8 kB / 4.759 GB, free: 61.22 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.31e-07/11.19, allocations: 0 / 4.759 GB, free: 61.22 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001409/11.19, allocations: 245.3 kB / 4.759 GB, free: 61.22 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002782/11.19, allocations: 2.381 MB / 4.762 GB, free: 59.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001503/11.2, allocations: 0.5923 MB / 4.762 GB, free: 59.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/11.2, allocations: 0.9688 kB / 4.762 GB, free: 59.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001212/11.2, allocations: 471.4 kB / 4.763 GB, free: 59.72 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/11.2, allocations: 317.3 kB / 4.763 GB, free: 59.72 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007678/11.21, allocations: 10.47 MB / 4.773 GB, free: 52.06 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/11.21, allocations: 0.9525 MB / 4.774 GB, free: 51.35 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008513/11.21, allocations: 206.4 kB / 4.774 GB, free: 51.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002874/11.21, allocations: 233.3 kB / 4.774 GB, free: 51.33 MB / 0.5105 GB Notification: Performance of SimCode: time 2.054e-06/11.21, allocations: 0 / 4.774 GB, free: 51.33 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03742/11.25, allocations: 22.9 MB / 4.797 GB, free: 50.44 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/11.25, allocations: 282.8 kB / 4.797 GB, free: 50.08 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.763/14.01, allocations: 7.812 kB / 4.797 GB, free: 50.08 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat