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.004552/0.004552, allocations: 100.8 kB / 15.73 MB, free: 6.039 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.001112/0.001112, allocations: 202.2 kB / 16.68 MB, free: 5.965 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002175/0.002175, allocations: 282 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9596/0.9596, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 92.38 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1401, allocations: 86.97 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002272/0.1424, allocations: 1.388 MB / 0.7672 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003226/0.1457, allocations: 2.914 MB / 0.7701 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.888e-05/0.1457, allocations: 0 / 0.7701 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.221e-05/0.1458, allocations: 11.92 kB / 0.7701 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.1459, allocations: 39.81 kB / 0.7701 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004862/0.1464, allocations: 175.2 kB / 0.7703 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002364/0.1467, allocations: 251.4 kB / 0.7705 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.863e-05/0.1467, allocations: 8.219 kB / 0.7706 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.793e-05/0.1468, allocations: 87.92 kB / 0.7706 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.1469, allocations: 127.7 kB / 0.7708 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.147, allocations: 15.98 kB / 0.7708 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003388/0.1473, allocations: 139.8 kB / 0.7709 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.422e-05/0.1474, allocations: 75.84 kB / 0.771 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.1475, allocations: 99.56 kB / 0.7711 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.1479, allocations: 275.1 kB / 0.7713 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1479, allocations: 0 / 0.7713 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1479, allocations: 0 / 0.7713 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.1479, allocations: 0 / 0.7713 GB, free: 3.328 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.0008379/0.1488, allocations: 0.5412 MB / 0.7719 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1488, allocations: 8.031 kB / 0.7719 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.372e-05/0.1489, allocations: 46.73 kB / 0.7719 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.149, allocations: 20.84 kB / 0.7719 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.1492, allocations: 240.1 kB / 0.7722 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.46e-05/0.1493, allocations: 28.36 kB / 0.7722 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.287e-05/0.1493, allocations: 16.38 kB / 0.7722 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006797/0.15, allocations: 297.4 kB / 0.7725 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.15, allocations: 0 / 0.7725 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.1501, allocations: 7.938 kB / 0.7725 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1501, allocations: 4 kB / 0.7725 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.1515, allocations: 0.7452 MB / 0.7732 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.1519, allocations: 313.3 kB / 0.7735 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/0.1537, allocations: 0.6752 MB / 0.7742 GB, free: 252 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005323/0.1543, allocations: 229.3 kB / 0.7744 GB, free: 20 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2994/0.4537, allocations: 392.2 kB / 0.7748 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.4537, allocations: 35.47 kB / 0.7748 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 2.375e-06/0.4538, allocations: 1.031 kB / 0.7748 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.001813/0.4556, allocations: 0.6486 MB / 0.7755 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.4556, allocations: 60.94 kB / 0.7755 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.763e-05/0.4557, allocations: 126.6 kB / 0.7756 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.4557, allocations: 30.52 kB / 0.7757 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.748e-05/0.4558, allocations: 93.75 kB / 0.7758 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.731e-05/0.4559, allocations: 131.4 kB / 0.7759 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.472e-05/0.456, allocations: 64.08 kB / 0.7759 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.878e-05/0.456, allocations: 328.9 kB / 0.7763 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005009/0.4565, allocations: 194.1 kB / 0.7764 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004945/0.457, allocations: 198.8 kB / 0.7766 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000927/0.458, allocations: 367.8 kB / 0.777 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.458, allocations: 0.875 kB / 0.777 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001117/0.4591, allocations: 472 kB / 0.7774 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.4591, allocations: 6.156 kB / 0.7774 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4591, allocations: 1.781 kB / 0.7774 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.4592, allocations: 0 / 0.7774 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.4595, allocations: 93.5 kB / 0.7775 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.4596, allocations: 2.062 kB / 0.7775 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.4598, allocations: 58.67 kB / 0.7776 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/0.4598, allocations: 10.56 kB / 0.7776 GB, free: 14.49 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.934e-05/0.4599, allocations: 144.7 kB / 0.7777 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.4599, allocations: 17.47 kB / 0.7777 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.4612, allocations: 0.5163 MB / 0.7783 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.4612, allocations: 3.094 kB / 0.7783 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4612, allocations: 1.484 kB / 0.7783 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.4612, allocations: 1.641 kB / 0.7783 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.4615, allocations: 322.7 kB / 0.7786 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4615, allocations: 0.6562 kB / 0.7786 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000365/0.4619, allocations: 99.02 kB / 0.7787 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.4619, allocations: 0.9375 kB / 0.7787 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.462, allocations: 12.39 kB / 0.7787 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.462, allocations: 4.438 kB / 0.7787 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.462, allocations: 0.9688 kB / 0.7787 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.4631, allocations: 0.4993 MB / 0.7792 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.898e-05/0.4631, allocations: 94.48 kB / 0.7793 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.4631, allocations: 9.125 kB / 0.7793 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.4633, allocations: 37.61 kB / 0.7793 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/0.4636, allocations: 122 kB / 0.7794 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.4636, allocations: 12.16 kB / 0.7794 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.159e-05/0.4636, allocations: 105.7 kB / 0.7795 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4636, allocations: 3.719 kB / 0.7795 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003709/0.464, allocations: 120.2 kB / 0.7796 GB, free: 13.75 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.001401/0.4654, allocations: 1.119 MB / 0.7807 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001075/0.4665, allocations: 472 kB / 0.7812 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4665, allocations: 0 / 0.7812 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005403/0.4671, allocations: 258.4 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.0003962/0.4675, allocations: 82.09 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.003712/0.4712, allocations: 2.685 MB / 0.7841 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.4713, allocations: 0.7309 MB / 0.7849 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004005/0.4718, allocations: 186.3 kB / 0.785 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.4719, allocations: 65.88 kB / 0.7851 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.4719, allocations: 0 / 0.7851 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.4947, allocations: 7.456 MB / 0.7924 GB, free: 10 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.474/7.969, allocations: 11.25 kB / 0.7924 GB, free: 9.996 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)