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.007589/0.007589, allocations: 102.7 kB / 15.73 MB, free: 5.902 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.001307/0.001308, allocations: 186.4 kB / 16.67 MB, free: 5.824 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.137 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7549/0.7549, allocations: 132.2 MB / 422.8 MB, free: 1.586 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.64 kB / 0.5809 GB, free: 1.062 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1934, allocations: 80.19 MB / 0.6592 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.006902/0.2003, allocations: 4.436 MB / 0.6636 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003123/0.2035, allocations: 2.687 MB / 0.6662 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.2037, allocations: 4 kB / 0.6662 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000258/0.2039, allocations: 47.67 kB / 0.6662 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000394/0.2044, allocations: 99.36 kB / 0.6663 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.2057, allocations: 494.6 kB / 0.6668 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003366/0.2061, allocations: 243.9 kB / 0.667 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.221e-05/0.2061, allocations: 13.56 kB / 0.667 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.2072, allocations: 414.3 kB / 0.6674 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.2074, allocations: 87.61 kB / 0.6675 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.2074, allocations: 11.94 kB / 0.6675 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/0.2085, allocations: 499.7 kB / 0.668 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.908e-05/0.2086, allocations: 35.89 kB / 0.668 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.2088, allocations: 79.66 kB / 0.6681 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007958/0.2096, allocations: 350.2 kB / 0.6684 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2096, allocations: 4 kB / 0.6685 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2096, allocations: 0 / 0.6685 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.2096, allocations: 0 / 0.6685 GB, free: 4.438 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008079/0.2104, allocations: 0.4953 MB / 0.6689 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.2105, allocations: 8.031 kB / 0.6689 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.135e-05/0.2105, allocations: 58.72 kB / 0.669 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.2107, allocations: 24.75 kB / 0.669 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.211, allocations: 212 kB / 0.6692 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.2111, allocations: 12.7 kB / 0.6692 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.2111, allocations: 16.31 kB / 0.6693 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003746/0.2115, allocations: 249.5 kB / 0.6695 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.2115, allocations: 4 kB / 0.6695 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.2115, allocations: 8 kB / 0.6695 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/0.2115, allocations: 11.94 kB / 0.6695 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005127/0.2121, allocations: 427.5 kB / 0.6699 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.2132, allocations: 1.004 MB / 0.6709 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.2135, allocations: 163.3 kB / 0.6711 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.2136, allocations: 64.81 kB / 0.6711 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001516/0.2151, allocations: 1.825 MB / 0.6729 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.2152, allocations: 46.5 kB / 0.6729 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.744e-06/0.2152, allocations: 0 / 0.6729 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003513/0.2155, allocations: 145.4 kB / 0.6731 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.2156, allocations: 51.41 kB / 0.6731 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.2158, allocations: 169.6 kB / 0.6733 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.2158, allocations: 33.62 kB / 0.6733 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.2159, allocations: 151.7 kB / 0.6735 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.109e-05/0.216, allocations: 51.3 kB / 0.6735 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.561e-05/0.2161, allocations: 53.61 kB / 0.6736 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.2163, allocations: 322.8 kB / 0.6739 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.748e-05/0.2164, allocations: 35.97 kB / 0.6739 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.2166, allocations: 139 kB / 0.674 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.2169, allocations: 193.5 kB / 0.6742 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.217, allocations: 4 kB / 0.6742 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003796/0.2173, allocations: 216.2 kB / 0.6744 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2174, allocations: 8 kB / 0.6744 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.2174, allocations: 7.984 kB / 0.6745 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.2174, allocations: 7.938 kB / 0.6745 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.2176, allocations: 51.92 kB / 0.6745 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/0.2176, allocations: 15.92 kB / 0.6745 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.2178, allocations: 23.75 kB / 0.6746 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.2178, allocations: 12.41 kB / 0.6746 GB, free: 13.43 MB / 0.5137 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001416/0.2179, allocations: 141.6 kB / 0.6747 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/0.218, allocations: 15.81 kB / 0.6747 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003074/0.2183, allocations: 154.9 kB / 0.6749 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.2183, allocations: 11.92 kB / 0.6749 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.2184, allocations: 0 / 0.6749 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2184, allocations: 0 / 0.6749 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.2186, allocations: 213.5 kB / 0.6751 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2187, allocations: 0 / 0.6751 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.087e-05/0.2188, allocations: 31.92 kB / 0.6751 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2188, allocations: 0 / 0.6751 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.2188, allocations: 8 kB / 0.6751 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.2188, allocations: 3.938 kB / 0.6751 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2188, allocations: 0 / 0.6751 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.2191, allocations: 211.3 kB / 0.6753 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.844e-05/0.2192, allocations: 108.8 kB / 0.6754 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.2192, allocations: 8 kB / 0.6754 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.2194, allocations: 19.92 kB / 0.6755 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.2195, allocations: 11.98 kB / 0.6755 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.2195, allocations: 11.98 kB / 0.6755 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.657e-05/0.2196, allocations: 121.5 kB / 0.6756 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2196, allocations: 0 / 0.6756 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003967/0.22, allocations: 80 kB / 0.6757 GB, free: 12.21 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0007496/0.2207, allocations: 0.8206 MB / 0.6765 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002479/0.221, allocations: 128.6 kB / 0.6766 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.221, allocations: 0 / 0.6766 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.639e-05/0.2211, allocations: 47.98 kB / 0.6766 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.2215, allocations: 62.36 kB / 0.6767 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.2239, allocations: 2.03 MB / 0.6787 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.2242, allocations: 0.7168 MB / 0.6794 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001484/0.2244, allocations: 45.73 kB / 0.6794 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.319e-05/0.2245, allocations: 43.42 kB / 0.6795 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.2245, allocations: 0 / 0.6795 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02468/0.2492, allocations: 5.209 MB / 0.6845 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.587/7.836, allocations: 17.73 kB / 0.6846 GB, free: 3.039 MB / 0.5137 GB (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/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)