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.005957/0.005957, allocations: 97.48 kB / 15.73 MB, free: 5.988 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.001321/0.001321, allocations: 192.2 kB / 16.67 MB, free: 5.918 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002559/0.002559, allocations: 279 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.08/1.08, allocations: 178.6 MB / 0.5074 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002834/0.002834, allocations: 96.06 kB / 0.6943 GB, free: 3.602 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4502/0.453, allocations: 89.14 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002739/0.4558, allocations: 1.393 MB / 0.7827 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004121/0.46, allocations: 2.907 MB / 0.7855 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.21e-05/0.46, allocations: 5.406 kB / 0.7855 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.76e-05/0.4601, allocations: 7.266 kB / 0.7855 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.4603, allocations: 41.77 kB / 0.7856 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000561/0.4608, allocations: 183.2 kB / 0.7858 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002785/0.4611, allocations: 239.8 kB / 0.786 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.4612, allocations: 11.72 kB / 0.786 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.4613, allocations: 96.75 kB / 0.7861 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.4615, allocations: 126.1 kB / 0.7862 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.4615, allocations: 11.19 kB / 0.7862 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000393/0.4619, allocations: 135.1 kB / 0.7863 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.462, allocations: 92.5 kB / 0.7864 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.4621, allocations: 84.77 kB / 0.7865 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004101/0.4626, allocations: 276.1 kB / 0.7868 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.4626, allocations: 1.312 kB / 0.7868 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4626, allocations: 0 / 0.7868 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.4626, allocations: 0 / 0.7868 GB, free: 10.29 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.0009166/0.4635, allocations: 0.536 MB / 0.7873 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.4636, allocations: 8.75 kB / 0.7873 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.271e-05/0.4636, allocations: 48.23 kB / 0.7874 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.4637, allocations: 19.44 kB / 0.7874 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.464, allocations: 252.1 kB / 0.7876 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.843e-05/0.4641, allocations: 27.36 kB / 0.7876 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.4641, allocations: 14.03 kB / 0.7877 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006877/0.4648, allocations: 288.1 kB / 0.7879 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4648, allocations: 0 / 0.7879 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.4649, allocations: 6.5 kB / 0.7879 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.4649, allocations: 2.75 kB / 0.7879 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.4665, allocations: 0.7465 MB / 0.7887 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004712/0.467, allocations: 310.3 kB / 0.789 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/0.4689, allocations: 0.6761 MB / 0.7896 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005521/0.4694, allocations: 230.6 kB / 0.7898 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004544/0.4699, allocations: 399.8 kB / 0.7902 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.47, allocations: 37.39 kB / 0.7903 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 2.474e-06/0.47, allocations: 0 / 0.7903 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.001792/0.4718, allocations: 0.652 MB / 0.7909 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.4718, allocations: 60.67 kB / 0.791 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.4719, allocations: 126.3 kB / 0.7911 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.472, allocations: 31.89 kB / 0.7911 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/0.4721, allocations: 92.42 kB / 0.7912 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.4722, allocations: 132.8 kB / 0.7913 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.4723, allocations: 66.59 kB / 0.7914 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.4725, allocations: 329.1 kB / 0.7917 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005104/0.473, allocations: 194.5 kB / 0.7919 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007904/0.4738, allocations: 196.9 kB / 0.7921 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.475, allocations: 367.2 kB / 0.7924 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.4751, allocations: 3.938 kB / 0.7924 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001167/0.4762, allocations: 463.4 kB / 0.7929 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.4763, allocations: 5.281 kB / 0.7929 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.4763, allocations: 0 / 0.7929 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.4763, allocations: 3.203 kB / 0.7929 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.4767, allocations: 101.7 kB / 0.793 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4767, allocations: 1.469 kB / 0.793 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.4769, allocations: 48.78 kB / 0.793 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.477, allocations: 15.17 kB / 0.793 GB, free: 7.32 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 0.0001634/0.4771, allocations: 138.8 kB / 0.7932 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.4772, allocations: 24.64 kB / 0.7932 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/0.4785, allocations: 0.522 MB / 0.7937 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.4786, allocations: 3.688 kB / 0.7937 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4786, allocations: 4 kB / 0.7937 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.4786, allocations: 1.156 kB / 0.7937 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003813/0.479, allocations: 313.7 kB / 0.794 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.479, allocations: 7.938 kB / 0.794 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003584/0.4793, allocations: 99.41 kB / 0.7941 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.4794, allocations: 2.281 kB / 0.7941 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.4794, allocations: 11.11 kB / 0.7941 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.4794, allocations: 2.312 kB / 0.7941 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4794, allocations: 4 kB / 0.7941 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.4806, allocations: 0.4942 MB / 0.7946 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.049e-05/0.4807, allocations: 102.8 kB / 0.7947 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.4808, allocations: 5.125 kB / 0.7947 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.4809, allocations: 39.95 kB / 0.7948 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002323/0.4812, allocations: 115.7 kB / 0.7949 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.4812, allocations: 16.11 kB / 0.7949 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.684e-05/0.4813, allocations: 103.9 kB / 0.795 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4813, allocations: 0 / 0.795 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000419/0.4817, allocations: 116.3 kB / 0.7951 GB, free: 6.117 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.001782/0.4835, allocations: 1.115 MB / 0.7962 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001219/0.4848, allocations: 475.9 kB / 0.7966 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4848, allocations: 1.375 kB / 0.7966 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006032/0.4854, allocations: 260.1 kB / 0.7969 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.4858, allocations: 81.14 kB / 0.797 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004634/0.4904, allocations: 2.68 MB / 0.7996 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/0.4909, allocations: 0.7312 MB / 0.8003 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004317/0.4913, allocations: 186.2 kB / 0.8005 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.4915, allocations: 64.31 kB / 0.8005 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.4915, allocations: 0 / 0.8005 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03007/0.5216, allocations: 7.454 MB / 0.8078 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.635, allocations: 10.25 kB / 0.8078 GB, free: 14.63 MB / 0.5762 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)