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: translateModel(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 110.5 kB / 16.41 MB, free: 6.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.001483/0.001483, allocations: 181.2 kB / 17.34 MB, free: 5.738 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002528/0.002528, allocations: 293.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9841/0.9841, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002752/0.002752, allocations: 103.8 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4735/0.4762, allocations: 86.97 MB / 0.7671 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.003338/0.4796, allocations: 1.393 MB / 0.7684 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005373/0.485, allocations: 2.907 MB / 0.7713 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.699e-05/0.485, allocations: 4 kB / 0.7713 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.4851, allocations: 7.922 kB / 0.7713 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.4853, allocations: 39.81 kB / 0.7713 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008135/0.4861, allocations: 187.2 kB / 0.7715 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004067/0.4865, allocations: 239.5 kB / 0.7717 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.959e-05/0.4866, allocations: 7.984 kB / 0.7717 GB, free: 15.13 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.4867, allocations: 91.86 kB / 0.7718 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.4869, allocations: 123.7 kB / 0.7719 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.487, allocations: 12 kB / 0.7719 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005183/0.4875, allocations: 139.9 kB / 0.7721 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.4876, allocations: 87.77 kB / 0.7722 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.4878, allocations: 91.64 kB / 0.7722 GB, free: 14.6 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005279/0.4883, allocations: 272.7 kB / 0.7725 GB, free: 14.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4883, allocations: 0 / 0.7725 GB, free: 14.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.018e-06/0.4883, allocations: 4 kB / 0.7725 GB, free: 14.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.4883, allocations: 0 / 0.7725 GB, free: 14.34 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.001239/0.4896, allocations: 0.5335 MB / 0.773 GB, free: 13.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.4896, allocations: 15.97 kB / 0.773 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.4898, allocations: 20.78 kB / 0.7731 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/0.4902, allocations: 244 kB / 0.7733 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.934e-05/0.4903, allocations: 24.36 kB / 0.7733 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.205e-05/0.4903, allocations: 16.38 kB / 0.7733 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.4914, allocations: 294.3 kB / 0.7736 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.4914, allocations: 0 / 0.7736 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/0.4914, allocations: 4 kB / 0.7736 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.4914, allocations: 7.938 kB / 0.7736 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002428/0.4939, allocations: 0.7529 MB / 0.7744 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000589/0.4944, allocations: 305.4 kB / 0.7746 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002703/0.4971, allocations: 0.6367 MB / 0.7753 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000832/0.498, allocations: 209.3 kB / 0.7755 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006307/0.4986, allocations: 400.1 kB / 0.7759 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.4987, allocations: 38.5 kB / 0.7759 GB, free: 10.63 MB / 0.545 GB Notification: Performance of pre-optimization done (n=37): time 2.254e-06/0.4987, allocations: 0 / 0.7759 GB, free: 10.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=37): time 0.002444/0.5011, allocations: 0.65 MB / 0.7765 GB, free: 9.977 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.5012, allocations: 59.16 kB / 0.7766 GB, free: 9.906 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.5013, allocations: 134.1 kB / 0.7767 GB, free: 9.766 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/0.5014, allocations: 29.7 kB / 0.7767 GB, free: 9.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.5014, allocations: 92.8 kB / 0.7768 GB, free: 9.637 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.5016, allocations: 130.9 kB / 0.7769 GB, free: 9.508 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.5017, allocations: 57.69 kB / 0.777 GB, free: 9.445 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.5019, allocations: 334.8 kB / 0.7773 GB, free: 9.109 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007757/0.5027, allocations: 191.8 kB / 0.7775 GB, free: 8.922 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008029/0.5035, allocations: 199.9 kB / 0.7777 GB, free: 8.727 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.5048, allocations: 360.3 kB / 0.778 GB, free: 8.371 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5048, allocations: 0 / 0.778 GB, free: 8.371 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001171/0.506, allocations: 469.2 kB / 0.7785 GB, free: 7.906 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.506, allocations: 14.5 kB / 0.7785 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.506, allocations: 3.984 kB / 0.7785 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.506, allocations: 0 / 0.7785 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003918/0.5064, allocations: 95.86 kB / 0.7786 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.5064, allocations: 0 / 0.7786 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.5067, allocations: 59.73 kB / 0.7787 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.5067, allocations: 23.92 kB / 0.7787 GB, free: 7.715 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.0001415/0.5068, allocations: 144.2 kB / 0.7788 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.5069, allocations: 19.84 kB / 0.7788 GB, free: 7.547 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.5082, allocations: 0.5165 MB / 0.7793 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.5082, allocations: 4 kB / 0.7793 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5082, allocations: 0 / 0.7793 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.5082, allocations: 3.938 kB / 0.7793 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000359/0.5086, allocations: 313.3 kB / 0.7796 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5086, allocations: 0 / 0.7796 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003761/0.5089, allocations: 107.8 kB / 0.7797 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.5089, allocations: 0 / 0.7797 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/0.509, allocations: 11.98 kB / 0.7798 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.509, allocations: 7.938 kB / 0.7798 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.509, allocations: 0 / 0.7798 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.5101, allocations: 0.4926 MB / 0.7802 GB, free: 6.027 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.828e-05/0.5102, allocations: 108.8 kB / 0.7804 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.5103, allocations: 4 kB / 0.7804 GB, free: 5.898 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.5104, allocations: 43.95 kB / 0.7804 GB, free: 5.855 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002335/0.5107, allocations: 115.8 kB / 0.7805 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.5107, allocations: 11.98 kB / 0.7805 GB, free: 5.73 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.435e-05/0.5108, allocations: 101.9 kB / 0.7806 GB, free: 5.633 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5108, allocations: 0 / 0.7806 GB, free: 5.633 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003957/0.5112, allocations: 119.8 kB / 0.7807 GB, free: 5.516 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.0003507/0.5115, allocations: 186.9 kB / 0.7809 GB, free: 5.324 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001161/0.5127, allocations: 455.2 kB / 0.7813 GB, free: 4.879 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5127, allocations: 0 / 0.7813 GB, free: 4.879 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000581/0.5133, allocations: 248.6 kB / 0.7816 GB, free: 4.637 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.5137, allocations: 71.92 kB / 0.7816 GB, free: 4.566 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000797/0.5145, allocations: 442 kB / 0.7821 GB, free: 4.105 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.5148, allocations: 0.7289 MB / 0.7828 GB, free: 3.348 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004129/0.5153, allocations: 184.7 kB / 0.783 GB, free: 3.191 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.5154, allocations: 35.42 kB / 0.783 GB, free: 3.16 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.5154, allocations: 0 / 0.783 GB, free: 3.16 MB / 0.545 GB Notification: Performance of Templates: time 0.01001/0.5254, allocations: 5.352 MB / 0.7882 GB, free: 13.88 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (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 & ./BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)