Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_PropyleneGlycolWater",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.004043/0.004043, allocations: 101.3 kB / 15.73 MB, free: 5.508 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.00117/0.00117, allocations: 195.6 kB / 16.67 MB, free: 5.438 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002414/0.002414, allocations: 275 kB / 290.8 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9682/0.9682, allocations: 169.3 MB / 0.4983 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002658/0.002658, allocations: 104.1 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1546, allocations: 86.97 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.00232/0.1569, allocations: 1.383 MB / 0.7672 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003523/0.1605, allocations: 2.917 MB / 0.7701 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.665e-05/0.1605, allocations: 0 / 0.7701 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.108e-05/0.1606, allocations: 7.984 kB / 0.7701 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.1607, allocations: 39.83 kB / 0.7701 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005161/0.1612, allocations: 183.1 kB / 0.7703 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002716/0.1615, allocations: 247.5 kB / 0.7706 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.07e-05/0.1616, allocations: 4.281 kB / 0.7706 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.513e-05/0.1617, allocations: 87.86 kB / 0.7706 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.1618, allocations: 131.6 kB / 0.7708 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.391e-05/0.1619, allocations: 12 kB / 0.7708 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003576/0.1622, allocations: 139.8 kB / 0.7709 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.567e-05/0.1623, allocations: 83.83 kB / 0.771 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.1624, allocations: 91.58 kB / 0.7711 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.1628, allocations: 275.1 kB / 0.7713 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1628, allocations: 0 / 0.7713 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.975e-06/0.1628, allocations: 3.984 kB / 0.7713 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.1628, allocations: 0 / 0.7713 GB, free: 3.332 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008465/0.1637, allocations: 0.5374 MB / 0.7719 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.1637, allocations: 11.97 kB / 0.7719 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.072e-05/0.1638, allocations: 50.73 kB / 0.7719 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.649e-05/0.1639, allocations: 16.84 kB / 0.7719 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.1642, allocations: 242.4 kB / 0.7722 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.752e-05/0.1642, allocations: 24.36 kB / 0.7722 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.1642, allocations: 16.38 kB / 0.7722 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006652/0.1649, allocations: 297.4 kB / 0.7725 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.1649, allocations: 0 / 0.7725 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.165, allocations: 4 kB / 0.7725 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.165, allocations: 4 kB / 0.7725 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/0.1665, allocations: 0.7529 MB / 0.7732 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.1668, allocations: 309.3 kB / 0.7735 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/0.1685, allocations: 0.6718 MB / 0.7742 GB, free: 260 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005288/0.1691, allocations: 233.3 kB / 0.7744 GB, free: 24 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2702/0.4393, allocations: 393.6 kB / 0.7748 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.4394, allocations: 36.16 kB / 0.7748 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 2.094e-06/0.4394, allocations: 0 / 0.7748 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.001697/0.4411, allocations: 0.6497 MB / 0.7755 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.4411, allocations: 58.62 kB / 0.7755 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.326e-05/0.4412, allocations: 124.5 kB / 0.7756 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.4412, allocations: 30.83 kB / 0.7757 GB, free: 15 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.53e-05/0.4413, allocations: 92.23 kB / 0.7758 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.693e-05/0.4413, allocations: 133.2 kB / 0.7759 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.369e-05/0.4414, allocations: 66.33 kB / 0.7759 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.409e-05/0.4415, allocations: 328.8 kB / 0.7763 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004651/0.442, allocations: 196.2 kB / 0.7764 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004618/0.4424, allocations: 198.4 kB / 0.7766 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008698/0.4433, allocations: 364.2 kB / 0.777 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4433, allocations: 1.375 kB / 0.777 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00105/0.4444, allocations: 468.1 kB / 0.7774 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.4444, allocations: 5.906 kB / 0.7774 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4444, allocations: 3.5 kB / 0.7774 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.4444, allocations: 1.156 kB / 0.7774 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/0.4448, allocations: 95.89 kB / 0.7775 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.4448, allocations: 2.703 kB / 0.7775 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.445, allocations: 52.25 kB / 0.7776 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.445, allocations: 15.48 kB / 0.7776 GB, free: 14.46 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * Array equations: 0 * 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 9.045e-05/0.4451, allocations: 147.3 kB / 0.7777 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.4452, allocations: 16.94 kB / 0.7778 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.4463, allocations: 0.516 MB / 0.7783 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.4463, allocations: 6.406 kB / 0.7783 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4464, allocations: 0.5625 kB / 0.7783 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.4464, allocations: 1.734 kB / 0.7783 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.4466, allocations: 317.3 kB / 0.7786 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4466, allocations: 0.8125 kB / 0.7786 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003396/0.447, allocations: 98.69 kB / 0.7787 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.447, allocations: 5.656 kB / 0.7787 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.447, allocations: 12.33 kB / 0.7787 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.447, allocations: 4.188 kB / 0.7787 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.447, allocations: 0 / 0.7787 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000999/0.448, allocations: 0.4943 MB / 0.7792 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.588e-05/0.4481, allocations: 97.39 kB / 0.7793 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.4481, allocations: 6.75 kB / 0.7793 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.4483, allocations: 43.41 kB / 0.7793 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/0.4485, allocations: 116.2 kB / 0.7794 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.4485, allocations: 14.08 kB / 0.7794 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.775e-05/0.4486, allocations: 99.48 kB / 0.7795 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4486, allocations: 3.688 kB / 0.7795 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003356/0.4489, allocations: 121.6 kB / 0.7796 GB, free: 13.74 MB / 0.5606 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 (37): * Single equations (assignments): 37 * Array equations: 0 * 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.001319/0.4502, allocations: 1.122 MB / 0.7807 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009867/0.4512, allocations: 471 kB / 0.7812 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4512, allocations: 0 / 0.7812 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005092/0.4518, allocations: 260.9 kB / 0.7814 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.4521, allocations: 75.94 kB / 0.7815 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003479/0.4556, allocations: 2.693 MB / 0.7841 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.4557, allocations: 0.7289 MB / 0.7849 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003759/0.4561, allocations: 192 kB / 0.785 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.4562, allocations: 63.91 kB / 0.7851 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.4563, allocations: 0 / 0.7851 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02785/0.4841, allocations: 7.449 MB / 0.7924 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.658/8.142, allocations: 15.16 kB / 0.7924 GB, free: 9.984 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)