Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",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.002186/0.002186, allocations: 188.4 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.154/2.154, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001182/0.001182, allocations: 91.39 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5508/0.5508, allocations: 43.56 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005124/0.0005124, allocations: 16 kB / 431.5 MB, free: 5.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1445, allocations: 58.84 MB / 490.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.76/11.9, allocations: 3.614 GB / 4.093 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/11.9, allocations: 96.83 kB / 4.093 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.424/14.32, allocations: 434 MB / 4.517 GB, free: 52.34 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.496e-06/14.32, allocations: 0 / 4.517 GB, free: 52.34 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.505e-05/14.32, allocations: 23.23 kB / 4.517 GB, free: 52.34 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.01185/14.34, allocations: 2.433 MB / 4.519 GB, free: 50.96 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.321e-05/14.34, allocations: 14.12 kB / 4.519 GB, free: 50.96 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007762/14.34, allocations: 128.9 kB / 4.52 GB, free: 50.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008367/14.34, allocations: 109 kB / 4.52 GB, free: 50.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002256/14.34, allocations: 0.629 MB / 4.52 GB, free: 50.59 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/14.34, allocations: 114.9 kB / 4.52 GB, free: 50.53 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003413/14.34, allocations: 77.66 kB / 4.52 GB, free: 50.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00354/14.34, allocations: 1.157 MB / 4.522 GB, free: 50.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.183e-05/14.35, allocations: 0 / 4.522 GB, free: 50.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002227/14.35, allocations: 40.36 kB / 4.522 GB, free: 50.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001243/14.35, allocations: 58.89 kB / 4.522 GB, free: 50.31 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003481/14.35, allocations: 1.142 MB / 4.523 GB, free: 50.29 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01137/14.36, allocations: 4.687 MB / 4.527 GB, free: 47.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002767/14.36, allocations: 0.8138 MB / 4.528 GB, free: 47.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001753/14.36, allocations: 1.567 MB / 4.53 GB, free: 46.26 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.597e-05/14.37, allocations: 49.16 kB / 4.53 GB, free: 46.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=70): time 3.637e-06/14.37, allocations: 0 / 4.53 GB, free: 46.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82): time 0.03407/14.4, allocations: 4.286 MB / 4.534 GB, free: 45.63 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/14.4, allocations: 117.3 kB / 4.534 GB, free: 45.51 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/14.4, allocations: 0.5809 MB / 4.535 GB, free: 45.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003556/14.4, allocations: 42.3 kB / 4.535 GB, free: 45.35 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/14.4, allocations: 405.3 kB / 4.535 GB, free: 45.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003572/14.4, allocations: 297.3 kB / 4.535 GB, free: 44.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/14.4, allocations: 22.22 kB / 4.535 GB, free: 44.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001031/14.4, allocations: 348 kB / 4.536 GB, free: 44.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/14.4, allocations: 498.4 kB / 4.536 GB, free: 44.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001923/14.41, allocations: 0.7543 MB / 4.537 GB, free: 44.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001969/14.41, allocations: 0.5833 MB / 4.537 GB, free: 44.26 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/14.41, allocations: 3.594 kB / 4.537 GB, free: 44.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006309/14.41, allocations: 1.634 MB / 4.539 GB, free: 44.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.045e-05/14.41, allocations: 13.02 kB / 4.539 GB, free: 44.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-05/14.41, allocations: 10.53 kB / 4.539 GB, free: 44.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0245/14.44, allocations: 1.452 MB / 4.54 GB, free: 44.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00319/14.44, allocations: 158.7 kB / 4.541 GB, free: 44.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/14.45, allocations: 1.54 MB / 4.542 GB, free: 43.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003468/14.46, allocations: 95.23 kB / 4.542 GB, free: 43.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005339/14.46, allocations: 64.22 kB / 4.542 GB, free: 43.52 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 88 * 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 {3 33} Notification: Performance of prepare postOptimizeDAE: time 0.001604/14.46, allocations: 292.2 kB / 4.543 GB, free: 43.31 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001235/14.46, allocations: 82.91 kB / 4.543 GB, free: 43.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008499/14.47, allocations: 1.648 MB / 4.544 GB, free: 42.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-05/14.47, allocations: 10.28 kB / 4.544 GB, free: 42.62 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/14.47, allocations: 0 / 4.544 GB, free: 42.62 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.26e-05/14.47, allocations: 2.719 kB / 4.544 GB, free: 42.62 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00852/14.48, allocations: 2.525 MB / 4.547 GB, free: 41.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/14.48, allocations: 3.812 kB / 4.547 GB, free: 41.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002646/14.48, allocations: 266.8 kB / 4.547 GB, free: 41.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003492/14.48, allocations: 393.8 kB / 4.547 GB, free: 41.41 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002713/14.48, allocations: 42.08 kB / 4.547 GB, free: 41.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003528/14.49, allocations: 2.275 MB / 4.55 GB, free: 39.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/14.49, allocations: 0 / 4.55 GB, free: 39.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006605/14.49, allocations: 2.097 MB / 4.552 GB, free: 38.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009738/14.49, allocations: 295.6 kB / 4.552 GB, free: 38.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002479/14.49, allocations: 21.62 kB / 4.552 GB, free: 38.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001595/14.5, allocations: 73.61 kB / 4.552 GB, free: 38.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002122/14.5, allocations: 63.62 kB / 4.552 GB, free: 38.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001719/14.5, allocations: 56.66 kB / 4.552 GB, free: 38.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009123/14.5, allocations: 483.9 kB / 4.553 GB, free: 37.97 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.51e-07/14.5, allocations: 3.938 kB / 4.553 GB, free: 37.97 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004256/14.5, allocations: 0.8378 MB / 4.553 GB, free: 37.71 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (82): * Single equations (assignments): 78 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0121/14.51, allocations: 4.517 MB / 4.558 GB, free: 35.57 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004679/14.52, allocations: 1.248 MB / 4.559 GB, free: 35.16 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/14.52, allocations: 0 / 4.559 GB, free: 35.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002894/14.52, allocations: 0.6898 MB / 4.56 GB, free: 34.95 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004184/14.53, allocations: 465 kB / 4.56 GB, free: 34.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0221/14.55, allocations: 12.01 MB / 4.572 GB, free: 26.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007051/14.55, allocations: 1.061 MB / 4.573 GB, free: 25.49 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/14.55, allocations: 349.1 kB / 4.573 GB, free: 25.27 MB / 0.4948 GB Notification: Performance of SimCode: time 1.132e-06/14.55, allocations: 0 / 4.573 GB, free: 25.27 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.696/18.25, allocations: 35.65 MB / 4.608 GB, free: 14.42 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat