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.001348/0.001348, allocations: 100.8 kB / 15.06 MB, free: 1.094 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.001653/0.001653, allocations: 177.3 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.42/1.42, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9911/0.9911, allocations: 143.3 MB / 434.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003546, allocations: 8 kB / 0.5159 GB, free: 11.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1989, allocations: 83.42 MB / 0.5973 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties): time 0.004666/0.2036, allocations: 3.693 MB / 0.601 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00231/0.206, allocations: 2.175 MB / 0.6031 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.294e-05/0.206, allocations: 0 / 0.6031 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002379/0.2063, allocations: 31.81 kB / 0.6031 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.2065, allocations: 87.75 kB / 0.6032 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009803/0.2075, allocations: 414.2 kB / 0.6036 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.2077, allocations: 152.7 kB / 0.6037 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.438e-05/0.2077, allocations: 13.55 kB / 0.6037 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008844/0.2086, allocations: 399.2 kB / 0.6041 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.588e-05/0.2087, allocations: 67.75 kB / 0.6042 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.2088, allocations: 8 kB / 0.6042 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008851/0.2097, allocations: 443.3 kB / 0.6046 GB, free: 388 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.395e-05/0.2097, allocations: 31.91 kB / 0.6046 GB, free: 356 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.826e-05/0.2098, allocations: 53.64 kB / 0.6047 GB, free: 296 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.2101, allocations: 207.8 kB / 0.6049 GB, free: 88 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.2101, allocations: 3.938 kB / 0.6049 GB, free: 84 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2101, allocations: 0 / 0.6049 GB, free: 84 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.2102, allocations: 0 / 0.6049 GB, free: 84 kB / 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.363/0.5732, allocations: 468.5 kB / 0.6053 GB, free: 41.08 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.5732, allocations: 9.719 kB / 0.6054 GB, free: 41.08 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.403e-05/0.5733, allocations: 53.41 kB / 0.6054 GB, free: 41.04 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.5734, allocations: 25.7 kB / 0.6054 GB, free: 41.03 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.5737, allocations: 206.7 kB / 0.6056 GB, free: 40.83 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.5737, allocations: 15.92 kB / 0.6056 GB, free: 40.83 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.5737, allocations: 17.95 kB / 0.6057 GB, free: 40.83 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.5741, allocations: 244.9 kB / 0.6059 GB, free: 40.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.5741, allocations: 1.203 kB / 0.6059 GB, free: 40.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.5741, allocations: 8.344 kB / 0.6059 GB, free: 40.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.849e-05/0.5742, allocations: 6.344 kB / 0.6059 GB, free: 40.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004325/0.5746, allocations: 432.9 kB / 0.6063 GB, free: 40.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008396/0.5754, allocations: 1.043 MB / 0.6073 GB, free: 39.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.5757, allocations: 157.6 kB / 0.6075 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009368/0.5767, allocations: 1.846 MB / 0.6093 GB, free: 37.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.5767, allocations: 34.69 kB / 0.6093 GB, free: 37.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.5767, allocations: 0 / 0.6093 GB, free: 37.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002836/0.577, allocations: 146.4 kB / 0.6095 GB, free: 37.85 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.5771, allocations: 61.2 kB / 0.6095 GB, free: 37.78 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.5772, allocations: 175.6 kB / 0.6097 GB, free: 37.67 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.5772, allocations: 29.14 kB / 0.6097 GB, free: 37.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/0.5773, allocations: 141.2 kB / 0.6099 GB, free: 37.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.5773, allocations: 51.84 kB / 0.6099 GB, free: 37.49 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-06/0.5773, allocations: 3.812 kB / 0.6099 GB, free: 37.49 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.934e-05/0.5774, allocations: 322.6 kB / 0.6102 GB, free: 37.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.692e-05/0.5774, allocations: 38.77 kB / 0.6103 GB, free: 37.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.881e-05/0.5775, allocations: 139.5 kB / 0.6104 GB, free: 37.05 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.437e-05/0.5776, allocations: 62.14 kB / 0.6104 GB, free: 37.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5776, allocations: 0 / 0.6104 GB, free: 37.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002606/0.5779, allocations: 210.3 kB / 0.6106 GB, free: 36.99 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.5779, allocations: 10.16 kB / 0.6107 GB, free: 36.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.5779, allocations: 4.25 kB / 0.6107 GB, free: 36.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.578, allocations: 6.562 kB / 0.6107 GB, free: 36.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.5781, allocations: 56.41 kB / 0.6107 GB, free: 36.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.5782, allocations: 6.906 kB / 0.6107 GB, free: 36.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.5783, allocations: 32.64 kB / 0.6108 GB, free: 36.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.5783, allocations: 21.38 kB / 0.6108 GB, free: 36.96 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 8.485e-05/0.5784, allocations: 138 kB / 0.6109 GB, free: 36.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.5784, allocations: 12.69 kB / 0.6109 GB, free: 36.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.5787, allocations: 154.2 kB / 0.6111 GB, free: 36.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.5787, allocations: 3.656 kB / 0.6111 GB, free: 36.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5787, allocations: 0.8906 kB / 0.6111 GB, free: 36.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.5787, allocations: 5.297 kB / 0.6111 GB, free: 36.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.5789, allocations: 217.4 kB / 0.6113 GB, free: 36.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.579, allocations: 0.5 kB / 0.6113 GB, free: 36.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.5791, allocations: 35.25 kB / 0.6113 GB, free: 36.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.5791, allocations: 2.656 kB / 0.6113 GB, free: 36.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.5791, allocations: 3.875 kB / 0.6113 GB, free: 36.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.5791, allocations: 3.375 kB / 0.6113 GB, free: 36.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5791, allocations: 0 / 0.6113 GB, free: 36.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.5793, allocations: 220.8 kB / 0.6115 GB, free: 36.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.766e-05/0.5794, allocations: 117.8 kB / 0.6117 GB, free: 36.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.5794, allocations: 5.656 kB / 0.6117 GB, free: 36.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.5796, allocations: 23.59 kB / 0.6117 GB, free: 36.35 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.089e-05/0.5797, allocations: 9.594 kB / 0.6117 GB, free: 36.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.5797, allocations: 16.22 kB / 0.6117 GB, free: 36.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.283e-05/0.5798, allocations: 119.5 kB / 0.6118 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5798, allocations: 0 / 0.6118 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000508/0.5803, allocations: 78.23 kB / 0.6119 GB, free: 36.27 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.0004862/0.5808, allocations: 0.8368 MB / 0.6127 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000195/0.581, allocations: 120.2 kB / 0.6128 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.581, allocations: 2.75 kB / 0.6128 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.477e-05/0.5811, allocations: 45.08 kB / 0.6129 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.5814, allocations: 44.16 kB / 0.6129 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.583, allocations: 3.272 MB / 0.6161 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.5831, allocations: 0.7167 MB / 0.6168 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001756/0.5833, allocations: 53.44 kB / 0.6169 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.861e-05/0.5834, allocations: 41.78 kB / 0.6169 GB, free: 32.03 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.5834, allocations: 3 kB / 0.6169 GB, free: 32.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0159/0.5993, allocations: 4.786 MB / 0.6216 GB, free: 31.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00016/0.5995, allocations: 192 kB / 0.6218 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/2.416, allocations: 4 kB / 0.6218 GB, free: 31.34 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: