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.005188/0.005188, allocations: 98.14 kB / 15.73 MB, free: 5.57 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.001252/0.001252, allocations: 194.7 kB / 16.67 MB, free: 5.5 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002077/0.002077, allocations: 285.1 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9005/0.9005, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 95.86 kB / 0.681 GB, free: 7.488 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4491/0.4509, allocations: 86.98 MB / 0.7659 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002715/0.4537, allocations: 1.389 MB / 0.7673 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003946/0.4577, allocations: 2.903 MB / 0.7701 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.56e-05/0.4578, allocations: 4 kB / 0.7701 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.4579, allocations: 3.938 kB / 0.7701 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.4581, allocations: 51.8 kB / 0.7701 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006576/0.4587, allocations: 182 kB / 0.7703 GB, free: 15.33 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002751/0.459, allocations: 243.5 kB / 0.7705 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.239e-05/0.4591, allocations: 4 kB / 0.7706 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.435e-05/0.4592, allocations: 91.84 kB / 0.7706 GB, free: 15 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.4593, allocations: 127.7 kB / 0.7708 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.286e-05/0.4594, allocations: 12 kB / 0.7708 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003721/0.4598, allocations: 135.8 kB / 0.7709 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.4599, allocations: 91.75 kB / 0.771 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.46, allocations: 87.62 kB / 0.7711 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003514/0.4604, allocations: 271.2 kB / 0.7713 GB, free: 14.29 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.4604, allocations: 0 / 0.7713 GB, free: 14.29 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.933e-06/0.4604, allocations: 0 / 0.7713 GB, free: 14.29 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.4604, allocations: 0 / 0.7713 GB, free: 14.29 MB / 0.545 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.0008394/0.4612, allocations: 0.5301 MB / 0.7719 GB, free: 13.71 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.4613, allocations: 8.031 kB / 0.7719 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.14e-05/0.4613, allocations: 54.73 kB / 0.7719 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.4615, allocations: 16.75 kB / 0.7719 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.4618, allocations: 240 kB / 0.7722 GB, free: 13.35 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.64e-05/0.4618, allocations: 32.36 kB / 0.7722 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.4619, allocations: 16.38 kB / 0.7722 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005851/0.4625, allocations: 302 kB / 0.7725 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.4625, allocations: 0 / 0.7725 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.4625, allocations: 4 kB / 0.7725 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.4625, allocations: 8 kB / 0.7725 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.4638, allocations: 0.749 MB / 0.7732 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/0.4642, allocations: 309.2 kB / 0.7735 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.4658, allocations: 0.668 MB / 0.7742 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004505/0.4662, allocations: 233.3 kB / 0.7744 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003935/0.4666, allocations: 396 kB / 0.7748 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.4667, allocations: 38.5 kB / 0.7748 GB, free: 10.47 MB / 0.545 GB Notification: Performance of pre-optimization done (n=37): time 1.312e-06/0.4667, allocations: 4 kB / 0.7748 GB, free: 10.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=37): time 0.001498/0.4682, allocations: 0.6383 MB / 0.7754 GB, free: 9.824 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.4682, allocations: 59.16 kB / 0.7755 GB, free: 9.754 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.4683, allocations: 126.1 kB / 0.7756 GB, free: 9.621 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.4684, allocations: 33.7 kB / 0.7757 GB, free: 9.582 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.384e-05/0.4685, allocations: 88.8 kB / 0.7757 GB, free: 9.492 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.4686, allocations: 130.2 kB / 0.7759 GB, free: 9.363 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.4687, allocations: 65.69 kB / 0.7759 GB, free: 9.293 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4689, allocations: 330.8 kB / 0.7762 GB, free: 8.961 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004363/0.4693, allocations: 187.8 kB / 0.7764 GB, free: 8.777 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004282/0.4698, allocations: 203.9 kB / 0.7766 GB, free: 8.578 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00081/0.4706, allocations: 364.2 kB / 0.777 GB, free: 8.219 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.4706, allocations: 0 / 0.777 GB, free: 8.219 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009727/0.4716, allocations: 469.2 kB / 0.7774 GB, free: 7.754 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.4716, allocations: 4 kB / 0.7774 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4716, allocations: 0 / 0.7774 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.4716, allocations: 0 / 0.7774 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003369/0.472, allocations: 99.84 kB / 0.7775 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.472, allocations: 4 kB / 0.7775 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.4721, allocations: 43.75 kB / 0.7776 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.4722, allocations: 15.98 kB / 0.7776 GB, free: 7.59 MB / 0.545 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.0001217/0.4723, allocations: 145.8 kB / 0.7777 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/0.4724, allocations: 23.69 kB / 0.7777 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.4735, allocations: 0.5211 MB / 0.7782 GB, free: 6.891 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.4735, allocations: 8 kB / 0.7782 GB, free: 6.883 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.4735, allocations: 0 / 0.7782 GB, free: 6.883 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.4735, allocations: 0 / 0.7782 GB, free: 6.883 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.4738, allocations: 317.3 kB / 0.7785 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.4739, allocations: 3.938 kB / 0.7786 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003044/0.4742, allocations: 95.84 kB / 0.7786 GB, free: 6.426 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.4742, allocations: 4 kB / 0.7786 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.4742, allocations: 11.98 kB / 0.7787 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.4742, allocations: 4 kB / 0.7787 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4742, allocations: 0 / 0.7787 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.4753, allocations: 0.5042 MB / 0.7792 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.925e-05/0.4753, allocations: 100.7 kB / 0.7793 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.4754, allocations: 8 kB / 0.7793 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.4755, allocations: 35.95 kB / 0.7793 GB, free: 5.723 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002471/0.4758, allocations: 111.8 kB / 0.7794 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.4758, allocations: 19.98 kB / 0.7794 GB, free: 5.594 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.518e-05/0.4759, allocations: 101.6 kB / 0.7795 GB, free: 5.496 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4759, allocations: 0 / 0.7795 GB, free: 5.496 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004571/0.4764, allocations: 115.9 kB / 0.7796 GB, free: 5.383 MB / 0.545 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.001712/0.4781, allocations: 1.115 MB / 0.7807 GB, free: 4.238 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00103/0.4791, allocations: 479.4 kB / 0.7812 GB, free: 3.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.4792, allocations: 0 / 0.7812 GB, free: 3.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005108/0.4797, allocations: 263.6 kB / 0.7814 GB, free: 3.512 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.4801, allocations: 74.69 kB / 0.7815 GB, free: 3.441 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004186/0.4843, allocations: 2.681 MB / 0.7841 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.4847, allocations: 0.7367 MB / 0.7848 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004389/0.4851, allocations: 186.7 kB / 0.785 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.4853, allocations: 63.41 kB / 0.7851 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of SimCode: time 3.8e-07/0.4853, allocations: 0 / 0.7851 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.5117, allocations: 7.555 MB / 0.7924 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.318/7.83, allocations: 7.062 kB / 0.7925 GB, free: 8.34 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)