Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",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.000886/0.000886, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.001005/0.001005, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 223.2 MB / 240 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7919/0.7919, allocations: 132.3 MB / 423.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003867, allocations: 8.781 kB / 0.5035 GB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4551/0.4555, allocations: 81.58 MB / 0.5831 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.005759/0.4614, allocations: 3.936 MB / 0.587 GB, free: 1.156 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002877/0.4643, allocations: 2.48 MB / 0.5894 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.4645, allocations: 0.5625 kB / 0.5894 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.4648, allocations: 29.58 kB / 0.5894 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003682/0.4652, allocations: 93.94 kB / 0.5895 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.4666, allocations: 398.4 kB / 0.5899 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005134/0.4672, allocations: 269.7 kB / 0.5902 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.37e-05/0.4672, allocations: 10.3 kB / 0.5902 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.4685, allocations: 400.1 kB / 0.5905 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.4688, allocations: 88.56 kB / 0.5906 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.143e-05/0.4688, allocations: 7.75 kB / 0.5906 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.4702, allocations: 404.4 kB / 0.591 GB, free: 14.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.413e-05/0.4703, allocations: 33.48 kB / 0.5911 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.132e-05/0.4704, allocations: 52.8 kB / 0.5911 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005786/0.4709, allocations: 215 kB / 0.5913 GB, free: 14.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.471, allocations: 0 / 0.5913 GB, free: 14.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.471, allocations: 0.8438 kB / 0.5913 GB, free: 14.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.471, allocations: 0 / 0.5913 GB, free: 14.57 MB / 446.1 MB 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.0009125/0.4719, allocations: 477.3 kB / 0.5918 GB, free: 14.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.472, allocations: 13.44 kB / 0.5918 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.692e-05/0.472, allocations: 52.97 kB / 0.5918 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.4722, allocations: 26.08 kB / 0.5919 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.4725, allocations: 210.7 kB / 0.5921 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.4725, allocations: 10.73 kB / 0.5921 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.4726, allocations: 13.72 kB / 0.5921 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004668/0.4731, allocations: 247.8 kB / 0.5923 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.4731, allocations: 3.938 kB / 0.5923 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.4731, allocations: 12.19 kB / 0.5923 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.184e-05/0.4731, allocations: 9.609 kB / 0.5923 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006397/0.4738, allocations: 428.4 kB / 0.5928 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.4751, allocations: 0.9998 MB / 0.5937 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.4755, allocations: 155.7 kB / 0.5939 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.4756, allocations: 69.28 kB / 0.5939 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001692/0.4773, allocations: 1.826 MB / 0.5957 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.4774, allocations: 36.78 kB / 0.5958 GB, free: 10.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.873e-06/0.4774, allocations: 0.5312 kB / 0.5958 GB, free: 10.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003921/0.4778, allocations: 143.9 kB / 0.5959 GB, free: 10.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.4778, allocations: 61.5 kB / 0.596 GB, free: 10.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.478, allocations: 172 kB / 0.5961 GB, free: 10.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.4781, allocations: 27.3 kB / 0.5961 GB, free: 10.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.4782, allocations: 142.3 kB / 0.5963 GB, free: 10.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.934e-05/0.4783, allocations: 51.11 kB / 0.5963 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.058e-05/0.4783, allocations: 5.031 kB / 0.5963 GB, free: 10.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.4784, allocations: 326.3 kB / 0.5966 GB, free: 9.715 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.445e-05/0.4785, allocations: 35.02 kB / 0.5967 GB, free: 9.707 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.4787, allocations: 134.8 kB / 0.5968 GB, free: 9.566 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.4788, allocations: 56.98 kB / 0.5969 GB, free: 9.543 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.4789, allocations: 5 kB / 0.5969 GB, free: 9.539 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000415/0.4793, allocations: 218.8 kB / 0.5971 GB, free: 9.438 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.4793, allocations: 5.344 kB / 0.5971 GB, free: 9.438 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.4793, allocations: 8.844 kB / 0.5971 GB, free: 9.434 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.4794, allocations: 10.88 kB / 0.5971 GB, free: 9.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.4796, allocations: 61.28 kB / 0.5972 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.4796, allocations: 6.25 kB / 0.5972 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.4797, allocations: 25.56 kB / 0.5972 GB, free: 9.398 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.4798, allocations: 16.53 kB / 0.5972 GB, free: 9.395 MB / 446.1 MB 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 () * Number of clocked 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 0.0001379/0.4799, allocations: 134.6 kB / 0.5973 GB, free: 9.262 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.319e-05/0.48, allocations: 20.8 kB / 0.5974 GB, free: 9.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003417/0.4803, allocations: 160.7 kB / 0.5975 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.4804, allocations: 2.5 kB / 0.5975 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.4804, allocations: 0.6875 kB / 0.5975 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.4804, allocations: 1.609 kB / 0.5975 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.4807, allocations: 216.1 kB / 0.5977 GB, free: 8.945 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4807, allocations: 0 / 0.5977 GB, free: 8.945 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.214e-05/0.4808, allocations: 22.39 kB / 0.5977 GB, free: 8.945 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.331e-06/0.4808, allocations: 4.953 kB / 0.5977 GB, free: 8.941 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.4808, allocations: 7.141 kB / 0.5977 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4808, allocations: 1 kB / 0.5977 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4808, allocations: 0 / 0.5977 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.4811, allocations: 220.9 kB / 0.598 GB, free: 8.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.4812, allocations: 109.8 kB / 0.5981 GB, free: 8.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.4813, allocations: 5.406 kB / 0.5981 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.4815, allocations: 22.36 kB / 0.5981 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.4815, allocations: 7.688 kB / 0.5981 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.4816, allocations: 16.27 kB / 0.5981 GB, free: 8.645 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.4817, allocations: 121.1 kB / 0.5982 GB, free: 8.559 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4817, allocations: 1.219 kB / 0.5982 GB, free: 8.559 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004633/0.4822, allocations: 75.89 kB / 0.5983 GB, free: 8.543 MB / 446.1 MB 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 (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.0008177/0.483, allocations: 0.8303 MB / 0.5991 GB, free: 7.816 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002526/0.4832, allocations: 114.9 kB / 0.5992 GB, free: 7.785 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4833, allocations: 0 / 0.5992 GB, free: 7.785 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.515e-05/0.4833, allocations: 45.34 kB / 0.5993 GB, free: 7.773 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.4839, allocations: 61.58 kB / 0.5993 GB, free: 7.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.4857, allocations: 1.01 MB / 0.6003 GB, free: 7.062 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.486, allocations: 0.7168 MB / 0.601 GB, free: 6.359 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001952/0.4862, allocations: 42.56 kB / 0.6011 GB, free: 6.348 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.01e-05/0.4863, allocations: 48.08 kB / 0.6011 GB, free: 6.316 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4863, allocations: 1.406 kB / 0.6011 GB, free: 6.316 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.5052, allocations: 4.693 MB / 0.6057 GB, free: 4.348 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/0.5055, allocations: 177.9 kB / 0.6059 GB, free: 4.113 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/2.27, allocations: 1.031 kB / 0.6059 GB, free: 4.113 MB / 446.1 MB (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) Environment - environmentSimulation: