Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0009876/0.0009879, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001133/0.001133, allocations: 168.7 kB / 15.95 MB, free: 204 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.351/1.351, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.039/1.039, allocations: 143.4 MB / 434.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003163, allocations: 8 kB / 0.5161 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1711, allocations: 83.42 MB / 0.5975 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties): time 0.00578/0.1769, allocations: 3.926 MB / 0.6014 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00321/0.1802, allocations: 2.475 MB / 0.6038 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.1803, allocations: 0 / 0.6038 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.1806, allocations: 43.75 kB / 0.6038 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002939/0.1809, allocations: 91.41 kB / 0.6039 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.1821, allocations: 385.6 kB / 0.6043 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003472/0.1825, allocations: 275.8 kB / 0.6045 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.846e-05/0.1826, allocations: 13.56 kB / 0.6046 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009953/0.1836, allocations: 395 kB / 0.6049 GB, free: 104 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.1838, allocations: 91.66 kB / 0.605 GB, free: 12 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.1838, allocations: 8 kB / 0.605 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3161/0.4999, allocations: 396.7 kB / 0.6054 GB, free: 35.99 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.368e-05/0.5, allocations: 36.56 kB / 0.6054 GB, free: 35.99 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.846e-05/0.5001, allocations: 51.11 kB / 0.6055 GB, free: 35.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.5004, allocations: 216.7 kB / 0.6057 GB, free: 35.95 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5004, allocations: 0 / 0.6057 GB, free: 35.95 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.445e-06/0.5004, allocations: 0 / 0.6057 GB, free: 35.95 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.5004, allocations: 0.5469 kB / 0.6057 GB, free: 35.95 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.0005272/0.501, allocations: 480.4 kB / 0.6062 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.501, allocations: 8.75 kB / 0.6062 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.141e-05/0.5011, allocations: 51.69 kB / 0.6062 GB, free: 35.51 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.5012, allocations: 28.22 kB / 0.6062 GB, free: 35.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.5013, allocations: 209.5 kB / 0.6064 GB, free: 35.3 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.5014, allocations: 16.17 kB / 0.6065 GB, free: 35.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.5014, allocations: 13.03 kB / 0.6065 GB, free: 35.3 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.5017, allocations: 243.5 kB / 0.6067 GB, free: 35.22 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.5017, allocations: 0.6562 kB / 0.6067 GB, free: 35.22 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.5017, allocations: 14.14 kB / 0.6067 GB, free: 35.22 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.542e-05/0.5018, allocations: 6.516 kB / 0.6067 GB, free: 35.22 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003683/0.5021, allocations: 431.9 kB / 0.6071 GB, free: 35.22 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007394/0.5029, allocations: 1.007 MB / 0.6081 GB, free: 34.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.5031, allocations: 153.4 kB / 0.6083 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.079e-05/0.5032, allocations: 70.66 kB / 0.6083 GB, free: 34.37 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008389/0.504, allocations: 1.822 MB / 0.6101 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.5041, allocations: 37.34 kB / 0.6101 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.5041, allocations: 0 / 0.6101 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002631/0.5044, allocations: 147.1 kB / 0.6103 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.5044, allocations: 54.59 kB / 0.6103 GB, free: 32.24 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.5045, allocations: 182.9 kB / 0.6105 GB, free: 32.13 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.5045, allocations: 29.14 kB / 0.6105 GB, free: 32.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.5046, allocations: 141 kB / 0.6107 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.5046, allocations: 47.84 kB / 0.6107 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.5046, allocations: 7.125 kB / 0.6107 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.833e-05/0.5047, allocations: 325.7 kB / 0.611 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.616e-05/0.5048, allocations: 35.05 kB / 0.6111 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.966e-05/0.5049, allocations: 143.1 kB / 0.6112 GB, free: 31.51 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.691e-05/0.505, allocations: 55.8 kB / 0.6113 GB, free: 31.51 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.505, allocations: 4 kB / 0.6113 GB, free: 31.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002524/0.5052, allocations: 207.7 kB / 0.6115 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.5052, allocations: 7.312 kB / 0.6115 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.5053, allocations: 5.438 kB / 0.6115 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.5053, allocations: 9.672 kB / 0.6115 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.5054, allocations: 60.36 kB / 0.6115 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.5054, allocations: 5.188 kB / 0.6115 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.5056, allocations: 34.44 kB / 0.6116 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.5056, allocations: 11.38 kB / 0.6116 GB, free: 31.45 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.491e-05/0.5057, allocations: 134.5 kB / 0.6117 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.524e-05/0.5057, allocations: 13.81 kB / 0.6117 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.506, allocations: 159.4 kB / 0.6119 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.506, allocations: 11.02 kB / 0.6119 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.506, allocations: 0.5 kB / 0.6119 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.506, allocations: 0 / 0.6119 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.5062, allocations: 216.2 kB / 0.6121 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.5062, allocations: 0.5625 kB / 0.6121 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.888e-05/0.5063, allocations: 26.94 kB / 0.6121 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.5063, allocations: 3.891 kB / 0.6121 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.5063, allocations: 2.812 kB / 0.6121 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5063, allocations: 0.5 kB / 0.6121 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5063, allocations: 6.953 kB / 0.6121 GB, free: 31.08 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.5065, allocations: 221.7 kB / 0.6123 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.574e-05/0.5065, allocations: 111 kB / 0.6125 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.5066, allocations: 3.969 kB / 0.6125 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.5068, allocations: 22.53 kB / 0.6125 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/0.5068, allocations: 8.766 kB / 0.6125 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.5068, allocations: 22.39 kB / 0.6125 GB, free: 30.83 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.456e-05/0.5069, allocations: 116.8 kB / 0.6126 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5069, allocations: 0 / 0.6126 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003461/0.5072, allocations: 79.72 kB / 0.6127 GB, free: 30.74 MB / 0.4981 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 (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.000456/0.5077, allocations: 0.8232 MB / 0.6135 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001939/0.5079, allocations: 118.7 kB / 0.6136 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5079, allocations: 0 / 0.6136 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.303e-05/0.508, allocations: 47.62 kB / 0.6137 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.5084, allocations: 54.95 kB / 0.6137 GB, free: 30.06 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.5095, allocations: 1.016 MB / 0.6147 GB, free: 29.49 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.5097, allocations: 0.7156 MB / 0.6154 GB, free: 28.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001635/0.5099, allocations: 47.47 kB / 0.6154 GB, free: 28.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.878e-05/0.5099, allocations: 46.23 kB / 0.6155 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.5099, allocations: 0 / 0.6155 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01443/0.5244, allocations: 4.823 MB / 0.6202 GB, free: 28.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001244/0.5245, allocations: 205.7 kB / 0.6204 GB, free: 28.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/2.301, allocations: 4 kB / 0.6204 GB, free: 28.1 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) Environment - environmentSimulation: