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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007317/0.007317, allocations: 98.48 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001941/0.001941, allocations: 194.6 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9493/0.9493, allocations: 135.6 MB / 426.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 68.08 kB / 0.5857 GB, free: 3.227 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4413, allocations: 81.01 MB / 0.6649 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004729/0.4461, allocations: 4.016 MB / 0.6688 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001664/0.4463, allocations: 158.5 kB / 0.6689 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.4463, allocations: 0 / 0.6689 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.4465, allocations: 7.922 kB / 0.6689 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.216e-05/0.4465, allocations: 11.56 kB / 0.6689 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003271/0.4469, allocations: 78.34 kB / 0.669 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.549e-05/0.447, allocations: 37.56 kB / 0.6691 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.427e-05/0.4471, allocations: 13.27 kB / 0.6691 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.39e-05/0.4471, allocations: 13.3 kB / 0.6691 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.78e-05/0.4472, allocations: 13.27 kB / 0.6691 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.4472, allocations: 5.562 kB / 0.6691 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001933/0.4474, allocations: 57.98 kB / 0.6692 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.122e-05/0.4475, allocations: 5.469 kB / 0.6692 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.4475, allocations: 9.672 kB / 0.6692 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.4477, allocations: 41.92 kB / 0.6692 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4477, allocations: 0 / 0.6692 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4477, allocations: 3.938 kB / 0.6692 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.4477, allocations: 1.281 kB / 0.6692 GB, free: 3.574 MB / 0.4981 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.0003842/0.4481, allocations: 341.1 kB / 0.6695 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.4481, allocations: 10.41 kB / 0.6695 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.588e-05/0.4482, allocations: 30.75 kB / 0.6696 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.4482, allocations: 6.234 kB / 0.6696 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.438e-05/0.4483, allocations: 161.5 kB / 0.6697 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.162e-05/0.4484, allocations: 31.72 kB / 0.6698 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.4484, allocations: 6.812 kB / 0.6698 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.4485, allocations: 46.75 kB / 0.6698 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.4486, allocations: 0 / 0.6698 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.4486, allocations: 0 / 0.6698 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.4486, allocations: 1.344 kB / 0.6698 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.864e-05/0.4487, allocations: 21.33 kB / 0.6698 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.449, allocations: 333.7 kB / 0.6702 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.015e-05/0.4491, allocations: 16.05 kB / 0.6702 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.606e-05/0.4491, allocations: 14.11 kB / 0.6702 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.59e-05/0.4492, allocations: 86.75 kB / 0.6703 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.4492, allocations: 31.97 kB / 0.6703 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.4492, allocations: 0 / 0.6703 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001549/0.4494, allocations: 39.02 kB / 0.6703 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.4494, allocations: 52.47 kB / 0.6704 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.169e-05/0.4495, allocations: 104.1 kB / 0.6705 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.4495, allocations: 33.7 kB / 0.6705 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.4495, allocations: 85.41 kB / 0.6706 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.252e-06/0.4495, allocations: 5.297 kB / 0.6706 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.4496, allocations: 16.8 kB / 0.6706 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.316e-05/0.4497, allocations: 320.1 kB / 0.6709 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.4497, allocations: 2.5 kB / 0.6709 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.995e-05/0.4497, allocations: 14.19 kB / 0.6709 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.107e-05/0.4497, allocations: 31.14 kB / 0.671 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4497, allocations: 1.562 kB / 0.671 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.518e-05/0.4498, allocations: 50.59 kB / 0.671 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.4498, allocations: 9.188 kB / 0.671 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4498, allocations: 0 / 0.671 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.4499, allocations: 1.312 kB / 0.671 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.24e-05/0.4499, allocations: 4.156 kB / 0.671 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.4499, allocations: 5.531 kB / 0.671 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.021e-05/0.4499, allocations: 5.25 kB / 0.671 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.45, allocations: 1.375 kB / 0.671 GB, free: 1.543 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.023e-05/0.45, allocations: 111.1 kB / 0.6712 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.4501, allocations: 6.641 kB / 0.6712 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.775e-05/0.4501, allocations: 123.6 kB / 0.6713 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.63e-05/0.4502, allocations: 181.6 kB / 0.6715 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.792e-05/0.4502, allocations: 182 kB / 0.6716 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.448e-05/0.4502, allocations: 188.2 kB / 0.6718 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.4504, allocations: 412.7 kB / 0.6722 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-05/0.4504, allocations: 104.9 kB / 0.6723 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.121e-05/0.4504, allocations: 106.4 kB / 0.6724 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.407e-05/0.4505, allocations: 181.6 kB / 0.6726 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.353e-05/0.4506, allocations: 184.2 kB / 0.6727 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.857e-05/0.4507, allocations: 177.8 kB / 0.6729 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.414e-05/0.4508, allocations: 185.6 kB / 0.6731 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.451, allocations: 307.2 kB / 0.6734 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.4512, allocations: 183.4 kB / 0.6736 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.4513, allocations: 181.8 kB / 0.6737 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.4515, allocations: 108.9 kB / 0.6738 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.945e-05/0.4516, allocations: 176.3 kB / 0.674 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-05/0.4517, allocations: 110.2 kB / 0.6741 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.391e-05/0.4517, allocations: 89.09 kB / 0.6742 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.454e-06/0.4518, allocations: 0 / 0.6742 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000275/0.452, allocations: 23.25 kB / 0.6742 GB, free: 14.12 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000679/0.4527, allocations: 0.8293 MB / 0.675 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.268e-05/0.4528, allocations: 10.41 kB / 0.675 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4528, allocations: 0 / 0.675 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.308e-05/0.4528, allocations: 4 kB / 0.675 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.4533, allocations: 455.6 kB / 0.6755 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.4546, allocations: 1.331 MB / 0.6768 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.455, allocations: 0.6715 MB / 0.6774 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.807e-05/0.455, allocations: 8.672 kB / 0.6774 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.4551, allocations: 16.83 kB / 0.6775 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.4551, allocations: 0 / 0.6775 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02584/0.4809, allocations: 1.513 MB / 0.6789 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.253/8.734, allocations: 5.781 kB / 0.6789 GB, free: 9.914 MB / 0.5137 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/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)