Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterProperties.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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterProperties",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.001598/0.001598, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8335/0.8335, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 221.3 MB / 400.4 MB, free: 5.809 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009839/0.000984, allocations: 98.48 kB / 483.3 MB, free: 5.824 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.511e-05/5.513e-05, allocations: 2.781 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1941, allocations: 82.31 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.436/1.63, allocations: 354.4 MB / 0.9866 GB, free: 209.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/1.631, allocations: 67.88 kB / 0.9867 GB, free: 209.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05016/1.681, allocations: 20.16 MB / 1.006 GB, free: 206.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.874e-06/1.681, allocations: 0 / 1.006 GB, free: 206.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.167e-05/1.681, allocations: 3.156 kB / 1.006 GB, free: 206.8 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007728/1.682, allocations: 488.1 kB / 1.007 GB, free: 206.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/1.682, allocations: 11.19 kB / 1.007 GB, free: 206.4 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.578e-05/1.682, allocations: 52.84 kB / 1.007 GB, free: 206.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/1.682, allocations: 19.12 kB / 1.007 GB, free: 206.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/1.682, allocations: 216 kB / 1.007 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/1.682, allocations: 15.2 kB / 1.007 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/1.682, allocations: 17.33 kB / 1.007 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003921/1.683, allocations: 231.8 kB / 1.007 GB, free: 206 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/1.683, allocations: 0 / 1.007 GB, free: 206 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/1.683, allocations: 10.34 kB / 1.007 GB, free: 206 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-05/1.683, allocations: 10.28 kB / 1.007 GB, free: 206 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004409/1.683, allocations: 425 kB / 1.008 GB, free: 206 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/1.685, allocations: 0.9903 MB / 1.009 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/1.685, allocations: 149.7 kB / 1.009 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.935e-05/1.685, allocations: 61.55 kB / 1.009 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00121/1.686, allocations: 1.929 MB / 1.011 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/1.686, allocations: 46.14 kB / 1.011 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/1.686, allocations: 0 / 1.011 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0002903/1.687, allocations: 109.5 kB / 1.011 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/1.687, allocations: 55.19 kB / 1.011 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/1.687, allocations: 157.7 kB / 1.011 GB, free: 203 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/1.687, allocations: 29.02 kB / 1.011 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/1.687, allocations: 146.2 kB / 1.011 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/1.687, allocations: 50.27 kB / 1.011 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-06/1.687, allocations: 11.53 kB / 1.011 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.156e-05/1.687, allocations: 322.1 kB / 1.012 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.163e-05/1.687, allocations: 31.75 kB / 1.012 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.898e-05/1.687, allocations: 139.1 kB / 1.012 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/1.687, allocations: 63.72 kB / 1.012 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/1.687, allocations: 0 / 1.012 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000318/1.688, allocations: 199.5 kB / 1.012 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/1.688, allocations: 7.781 kB / 1.012 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.688, allocations: 7.766 kB / 1.012 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/1.688, allocations: 7.938 kB / 1.012 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/1.688, allocations: 66.12 kB / 1.012 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/1.688, allocations: 8.359 kB / 1.012 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/1.688, allocations: 34.66 kB / 1.012 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/1.688, allocations: 19.73 kB / 1.012 GB, free: 202.2 MB / 0.6823 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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 7.943e-05/1.688, allocations: 124.2 kB / 1.012 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.477e-05/1.688, allocations: 15.62 kB / 1.012 GB, free: 202 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002846/1.688, allocations: 152 kB / 1.013 GB, free: 202 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/1.688, allocations: 7.828 kB / 1.013 GB, free: 202 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.688, allocations: 0 / 1.013 GB, free: 202 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/1.688, allocations: 3.984 kB / 1.013 GB, free: 202 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/1.689, allocations: 210.9 kB / 1.013 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.689, allocations: 0 / 1.013 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/1.689, allocations: 34.72 kB / 1.013 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/1.689, allocations: 3.781 kB / 1.013 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/1.689, allocations: 0 / 1.013 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/1.689, allocations: 0 / 1.013 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.689, allocations: 7.859 kB / 1.013 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/1.689, allocations: 215.2 kB / 1.013 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.971e-05/1.689, allocations: 119.7 kB / 1.013 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/1.689, allocations: 3.562 kB / 1.013 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/1.689, allocations: 19.48 kB / 1.013 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.803e-05/1.689, allocations: 19.33 kB / 1.013 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/1.69, allocations: 11.67 kB / 1.013 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.817e-05/1.69, allocations: 118.8 kB / 1.013 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.11e-07/1.69, allocations: 0 / 1.013 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004211/1.69, allocations: 92.67 kB / 1.013 GB, free: 201.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0006202/1.691, allocations: 0.8383 MB / 1.014 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002149/1.691, allocations: 112.7 kB / 1.014 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.691, allocations: 4.312 kB / 1.014 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.764e-05/1.691, allocations: 49.3 kB / 1.014 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/1.691, allocations: 43.5 kB / 1.014 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006934/1.692, allocations: 245.9 kB / 1.015 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/1.692, allocations: 0.7156 MB / 1.015 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001813/1.692, allocations: 45.23 kB / 1.015 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.914e-05/1.692, allocations: 45.36 kB / 1.015 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of SimCode: time 3.01e-07/1.692, allocations: 0 / 1.015 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/1.711, allocations: 5.142 MB / 1.02 GB, free: 197.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/1.712, allocations: 135.9 kB / 1.021 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/3.551, allocations: 4 kB / 1.021 GB, free: 196.9 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)