Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.001201/0.001201, 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.7313/0.7313, 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.716/1.716, allocations: 221.3 MB / 400.4 MB, free: 5.789 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.0009944/0.0009944, allocations: 89.2 kB / 483.3 MB, free: 5.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.624e-05/4.644e-05, allocations: 3.25 kB / 0.5601 GB, free: 87.76 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2133, allocations: 82.3 MB / 0.6405 GB, free: 7.695 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9876/1.201, allocations: 316.3 MB / 0.9494 GB, free: 5.164 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/1.201, allocations: 77.7 kB / 0.9494 GB, free: 5.121 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.02466/1.226, allocations: 9.162 MB / 0.9584 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.294e-06/1.226, allocations: 0 / 0.9584 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.936e-06/1.226, allocations: 0 / 0.9584 GB, free: 13.7 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004284/1.227, allocations: 346.6 kB / 0.9587 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/1.227, allocations: 8.031 kB / 0.9587 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.111e-05/1.227, allocations: 34.38 kB / 0.9588 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.39e-05/1.227, allocations: 7.906 kB / 0.9588 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/1.227, allocations: 163 kB / 0.9589 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.076e-05/1.227, allocations: 33.69 kB / 0.959 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/1.227, allocations: 7.938 kB / 0.959 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/1.227, allocations: 41.06 kB / 0.959 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/1.227, allocations: 0 / 0.959 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/1.227, allocations: 0 / 0.959 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.535e-05/1.227, allocations: 3.938 kB / 0.959 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.271e-05/1.227, allocations: 8 kB / 0.959 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007929/1.228, allocations: 0.6088 MB / 0.9596 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.93e-05/1.228, allocations: 18.58 kB / 0.9596 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.056e-05/1.228, allocations: 4.859 kB / 0.9596 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003163/1.229, allocations: 358.8 kB / 0.96 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/1.229, allocations: 41.55 kB / 0.96 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/1.229, allocations: 7.938 kB / 0.96 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001508/1.229, allocations: 33.7 kB / 0.9601 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/1.229, allocations: 55.36 kB / 0.9601 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.756e-05/1.229, allocations: 92.56 kB / 0.9602 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/1.229, allocations: 25.7 kB / 0.9602 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.07e-05/1.229, allocations: 95.97 kB / 0.9603 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.113e-06/1.229, allocations: 0 / 0.9603 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/1.229, allocations: 0 / 0.9603 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.229, allocations: 314.3 kB / 0.9606 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.64e-05/1.229, allocations: 4 kB / 0.9606 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.444e-05/1.229, allocations: 17.75 kB / 0.9606 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.722e-05/1.229, allocations: 15.61 kB / 0.9606 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.229, allocations: 0 / 0.9606 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.879e-05/1.229, allocations: 49.59 kB / 0.9607 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/1.229, allocations: 9.094 kB / 0.9607 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/1.229, allocations: 0 / 0.9607 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/1.229, allocations: 64 / 0.9607 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.736e-05/1.23, allocations: 8 kB / 0.9607 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/1.23, allocations: 7.922 kB / 0.9607 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.245e-05/1.23, allocations: 11.39 kB / 0.9607 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/1.23, allocations: 0 / 0.9607 GB, free: 10.98 MB / 0.6823 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 () * 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 7.652e-05/1.23, allocations: 105 kB / 0.9608 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/1.23, allocations: 288 / 0.9608 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/1.23, allocations: 120.6 kB / 0.9609 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-05/1.23, allocations: 188.2 kB / 0.9611 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.576e-05/1.23, allocations: 180.2 kB / 0.9613 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.766e-05/1.23, allocations: 180.3 kB / 0.9615 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/1.23, allocations: 408.3 kB / 0.9619 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.159e-05/1.23, allocations: 105 kB / 0.962 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.512e-05/1.23, allocations: 112.9 kB / 0.9621 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.926e-05/1.231, allocations: 176.3 kB / 0.9622 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-05/1.231, allocations: 179.5 kB / 0.9624 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.114e-05/1.231, allocations: 180.2 kB / 0.9626 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.653e-05/1.231, allocations: 180.4 kB / 0.9627 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/1.231, allocations: 319.3 kB / 0.9631 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/1.231, allocations: 189.9 kB / 0.9632 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/1.231, allocations: 180.3 kB / 0.9634 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/1.231, allocations: 108.9 kB / 0.9635 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/1.231, allocations: 180.2 kB / 0.9637 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.55e-05/1.231, allocations: 109 kB / 0.9638 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.685e-05/1.232, allocations: 79.28 kB / 0.9639 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/1.232, allocations: 4 kB / 0.9639 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003272/1.232, allocations: 34.94 kB / 0.9639 GB, free: 7.531 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 (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.0006764/1.233, allocations: 0.8734 MB / 0.9648 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.343e-05/1.233, allocations: 11.94 kB / 0.9648 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.233, allocations: 128 / 0.9648 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.37e-06/1.233, allocations: 7.938 kB / 0.9648 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/1.233, allocations: 0.5146 MB / 0.9653 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004383/1.234, allocations: 174.5 kB / 0.9654 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/1.234, allocations: 0.677 MB / 0.9661 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.757e-05/1.234, allocations: 11.94 kB / 0.9661 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/1.234, allocations: 11.42 kB / 0.9661 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of SimCode: time 5.71e-07/1.234, allocations: 4 kB / 0.9661 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01669/1.251, allocations: 1.869 MB / 0.968 GB, free: 3.508 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000236/1.251, allocations: 191.8 kB / 0.9681 GB, free: 3.285 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/3.005, allocations: 4 kB / 0.9681 GB, free: 3.281 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)