Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_9_Buildings_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.001187/0.001187, allocations: 91.84 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.001212/0.001212, 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.429/1.429, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.622/2.622, allocations: 390.4 MB / 0.6655 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003399/0.0003399, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8359/0.8363, allocations: 142.3 MB / 0.9538 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.004923/0.8413, allocations: 3.936 MB / 0.9577 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002831/0.8442, allocations: 2.479 MB / 0.9601 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.568e-05/0.8443, allocations: 0 / 0.9601 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.8445, allocations: 37.3 kB / 0.9601 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.8448, allocations: 82.36 kB / 0.9602 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.846, allocations: 402.2 kB / 0.9606 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002543/0.8463, allocations: 267.2 kB / 0.9609 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.014e-05/0.8463, allocations: 9.188 kB / 0.9609 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.8474, allocations: 402 kB / 0.9612 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.8475, allocations: 90.16 kB / 0.9613 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.8475, allocations: 6.875 kB / 0.9613 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009587/0.8485, allocations: 395.1 kB / 0.9617 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.579e-05/0.8486, allocations: 38.05 kB / 0.9617 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.924e-05/0.8486, allocations: 52.58 kB / 0.9618 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003829/0.849, allocations: 215.7 kB / 0.962 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.849, allocations: 8 kB / 0.962 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.705e-06/0.849, allocations: 0 / 0.962 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.849, allocations: 0 / 0.962 GB, free: 1.734 MB / 0.7169 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.0006877/0.8497, allocations: 470.2 kB / 0.9625 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.8498, allocations: 8.781 kB / 0.9625 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.836e-05/0.8498, allocations: 49.39 kB / 0.9625 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.85, allocations: 28.25 kB / 0.9625 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.8502, allocations: 210.8 kB / 0.9627 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.8502, allocations: 18.59 kB / 0.9628 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.8503, allocations: 18.09 kB / 0.9628 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004647/0.8507, allocations: 243.2 kB / 0.963 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.8508, allocations: 1.094 kB / 0.963 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.8508, allocations: 14.36 kB / 0.963 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-05/0.8508, allocations: 6.156 kB / 0.963 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005431/0.8514, allocations: 431.7 kB / 0.9634 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.8525, allocations: 0.9981 MB / 0.9644 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.8529, allocations: 167 kB / 0.9646 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.853, allocations: 57.98 kB / 0.9646 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001575/0.8546, allocations: 1.826 MB / 0.9664 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.8546, allocations: 41.12 kB / 0.9665 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.8546, allocations: 0 / 0.9665 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003471/0.855, allocations: 138.8 kB / 0.9666 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.855, allocations: 56.72 kB / 0.9666 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.8553, allocations: 174.4 kB / 0.9668 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.8553, allocations: 27.83 kB / 0.9668 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.8554, allocations: 143.3 kB / 0.967 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.548e-05/0.8555, allocations: 58.28 kB / 0.967 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-06/0.8555, allocations: 4.969 kB / 0.967 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002329/0.8557, allocations: 326.1 kB / 0.9673 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.918e-05/0.8558, allocations: 33.3 kB / 0.9674 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.856, allocations: 144.8 kB / 0.9675 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.8561, allocations: 55.97 kB / 0.9676 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8561, allocations: 0 / 0.9676 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003201/0.8564, allocations: 210.5 kB / 0.9678 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.8564, allocations: 6.562 kB / 0.9678 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.8565, allocations: 9.672 kB / 0.9678 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.8565, allocations: 3.812 kB / 0.9678 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.8567, allocations: 56.73 kB / 0.9678 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.8567, allocations: 4.844 kB / 0.9678 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.8568, allocations: 25.72 kB / 0.9679 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.8568, allocations: 23.42 kB / 0.9679 GB, free: 12.14 MB / 0.7325 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 0.0001246/0.857, allocations: 140.3 kB / 0.968 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.8571, allocations: 15.69 kB / 0.968 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003206/0.8574, allocations: 159.8 kB / 0.9682 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.8574, allocations: 2 kB / 0.9682 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.8574, allocations: 1.062 kB / 0.9682 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.8574, allocations: 3.984 kB / 0.9682 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.8577, allocations: 217.9 kB / 0.9684 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.8577, allocations: 0 / 0.9684 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.081e-05/0.8578, allocations: 31.78 kB / 0.9684 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.8578, allocations: 0 / 0.9684 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.8579, allocations: 6.688 kB / 0.9684 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.8579, allocations: 0 / 0.9684 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.8579, allocations: 1.062 kB / 0.9684 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.8581, allocations: 225.3 kB / 0.9687 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.56e-05/0.8582, allocations: 113.4 kB / 0.9688 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.8583, allocations: 4.984 kB / 0.9688 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.8585, allocations: 25.33 kB / 0.9688 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.8585, allocations: 8.984 kB / 0.9688 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.8585, allocations: 9.594 kB / 0.9688 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001054/0.8587, allocations: 127.4 kB / 0.9689 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.8587, allocations: 0 / 0.9689 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004096/0.8591, allocations: 73.69 kB / 0.969 GB, free: 11.2 MB / 0.7325 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.0009345/0.86, allocations: 0.8269 MB / 0.9698 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000251/0.8603, allocations: 116 kB / 0.9699 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.8603, allocations: 5.312 kB / 0.9699 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.632e-05/0.8604, allocations: 43.98 kB / 0.97 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005066/0.8609, allocations: 55.81 kB / 0.97 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.8625, allocations: 1.017 MB / 0.971 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.863, allocations: 0.7084 MB / 0.9717 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001951/0.8632, allocations: 52.91 kB / 0.9718 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.357e-05/0.8632, allocations: 48.58 kB / 0.9718 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.8633, allocations: 0 / 0.9718 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/0.8814, allocations: 4.703 MB / 0.9764 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/0.8817, allocations: 208.7 kB / 0.9766 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.759, allocations: 0 / 0.9766 GB, free: 6.254 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat does not exist to compare? outputFormat=mat