Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.007518/0.007518, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001721/0.001721, allocations: 196.8 kB / 16.67 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9269/0.9269, allocations: 135.1 MB / 425.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 67.89 kB / 0.5851 GB, free: 3.891 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4472/0.4486, allocations: 80.92 MB / 0.6641 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004455/0.453, allocations: 3.724 MB / 0.6678 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001733/0.4532, allocations: 153.4 kB / 0.6679 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.795e-05/0.4533, allocations: 0 / 0.6679 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.885e-05/0.4534, allocations: 3.938 kB / 0.6679 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.973e-05/0.4535, allocations: 14.53 kB / 0.6679 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/0.4538, allocations: 86.5 kB / 0.668 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.4539, allocations: 32.58 kB / 0.668 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.454, allocations: 6.766 kB / 0.6681 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.331e-05/0.454, allocations: 21.16 kB / 0.6681 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.05e-05/0.4541, allocations: 5.531 kB / 0.6681 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.4541, allocations: 1.5 kB / 0.6681 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006043/0.4547, allocations: 187.8 kB / 0.6683 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.592e-05/0.4548, allocations: 14.59 kB / 0.6683 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.4548, allocations: 8.766 kB / 0.6683 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.455, allocations: 40.41 kB / 0.6683 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.455, allocations: 1.156 kB / 0.6683 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.455, allocations: 0 / 0.6683 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.455, allocations: 0 / 0.6683 GB, free: 3.906 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.0003577/0.4554, allocations: 344.4 kB / 0.6687 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.4554, allocations: 9.844 kB / 0.6687 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.87e-05/0.4554, allocations: 32.25 kB / 0.6687 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.4555, allocations: 10.34 kB / 0.6687 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.702e-05/0.4556, allocations: 164.4 kB / 0.6689 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.441e-05/0.4556, allocations: 27.8 kB / 0.6689 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.4557, allocations: 5.625 kB / 0.6689 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.4558, allocations: 43.75 kB / 0.6689 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.4558, allocations: 0 / 0.6689 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.4558, allocations: 4.984 kB / 0.6689 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.4558, allocations: 1.375 kB / 0.6689 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.724e-05/0.4559, allocations: 25.27 kB / 0.669 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003952/0.4563, allocations: 332.9 kB / 0.6693 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.4e-05/0.4563, allocations: 16.02 kB / 0.6693 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.559e-05/0.4564, allocations: 6.422 kB / 0.6693 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.88e-05/0.4564, allocations: 86.06 kB / 0.6694 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.4565, allocations: 36.09 kB / 0.6694 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.153e-06/0.4565, allocations: 0 / 0.6694 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001633/0.4566, allocations: 40.42 kB / 0.6695 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.4567, allocations: 51.41 kB / 0.6695 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.571e-05/0.4568, allocations: 100.2 kB / 0.6696 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.4568, allocations: 25.7 kB / 0.6696 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.794e-05/0.4568, allocations: 89.17 kB / 0.6697 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.197e-06/0.4568, allocations: 8.938 kB / 0.6697 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.4569, allocations: 17.98 kB / 0.6697 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.396e-05/0.4569, allocations: 322.8 kB / 0.67 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.457, allocations: 6.969 kB / 0.6701 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.426e-05/0.457, allocations: 18 kB / 0.6701 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.615e-05/0.457, allocations: 27.33 kB / 0.6701 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.457, allocations: 1.594 kB / 0.6701 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.698e-05/0.4571, allocations: 49.81 kB / 0.6701 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.4571, allocations: 5.594 kB / 0.6701 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.4572, allocations: 0 / 0.6701 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.4572, allocations: 5.375 kB / 0.6702 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.47e-05/0.4572, allocations: 4.312 kB / 0.6702 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.4572, allocations: 1.156 kB / 0.6702 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.4573, allocations: 1.062 kB / 0.6702 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.4573, allocations: 2.625 kB / 0.6702 GB, free: 1.871 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.684e-05/0.4573, allocations: 112.9 kB / 0.6703 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.4574, allocations: 5.344 kB / 0.6703 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.4575, allocations: 124.3 kB / 0.6704 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-05/0.4575, allocations: 185.5 kB / 0.6706 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-05/0.4575, allocations: 180.2 kB / 0.6707 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.037e-05/0.4576, allocations: 189.7 kB / 0.6709 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.4577, allocations: 412.4 kB / 0.6713 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.187e-05/0.4578, allocations: 101 kB / 0.6714 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.886e-05/0.4578, allocations: 106.8 kB / 0.6715 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-05/0.4578, allocations: 177.6 kB / 0.6717 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/0.4579, allocations: 185.7 kB / 0.6719 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.212e-05/0.458, allocations: 180.3 kB / 0.672 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-05/0.4581, allocations: 185.4 kB / 0.6722 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.4582, allocations: 311.8 kB / 0.6725 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.049e-05/0.4583, allocations: 183.4 kB / 0.6727 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.022e-05/0.4584, allocations: 181.6 kB / 0.6729 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.4586, allocations: 112.6 kB / 0.673 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.4586, allocations: 176.3 kB / 0.6731 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.035e-05/0.4587, allocations: 106.3 kB / 0.6732 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.987e-05/0.4587, allocations: 88.09 kB / 0.6733 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4587, allocations: 1.25 kB / 0.6733 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002707/0.459, allocations: 19.41 kB / 0.6733 GB, free: 14.44 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.0005848/0.4596, allocations: 0.839 MB / 0.6742 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.702e-05/0.4597, allocations: 10.84 kB / 0.6742 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4597, allocations: 0 / 0.6742 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.41e-06/0.4597, allocations: 8.062 kB / 0.6742 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.4601, allocations: 459.2 kB / 0.6746 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.4612, allocations: 1.317 MB / 0.6759 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.4614, allocations: 0.6752 MB / 0.6766 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.422e-05/0.4615, allocations: 5.25 kB / 0.6766 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.4615, allocations: 12.52 kB / 0.6766 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of SimCode: time 4.51e-07/0.4615, allocations: 0 / 0.6766 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.4803, allocations: 1.531 MB / 0.6781 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.149/7.63, allocations: 3.359 kB / 0.6781 GB, free: 10.27 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)