Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.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) 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(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater",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.001735/0.001735, allocations: 180 kB / 17.01 MB, free: 5.125 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.764/1.764, allocations: 205.4 MB / 223.1 MB, free: 9.031 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.001005/0.001005, allocations: 96.97 kB / 271.5 MB, free: 8.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002958/0.0002958, allocations: 8 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.325, allocations: 47.57 MB / 375.9 MB, free: 45.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5383/0.8634, allocations: 272.7 MB / 0.6334 GB, free: 332 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.8638, allocations: 68.09 kB / 0.6335 GB, free: 296 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02283/0.8866, allocations: 9.432 MB / 0.6427 GB, free: 8.547 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.8867, allocations: 0 / 0.6427 GB, free: 8.547 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.827e-05/0.8867, allocations: 4 kB / 0.6427 GB, free: 8.543 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00101/0.8877, allocations: 470.1 kB / 0.6431 GB, free: 8.047 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/0.8878, allocations: 8.031 kB / 0.6431 GB, free: 8.039 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.841e-05/0.8879, allocations: 45.69 kB / 0.6432 GB, free: 7.992 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002331/0.8881, allocations: 23.8 kB / 0.6432 GB, free: 7.969 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/0.8885, allocations: 209.5 kB / 0.6434 GB, free: 7.734 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.8885, allocations: 16.16 kB / 0.6434 GB, free: 7.723 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.501e-05/0.8886, allocations: 15.77 kB / 0.6434 GB, free: 7.711 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004952/0.8891, allocations: 218 kB / 0.6436 GB, free: 7.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.8891, allocations: 0 / 0.6436 GB, free: 7.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.8891, allocations: 7.5 kB / 0.6436 GB, free: 7.516 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.8891, allocations: 4 kB / 0.6437 GB, free: 7.512 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003737/0.8895, allocations: 143.8 kB / 0.6438 GB, free: 7.406 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.891, allocations: 0.944 MB / 0.6447 GB, free: 6.473 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/0.8914, allocations: 142.7 kB / 0.6448 GB, free: 6.359 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006394/0.8921, allocations: 0.4976 MB / 0.6453 GB, free: 5.824 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.8921, allocations: 46.44 kB / 0.6454 GB, free: 5.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.8922, allocations: 0 / 0.6454 GB, free: 5.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.002845/0.895, allocations: 0.7553 MB / 0.6461 GB, free: 5.094 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/0.8951, allocations: 59.36 kB / 0.6462 GB, free: 5.023 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.8953, allocations: 143.6 kB / 0.6463 GB, free: 4.883 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/0.8953, allocations: 28.89 kB / 0.6463 GB, free: 4.852 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.8955, allocations: 139.5 kB / 0.6465 GB, free: 4.719 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.668e-05/0.8956, allocations: 77.69 kB / 0.6465 GB, free: 4.652 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.614e-05/0.8956, allocations: 2.938 kB / 0.6465 GB, free: 4.652 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.8958, allocations: 326.3 kB / 0.6469 GB, free: 4.332 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.896, allocations: 80.88 kB / 0.6469 GB, free: 4.273 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/0.8964, allocations: 200.1 kB / 0.6471 GB, free: 4.062 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.8966, allocations: 101.5 kB / 0.6472 GB, free: 3.996 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.8967, allocations: 4 kB / 0.6472 GB, free: 3.992 MB / 426.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000726/0.8974, allocations: 318.7 kB / 0.6475 GB, free: 3.742 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.8974, allocations: 8 kB / 0.6475 GB, free: 3.734 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.8975, allocations: 4 kB / 0.6475 GB, free: 3.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.8975, allocations: 7.984 kB / 0.6476 GB, free: 3.723 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.8979, allocations: 79.27 kB / 0.6476 GB, free: 3.648 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.019e-05/0.8979, allocations: 11.94 kB / 0.6476 GB, free: 3.637 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/0.8982, allocations: 27.66 kB / 0.6477 GB, free: 3.613 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.322e-05/0.8983, allocations: 19.8 kB / 0.6477 GB, free: 3.598 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001661/0.8985, allocations: 132.9 kB / 0.6478 GB, free: 3.469 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.208e-05/0.8985, allocations: 15.81 kB / 0.6478 GB, free: 3.453 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006828/0.8992, allocations: 235.4 kB / 0.648 GB, free: 3.273 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.8992, allocations: 7.984 kB / 0.6481 GB, free: 3.266 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.8992, allocations: 0 / 0.6481 GB, free: 3.266 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.8993, allocations: 0 / 0.6481 GB, free: 3.266 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/0.9006, allocations: 0.5905 MB / 0.6486 GB, free: 2.688 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.9007, allocations: 4 kB / 0.6486 GB, free: 2.684 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003033/0.901, allocations: 55.83 kB / 0.6487 GB, free: 2.629 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.901, allocations: 8.125 kB / 0.6487 GB, free: 2.621 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.901, allocations: 7.391 kB / 0.6487 GB, free: 2.617 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.9011, allocations: 4 kB / 0.6487 GB, free: 2.613 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.9011, allocations: 3.984 kB / 0.6487 GB, free: 2.609 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009008/0.902, allocations: 455.2 kB / 0.6491 GB, free: 2.188 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.9021, allocations: 85.02 kB / 0.6492 GB, free: 2.086 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.9022, allocations: 11.42 kB / 0.6492 GB, free: 2.078 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.9024, allocations: 11.89 kB / 0.6492 GB, free: 2.066 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.9025, allocations: 23.75 kB / 0.6493 GB, free: 2.047 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.9025, allocations: 12 kB / 0.6493 GB, free: 2.035 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.154e-05/0.9026, allocations: 110.2 kB / 0.6494 GB, free: 1.938 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9026, allocations: 64 / 0.6494 GB, free: 1.938 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004233/0.903, allocations: 67.06 kB / 0.6495 GB, free: 1.879 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (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 (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001373/0.9044, allocations: 1.297 MB / 0.6507 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005535/0.905, allocations: 211.4 kB / 0.6509 GB, free: 456 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.905, allocations: 0.9375 kB / 0.6509 GB, free: 456 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.9052, allocations: 98 kB / 0.651 GB, free: 376 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.9055, allocations: 27.11 kB / 0.651 GB, free: 360 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2126/1.118, allocations: 3.496 MB / 0.6545 GB, free: 159 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/1.119, allocations: 0.7185 MB / 0.6552 GB, free: 158.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000375/1.119, allocations: 42.19 kB / 0.6552 GB, free: 158.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/1.119, allocations: 48.09 kB / 0.6552 GB, free: 158.3 MB / 426.7 MB Notification: Performance of SimCode: time 2.204e-06/1.119, allocations: 4.25 kB / 0.6552 GB, free: 158.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/1.137, allocations: 4.421 MB / 0.6596 GB, free: 158 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/1.137, allocations: 165.6 kB / 0.6597 GB, free: 157.7 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/3.096, allocations: 0 / 0.6597 GB, free: 157.7 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.mat does not exist to compare? outputFormat=mat