Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",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.008898/0.008898, allocations: 172.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8088/0.8088, allocations: 135.2 MB / 151 MB, free: 13.81 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.433/1.433, allocations: 223.2 MB / 406.8 MB, free: 3.223 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009629/0.0009628, allocations: 102.2 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003692, allocations: 8 kB / 0.5691 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.4394, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6803/1.12, allocations: 351.2 MB / 0.9925 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/1.12, allocations: 73.97 kB / 0.9925 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0278/1.148, allocations: 13.31 MB / 1.006 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.503e-06/1.148, allocations: 4 kB / 1.006 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.5e-06/1.148, allocations: 0 / 1.006 GB, free: 11.66 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003217/1.148, allocations: 350.7 kB / 1.006 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/1.148, allocations: 8.031 kB / 1.006 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.645e-05/1.148, allocations: 34.31 kB / 1.006 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/1.148, allocations: 7.906 kB / 1.006 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/1.149, allocations: 163 kB / 1.006 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.85e-05/1.149, allocations: 25.7 kB / 1.006 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/1.149, allocations: 7.984 kB / 1.006 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/1.149, allocations: 41.67 kB / 1.006 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/1.149, allocations: 7.938 kB / 1.006 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/1.149, allocations: 3.938 kB / 1.006 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/1.149, allocations: 0 / 1.006 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.953e-05/1.149, allocations: 11.98 kB / 1.006 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/1.149, allocations: 340.3 kB / 1.007 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 3.113e-05/1.149, allocations: 18.56 kB / 1.007 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.178e-05/1.149, allocations: 81.17 kB / 1.007 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/1.149, allocations: 42.5 kB / 1.007 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/1.149, allocations: 0 / 1.007 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1): time 0.0001275/1.15, allocations: 37.62 kB / 1.007 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/1.15, allocations: 55.36 kB / 1.007 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.806e-05/1.15, allocations: 96.75 kB / 1.007 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/1.15, allocations: 25.7 kB / 1.007 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.091e-05/1.15, allocations: 91.91 kB / 1.007 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.262e-06/1.15, allocations: 8.031 kB / 1.007 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-06/1.15, allocations: 0 / 1.007 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.583e-05/1.15, allocations: 314.8 kB / 1.007 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.318e-05/1.15, allocations: 0 / 1.007 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.675e-05/1.15, allocations: 21.02 kB / 1.007 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.743e-05/1.15, allocations: 7.938 kB / 1.007 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.15, allocations: 0 / 1.007 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.527e-05/1.15, allocations: 52.5 kB / 1.007 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/1.15, allocations: 8 kB / 1.007 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/1.15, allocations: 0 / 1.007 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/1.15, allocations: 0 / 1.007 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.613e-05/1.15, allocations: 11.94 kB / 1.007 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/1.15, allocations: 4 kB / 1.007 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.936e-05/1.15, allocations: 3.953 kB / 1.007 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/1.15, allocations: 0 / 1.007 GB, free: 9.582 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 6.938e-05/1.15, allocations: 113 kB / 1.007 GB, free: 9.465 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/1.15, allocations: 4.062 kB / 1.007 GB, free: 9.461 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/1.15, allocations: 120.6 kB / 1.008 GB, free: 9.34 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.098e-05/1.15, allocations: 180.2 kB / 1.008 GB, free: 9.156 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.448e-05/1.151, allocations: 176.3 kB / 1.008 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.918e-05/1.151, allocations: 188.2 kB / 1.008 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/1.151, allocations: 408.4 kB / 1.008 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.991e-05/1.151, allocations: 105 kB / 1.009 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.436e-05/1.151, allocations: 104.9 kB / 1.009 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-05/1.151, allocations: 176.3 kB / 1.009 GB, free: 7.934 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-05/1.151, allocations: 183.7 kB / 1.009 GB, free: 7.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.258e-05/1.151, allocations: 180.3 kB / 1.009 GB, free: 7.566 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.538e-05/1.151, allocations: 184.2 kB / 1.009 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/1.151, allocations: 315.3 kB / 1.01 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.844e-05/1.151, allocations: 187.7 kB / 1.01 GB, free: 6.844 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.139e-05/1.151, allocations: 180.3 kB / 1.01 GB, free: 6.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/1.152, allocations: 109 kB / 1.01 GB, free: 6.547 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/1.152, allocations: 187.6 kB / 1.01 GB, free: 6.359 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/1.152, allocations: 105 kB / 1.01 GB, free: 6.25 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.012e-05/1.152, allocations: 79.28 kB / 1.01 GB, free: 6.172 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.21e-07/1.152, allocations: 4 kB / 1.01 GB, free: 6.168 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000236/1.152, allocations: 19.69 kB / 1.011 GB, free: 6.152 MB / 0.6511 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0004583/1.152, allocations: 0.8443 MB / 1.011 GB, free: 5.281 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 5.814e-05/1.152, allocations: 4 kB / 1.011 GB, free: 5.277 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.152, allocations: 4 kB / 1.011 GB, free: 5.273 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.767e-06/1.152, allocations: 0 / 1.011 GB, free: 5.273 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/1.153, allocations: 0.5299 MB / 1.012 GB, free: 4.742 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003891/1.153, allocations: 226.1 kB / 1.012 GB, free: 4.48 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/1.153, allocations: 0.677 MB / 1.013 GB, free: 3.777 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.122e-05/1.153, allocations: 4.281 kB / 1.013 GB, free: 3.773 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/1.154, allocations: 10.94 kB / 1.013 GB, free: 3.766 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/1.154, allocations: 4 kB / 1.013 GB, free: 3.762 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01282/1.166, allocations: 1.59 MB / 1.014 GB, free: 2.297 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002521/1.167, allocations: 184.8 kB / 1.014 GB, free: 2.051 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.463/2.63, allocations: 0 / 1.014 GB, free: 2.051 MB / 0.6511 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)