Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 179.5 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 95.41 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004628/0.0004628, allocations: 8 kB / 351.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3411, allocations: 50.4 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5984/0.9395, allocations: 273.7 MB / 0.6594 GB, free: 1.535 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.9399, allocations: 67.66 kB / 0.6595 GB, free: 1.5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02621/0.9661, allocations: 9.65 MB / 0.6689 GB, free: 9.555 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.9662, allocations: 0 / 0.6689 GB, free: 9.555 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.706e-05/0.9662, allocations: 7.984 kB / 0.6689 GB, free: 9.547 MB / 458.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.001071/0.9673, allocations: 465.5 kB / 0.6694 GB, free: 9.055 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.191e-05/0.9674, allocations: 12.03 kB / 0.6694 GB, free: 9.043 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001115/0.9675, allocations: 57.5 kB / 0.6694 GB, free: 8.988 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002268/0.9677, allocations: 23.8 kB / 0.6695 GB, free: 8.965 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.9681, allocations: 197.7 kB / 0.6696 GB, free: 8.738 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.9681, allocations: 11.84 kB / 0.6697 GB, free: 8.73 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.448e-05/0.9682, allocations: 18.75 kB / 0.6697 GB, free: 8.719 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004987/0.9687, allocations: 204.3 kB / 0.6699 GB, free: 8.539 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.9687, allocations: 0 / 0.6699 GB, free: 8.539 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.9687, allocations: 11.44 kB / 0.6699 GB, free: 8.531 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.9688, allocations: 7.953 kB / 0.6699 GB, free: 8.523 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000378/0.9691, allocations: 143.8 kB / 0.67 GB, free: 8.418 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.9707, allocations: 0.9417 MB / 0.6709 GB, free: 7.488 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.9712, allocations: 146.2 kB / 0.6711 GB, free: 7.367 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006843/0.9719, allocations: 0.5119 MB / 0.6716 GB, free: 6.816 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.9719, allocations: 38.38 kB / 0.6716 GB, free: 6.773 MB / 458.7 MB Notification: Performance of pre-optimization done (n=14): time 2.194e-06/0.9719, allocations: 0 / 0.6716 GB, free: 6.773 MB / 458.7 MB Notification: Performance of matching and sorting (n=20): time 0.002864/0.9748, allocations: 0.757 MB / 0.6724 GB, free: 6.094 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.9748, allocations: 51.41 kB / 0.6724 GB, free: 6.031 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.975, allocations: 139.1 kB / 0.6725 GB, free: 5.898 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.9751, allocations: 37.33 kB / 0.6726 GB, free: 5.859 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.9752, allocations: 142.8 kB / 0.6727 GB, free: 5.719 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.15e-05/0.9753, allocations: 77.75 kB / 0.6728 GB, free: 5.652 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.504e-05/0.9753, allocations: 3.938 kB / 0.6728 GB, free: 5.652 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.9754, allocations: 329.5 kB / 0.6731 GB, free: 5.328 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/0.9757, allocations: 85.5 kB / 0.6732 GB, free: 5.266 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/0.9761, allocations: 186.6 kB / 0.6734 GB, free: 5.062 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002905/0.9764, allocations: 107.5 kB / 0.6735 GB, free: 4.992 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.9764, allocations: 0 / 0.6735 GB, free: 4.992 MB / 458.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007236/0.9771, allocations: 322.2 kB / 0.6738 GB, free: 4.742 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.9771, allocations: 4 kB / 0.6738 GB, free: 4.738 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.9772, allocations: 4 kB / 0.6738 GB, free: 4.734 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.9772, allocations: 8 kB / 0.6738 GB, free: 4.727 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003911/0.9776, allocations: 83.64 kB / 0.6739 GB, free: 4.648 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-05/0.9776, allocations: 7.984 kB / 0.6739 GB, free: 4.641 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.9779, allocations: 23.7 kB / 0.6739 GB, free: 4.621 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.14e-05/0.9779, allocations: 15.81 kB / 0.6739 GB, free: 4.609 MB / 458.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.0001711/0.9781, allocations: 138.2 kB / 0.674 GB, free: 4.473 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.988e-05/0.9782, allocations: 15.81 kB / 0.6741 GB, free: 4.457 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006526/0.9788, allocations: 240.2 kB / 0.6743 GB, free: 4.277 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.9789, allocations: 0 / 0.6743 GB, free: 4.277 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.9789, allocations: 0 / 0.6743 GB, free: 4.277 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.9789, allocations: 0 / 0.6743 GB, free: 4.277 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.9803, allocations: 0.5938 MB / 0.6749 GB, free: 3.695 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.9803, allocations: 4 kB / 0.6749 GB, free: 3.691 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003078/0.9806, allocations: 51.34 kB / 0.6749 GB, free: 3.645 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.9806, allocations: 7.984 kB / 0.6749 GB, free: 3.637 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.9806, allocations: 12.06 kB / 0.6749 GB, free: 3.625 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.9807, allocations: 0 / 0.6749 GB, free: 3.625 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.9807, allocations: 4 kB / 0.6749 GB, free: 3.621 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008693/0.9815, allocations: 457.9 kB / 0.6754 GB, free: 3.195 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.107e-05/0.9816, allocations: 89.11 kB / 0.6755 GB, free: 3.09 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.9817, allocations: 7.375 kB / 0.6755 GB, free: 3.086 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.982, allocations: 15.42 kB / 0.6755 GB, free: 3.074 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/0.982, allocations: 7.984 kB / 0.6755 GB, free: 3.066 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/0.982, allocations: 15.36 kB / 0.6755 GB, free: 3.055 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.602e-05/0.9821, allocations: 107.8 kB / 0.6756 GB, free: 2.957 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.9821, allocations: 0 / 0.6756 GB, free: 2.957 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004592/0.9826, allocations: 66.62 kB / 0.6757 GB, free: 2.902 MB / 458.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.001482/0.9841, allocations: 1.302 MB / 0.6769 GB, free: 1.621 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006448/0.9848, allocations: 221.3 kB / 0.6772 GB, free: 1.453 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.9848, allocations: 0 / 0.6772 GB, free: 1.453 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.985, allocations: 94.12 kB / 0.6772 GB, free: 1.379 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.9854, allocations: 35.03 kB / 0.6773 GB, free: 1.352 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2551/1.241, allocations: 3.485 MB / 0.6807 GB, free: 178.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/1.241, allocations: 0.7212 MB / 0.6814 GB, free: 177.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003645/1.241, allocations: 44.06 kB / 0.6814 GB, free: 177.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/1.241, allocations: 55.69 kB / 0.6815 GB, free: 177.6 MB / 458.7 MB Notification: Performance of SimCode: time 1.653e-06/1.241, allocations: 0 / 0.6815 GB, free: 177.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/1.262, allocations: 4.425 MB / 0.6858 GB, free: 177.3 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/1.262, allocations: 181.9 kB / 0.686 GB, free: 177.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.914/3.176, allocations: 3.938 kB / 0.686 GB, free: 177.1 MB / 458.7 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat does not exist to compare? outputFormat=mat