Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",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.001438/0.001438, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.027/2.027, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 87.53 kB / 261.7 MB, free: 1.684 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.2631/0.2631, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.267e-05/3.345e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1505, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.034/1.184, allocations: 352.2 MB / 0.81 GB, free: 83.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003677/1.185, allocations: 97.19 kB / 0.8101 GB, free: 83.75 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6042/1.789, allocations: 129.7 MB / 0.9368 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.945e-06/1.789, allocations: 0 / 0.9368 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.262e-05/1.789, allocations: 21.77 kB / 0.9368 GB, free: 138.9 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001805/1.791, allocations: 0.8929 MB / 0.9377 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/1.791, allocations: 7.125 kB / 0.9377 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003279/1.791, allocations: 94.19 kB / 0.9378 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008922/1.792, allocations: 0.5438 MB / 0.9383 GB, free: 138 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.441e-05/1.792, allocations: 89.72 kB / 0.9384 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.086e-05/1.792, allocations: 25.03 kB / 0.9384 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008384/1.793, allocations: 0.5306 MB / 0.9389 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009491/1.794, allocations: 0.7383 MB / 0.9396 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/1.794, allocations: 3.938 kB / 0.9397 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.245e-05/1.794, allocations: 3.938 kB / 0.9397 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.211e-05/1.794, allocations: 39.91 kB / 0.9397 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003786/1.798, allocations: 4.181 MB / 0.9438 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/1.798, allocations: 269.6 kB / 0.944 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/1.799, allocations: 140.7 kB / 0.9442 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001429/1.8, allocations: 1.424 MB / 0.9456 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/1.8, allocations: 38.19 kB / 0.9456 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=17): time 1.934e-06/1.8, allocations: 448 / 0.9456 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24): time 0.002161/1.802, allocations: 0.8897 MB / 0.9465 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/1.802, allocations: 136.3 kB / 0.9466 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005503/1.803, allocations: 0.5046 MB / 0.9471 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/1.803, allocations: 25.7 kB / 0.9471 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/1.803, allocations: 435 kB / 0.9475 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.234e-05/1.803, allocations: 85.89 kB / 0.9476 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/1.803, allocations: 2.875 kB / 0.9476 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001457/1.804, allocations: 371.1 kB / 0.948 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/1.804, allocations: 154.1 kB / 0.9481 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000434/1.804, allocations: 0.4997 MB / 0.9486 GB, free: 130.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004613/1.805, allocations: 269.4 kB / 0.9489 GB, free: 130.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/1.805, allocations: 3.875 kB / 0.9489 GB, free: 130.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001122/1.806, allocations: 0.6813 MB / 0.9495 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/1.806, allocations: 10.19 kB / 0.9495 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/1.806, allocations: 10.91 kB / 0.9495 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002341/1.806, allocations: 82.22 kB / 0.9496 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006047/1.807, allocations: 182.9 kB / 0.9498 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005127/1.807, allocations: 0.6737 MB / 0.9505 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005615/1.808, allocations: 27.72 kB / 0.9505 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.637e-05/1.808, allocations: 45.05 kB / 0.9505 GB, free: 129.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001545/1.808, allocations: 140.3 kB / 0.9507 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004414/1.808, allocations: 277.4 kB / 0.9509 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.59e-05/1.809, allocations: 54.28 kB / 0.951 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005806/1.809, allocations: 316.3 kB / 0.9513 GB, free: 129.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/1.809, allocations: 4 kB / 0.9513 GB, free: 129.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.809, allocations: 7.156 kB / 0.9513 GB, free: 129.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/1.809, allocations: 0 / 0.9513 GB, free: 129.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/1.81, allocations: 0.8508 MB / 0.9521 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/1.81, allocations: 2.375 kB / 0.9521 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/1.811, allocations: 49.86 kB / 0.9522 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.447e-05/1.811, allocations: 34.61 kB / 0.9522 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/1.811, allocations: 0 / 0.9522 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000279/1.811, allocations: 0.5562 MB / 0.9527 GB, free: 128.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.811, allocations: 3.938 kB / 0.9528 GB, free: 128.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006154/1.812, allocations: 0.5272 MB / 0.9533 GB, free: 128 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000203/1.812, allocations: 170.5 kB / 0.9534 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.815e-05/1.812, allocations: 7.531 kB / 0.9534 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003491/1.812, allocations: 22.48 kB / 0.9535 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/1.812, allocations: 18.36 kB / 0.9535 GB, free: 127.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/1.812, allocations: 14.83 kB / 0.9535 GB, free: 127.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003671/1.813, allocations: 378.7 kB / 0.9538 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.252e-06/1.813, allocations: 0 / 0.9538 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008746/1.814, allocations: 201.5 kB / 0.954 GB, free: 127.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001324/1.815, allocations: 1.483 MB / 0.9555 GB, free: 126.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007269/1.816, allocations: 388.3 kB / 0.9559 GB, free: 126.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.816, allocations: 0 / 0.9559 GB, free: 126.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/1.816, allocations: 105.4 kB / 0.956 GB, free: 126.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/1.817, allocations: 238.8 kB / 0.9562 GB, free: 126.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/1.819, allocations: 0.9138 MB / 0.9571 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/1.819, allocations: 0.9474 MB / 0.958 GB, free: 125.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005759/1.82, allocations: 176.2 kB / 0.9582 GB, free: 125.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/1.82, allocations: 214.3 kB / 0.9584 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of SimCode: time 7.21e-07/1.82, allocations: 4 kB / 0.9584 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03946/1.859, allocations: 15.82 MB / 0.9738 GB, free: 121.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002515/1.86, allocations: 230.4 kB / 0.9741 GB, free: 121 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.725/4.584, allocations: 0 / 0.9741 GB, free: 121 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat