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: translateModel(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 106.8 kB / 16.41 MB, free: 6.461 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.001257/0.001257, allocations: 189.7 kB / 17.35 MB, free: 5.715 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.282/1.282, allocations: 222.9 MB / 241 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.002192/0.002192, allocations: 285.1 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9015/0.9015, allocations: 169.3 MB / 0.499 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001828, allocations: 100.3 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3906, allocations: 86.98 MB / 0.767 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002368/0.393, allocations: 1.37 MB / 0.7684 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003587/0.3966, allocations: 2.911 MB / 0.7712 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.612e-05/0.3967, allocations: 0 / 0.7712 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.736e-05/0.3968, allocations: 7.922 kB / 0.7712 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.3969, allocations: 39.81 kB / 0.7713 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006085/0.3975, allocations: 191.1 kB / 0.7715 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000251/0.3978, allocations: 235.5 kB / 0.7717 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.789e-05/0.3978, allocations: 7.656 kB / 0.7717 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.398, allocations: 99.78 kB / 0.7718 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.3981, allocations: 119.8 kB / 0.7719 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.3981, allocations: 8 kB / 0.7719 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000399/0.3986, allocations: 143.9 kB / 0.772 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.294e-05/0.3987, allocations: 95.69 kB / 0.7721 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.3988, allocations: 87.64 kB / 0.7722 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003764/0.3992, allocations: 273.8 kB / 0.7725 GB, free: 14.31 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3992, allocations: 0 / 0.7725 GB, free: 14.31 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3992, allocations: 0 / 0.7725 GB, free: 14.31 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3992, allocations: 0 / 0.7725 GB, free: 14.31 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.0008148/0.4, allocations: 0.5339 MB / 0.773 GB, free: 13.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.4, allocations: 8.031 kB / 0.773 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.4002, allocations: 20.75 kB / 0.773 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.4004, allocations: 244 kB / 0.7733 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.102e-05/0.4005, allocations: 24.36 kB / 0.7733 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.4005, allocations: 16.31 kB / 0.7733 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006293/0.4012, allocations: 298.2 kB / 0.7736 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.4012, allocations: 0 / 0.7736 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.4012, allocations: 4 kB / 0.7736 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.4012, allocations: 4 kB / 0.7736 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.4026, allocations: 0.7491 MB / 0.7743 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.403, allocations: 309.2 kB / 0.7746 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.4046, allocations: 0.6775 MB / 0.7753 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004906/0.4051, allocations: 233.3 kB / 0.7755 GB, free: 11.06 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003844/0.4055, allocations: 388.1 kB / 0.7759 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.4055, allocations: 42.44 kB / 0.7759 GB, free: 10.55 MB / 0.545 GB Notification: Performance of pre-optimization done (n=37): time 1.553e-06/0.4055, allocations: 0 / 0.7759 GB, free: 10.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=37): time 0.001555/0.4071, allocations: 0.646 MB / 0.7765 GB, free: 9.902 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.4071, allocations: 67.16 kB / 0.7766 GB, free: 9.824 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.4072, allocations: 126.1 kB / 0.7767 GB, free: 9.691 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.4073, allocations: 33.7 kB / 0.7768 GB, free: 9.652 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.308e-05/0.4073, allocations: 84.8 kB / 0.7768 GB, free: 9.566 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.4074, allocations: 126.2 kB / 0.777 GB, free: 9.441 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.387e-05/0.4075, allocations: 65.69 kB / 0.777 GB, free: 9.371 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.4076, allocations: 326.8 kB / 0.7773 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004625/0.4081, allocations: 195.8 kB / 0.7775 GB, free: 8.852 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004609/0.4086, allocations: 199.9 kB / 0.7777 GB, free: 8.656 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008475/0.4094, allocations: 364.3 kB / 0.7781 GB, free: 8.297 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4094, allocations: 0 / 0.7781 GB, free: 8.297 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001039/0.4105, allocations: 473.1 kB / 0.7785 GB, free: 7.828 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.4105, allocations: 4 kB / 0.7785 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.4105, allocations: 0 / 0.7785 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.4105, allocations: 4 kB / 0.7785 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.4109, allocations: 91.86 kB / 0.7786 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.4109, allocations: 0 / 0.7786 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.4111, allocations: 59.73 kB / 0.7787 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.4111, allocations: 11.98 kB / 0.7787 GB, free: 7.66 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.0001261/0.4113, allocations: 140.2 kB / 0.7788 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.4113, allocations: 19.75 kB / 0.7788 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.4125, allocations: 0.5176 MB / 0.7793 GB, free: 6.977 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.4125, allocations: 7.984 kB / 0.7793 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4125, allocations: 3.938 kB / 0.7793 GB, free: 6.965 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4125, allocations: 0 / 0.7793 GB, free: 6.965 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003029/0.4128, allocations: 313.3 kB / 0.7796 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4128, allocations: 0 / 0.7796 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003228/0.4131, allocations: 107.8 kB / 0.7797 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4132, allocations: 0 / 0.7797 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.4132, allocations: 12 kB / 0.7798 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.4132, allocations: 3.984 kB / 0.7798 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4132, allocations: 0 / 0.7798 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.4143, allocations: 0.5003 MB / 0.7802 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.853e-05/0.4143, allocations: 104.7 kB / 0.7803 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.4144, allocations: 12 kB / 0.7804 GB, free: 5.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.4146, allocations: 31.97 kB / 0.7804 GB, free: 5.805 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/0.4148, allocations: 119.8 kB / 0.7805 GB, free: 5.688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.4148, allocations: 15.98 kB / 0.7805 GB, free: 5.672 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.552e-05/0.4149, allocations: 98.89 kB / 0.7806 GB, free: 5.578 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4149, allocations: 3.938 kB / 0.7806 GB, free: 5.574 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003583/0.4153, allocations: 111.9 kB / 0.7807 GB, free: 5.465 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.0003181/0.4156, allocations: 191.1 kB / 0.7809 GB, free: 5.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.4166, allocations: 467.3 kB / 0.7813 GB, free: 4.812 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4166, allocations: 0 / 0.7813 GB, free: 4.812 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005324/0.4172, allocations: 264.6 kB / 0.7816 GB, free: 4.555 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.4176, allocations: 81.02 kB / 0.7817 GB, free: 4.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000733/0.4183, allocations: 468.1 kB / 0.7821 GB, free: 3.988 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.4186, allocations: 0.7366 MB / 0.7828 GB, free: 3.223 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.4187, allocations: 47.41 kB / 0.7829 GB, free: 3.18 MB / 0.545 GB Notification: Performance of SimCode: time 3.6e-07/0.4187, allocations: 0 / 0.7829 GB, free: 3.18 MB / 0.545 GB Notification: Performance of Templates: time 0.006934/0.4257, allocations: 4.781 MB / 0.7876 GB, free: 14.48 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (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 & ./BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)