Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.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.EthyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater",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.007429/0.007429, allocations: 99.34 kB / 15.73 MB, free: 6.035 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.00183/0.00183, allocations: 195.9 kB / 16.67 MB, free: 5.961 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002201/0.002201, allocations: 275.1 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9508/0.9508, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 99.31 kB / 0.681 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.142, allocations: 86.97 MB / 0.7659 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002331/0.1444, allocations: 1.387 MB / 0.7672 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003407/0.1478, allocations: 2.914 MB / 0.7701 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.401e-05/0.1479, allocations: 0 / 0.7701 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.225e-05/0.148, allocations: 15.86 kB / 0.7701 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.1481, allocations: 39.81 kB / 0.7701 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000542/0.1486, allocations: 183.1 kB / 0.7703 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.1489, allocations: 243.5 kB / 0.7706 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.1489, allocations: 4.281 kB / 0.7706 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.952e-05/0.149, allocations: 99.77 kB / 0.7707 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.1492, allocations: 119.7 kB / 0.7708 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.1492, allocations: 12 kB / 0.7708 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003533/0.1496, allocations: 131.9 kB / 0.7709 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.944e-05/0.1497, allocations: 95.81 kB / 0.771 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.1498, allocations: 91.58 kB / 0.7711 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.1501, allocations: 275 kB / 0.7713 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1501, allocations: 0 / 0.7713 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1502, allocations: 3.938 kB / 0.7713 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.1502, allocations: 4 kB / 0.7714 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.0008123/0.151, allocations: 0.5373 MB / 0.7719 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.151, allocations: 12.03 kB / 0.7719 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.177e-05/0.1511, allocations: 46.75 kB / 0.7719 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.1512, allocations: 20.83 kB / 0.772 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.1514, allocations: 232.1 kB / 0.7722 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.48e-05/0.1515, allocations: 24.36 kB / 0.7722 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.1515, allocations: 12.38 kB / 0.7722 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000642/0.1522, allocations: 297.4 kB / 0.7725 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.1522, allocations: 0 / 0.7725 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.1522, allocations: 12 kB / 0.7725 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1522, allocations: 4 kB / 0.7725 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.1537, allocations: 0.7452 MB / 0.7732 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.154, allocations: 305.3 kB / 0.7735 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.1557, allocations: 0.6757 MB / 0.7742 GB, free: 272 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005158/0.1562, allocations: 237.3 kB / 0.7744 GB, free: 32 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2931/0.4493, allocations: 392 kB / 0.7748 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.4494, allocations: 34.08 kB / 0.7748 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 2.044e-06/0.4494, allocations: 0 / 0.7748 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.001792/0.4512, allocations: 0.651 MB / 0.7755 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.043e-05/0.4512, allocations: 56.75 kB / 0.7755 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.16e-05/0.4513, allocations: 125.8 kB / 0.7756 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.4513, allocations: 31.05 kB / 0.7757 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.623e-05/0.4514, allocations: 92.8 kB / 0.7757 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.156e-05/0.4515, allocations: 129.7 kB / 0.7759 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.514e-05/0.4516, allocations: 68.72 kB / 0.7759 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.62e-05/0.4516, allocations: 327.8 kB / 0.7762 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004844/0.4521, allocations: 196.1 kB / 0.7764 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004866/0.4526, allocations: 197.9 kB / 0.7766 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009171/0.4535, allocations: 367 kB / 0.777 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4535, allocations: 0 / 0.777 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001108/0.4547, allocations: 471.2 kB / 0.7774 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.4547, allocations: 4.75 kB / 0.7774 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4547, allocations: 1.578 kB / 0.7774 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.4547, allocations: 2.5 kB / 0.7774 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.4551, allocations: 92.7 kB / 0.7775 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.4551, allocations: 2.562 kB / 0.7775 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.4553, allocations: 54.22 kB / 0.7776 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.4553, allocations: 15.12 kB / 0.7776 GB, free: 14.47 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.546e-05/0.4555, allocations: 146.7 kB / 0.7777 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.4555, allocations: 16.84 kB / 0.7777 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.4567, allocations: 0.5188 MB / 0.7783 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.4567, allocations: 4 kB / 0.7783 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.4568, allocations: 2.125 kB / 0.7783 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.4568, allocations: 3.609 kB / 0.7783 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.457, allocations: 319.8 kB / 0.7786 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.457, allocations: 1.438 kB / 0.7786 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000356/0.4574, allocations: 95.03 kB / 0.7787 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.4574, allocations: 1.156 kB / 0.7787 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.4574, allocations: 15.78 kB / 0.7787 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.4575, allocations: 1.375 kB / 0.7787 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4575, allocations: 5.531 kB / 0.7787 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.4585, allocations: 0.4995 MB / 0.7792 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.033e-05/0.4586, allocations: 96.52 kB / 0.7793 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/0.4586, allocations: 11.22 kB / 0.7793 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.4588, allocations: 38.83 kB / 0.7793 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/0.459, allocations: 117.2 kB / 0.7794 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.4591, allocations: 15.38 kB / 0.7794 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.037e-05/0.4591, allocations: 96.23 kB / 0.7795 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4591, allocations: 0 / 0.7795 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003653/0.4595, allocations: 118.9 kB / 0.7796 GB, free: 13.76 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.001409/0.4609, allocations: 1.127 MB / 0.7807 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001071/0.462, allocations: 468 kB / 0.7812 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.462, allocations: 4 kB / 0.7812 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005562/0.4626, allocations: 261.7 kB / 0.7814 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.463, allocations: 74.09 kB / 0.7815 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003786/0.4668, allocations: 2.683 MB / 0.7841 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.4669, allocations: 0.7361 MB / 0.7849 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000403/0.4673, allocations: 186.2 kB / 0.785 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.4675, allocations: 70.25 kB / 0.7851 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.4675, allocations: 0 / 0.7851 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/0.49, allocations: 7.446 MB / 0.7924 GB, free: 10 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.508/7.998, allocations: 7.906 kB / 0.7924 GB, free: 10 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater_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_EthyleneGlycolWater.fmu > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)