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.007424/0.007424, allocations: 101.4 kB / 15.73 MB, free: 6.035 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.001139/0.001139, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.31/1.31, 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.001994/0.001994, allocations: 274.5 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.933/0.933, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 95.84 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1725, allocations: 86.97 MB / 0.7664 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002264/0.1748, allocations: 1.378 MB / 0.7677 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003254/0.1781, allocations: 2.914 MB / 0.7706 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.922e-05/0.1781, allocations: 0 / 0.7706 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.879e-05/0.1782, allocations: 7.922 kB / 0.7706 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.1783, allocations: 39.81 kB / 0.7706 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004997/0.1788, allocations: 183.1 kB / 0.7708 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00025/0.1791, allocations: 247.5 kB / 0.771 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.1791, allocations: 4 kB / 0.771 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.812e-05/0.1792, allocations: 91.84 kB / 0.7711 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.1794, allocations: 123.7 kB / 0.7712 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.1794, allocations: 11.94 kB / 0.7712 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003523/0.1798, allocations: 147.8 kB / 0.7714 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.496e-05/0.1799, allocations: 79.83 kB / 0.7715 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.18, allocations: 91.58 kB / 0.7715 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003414/0.1803, allocations: 283 kB / 0.7718 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1803, allocations: 0 / 0.7718 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1803, allocations: 0 / 0.7718 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.1804, allocations: 0 / 0.7718 GB, free: 2.852 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.0007818/0.1811, allocations: 0.5334 MB / 0.7723 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.1812, allocations: 12.03 kB / 0.7723 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.1813, allocations: 20.83 kB / 0.7724 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.1815, allocations: 240.1 kB / 0.7726 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.932e-05/0.1816, allocations: 20.36 kB / 0.7726 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.1816, allocations: 20.36 kB / 0.7726 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006061/0.1822, allocations: 297.6 kB / 0.7729 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.1822, allocations: 0 / 0.7729 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.1823, allocations: 4 kB / 0.7729 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1823, allocations: 4 kB / 0.7729 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.1837, allocations: 0.7491 MB / 0.7737 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.184, allocations: 309.3 kB / 0.774 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3271/0.5111, allocations: 0.6749 MB / 0.7746 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007271/0.5119, allocations: 231.7 kB / 0.7748 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004862/0.5124, allocations: 390.8 kB / 0.7752 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.5125, allocations: 43.03 kB / 0.7752 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 3.697e-06/0.5125, allocations: 3.625 kB / 0.7753 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.00189/0.5144, allocations: 0.6449 MB / 0.7759 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.5144, allocations: 55.44 kB / 0.7759 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.729e-05/0.5145, allocations: 128.3 kB / 0.7761 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.5145, allocations: 30.7 kB / 0.7761 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.202e-05/0.5146, allocations: 91.81 kB / 0.7762 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.5147, allocations: 130.2 kB / 0.7763 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.5148, allocations: 64.38 kB / 0.7764 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.867e-05/0.5149, allocations: 333.6 kB / 0.7767 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000491/0.5154, allocations: 195 kB / 0.7769 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004848/0.5158, allocations: 201.7 kB / 0.7771 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008897/0.5167, allocations: 363.7 kB / 0.7774 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5168, allocations: 0 / 0.7774 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001055/0.5178, allocations: 464.1 kB / 0.7778 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.5178, allocations: 5.25 kB / 0.7779 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.5179, allocations: 0.6094 kB / 0.7779 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.5179, allocations: 1.656 kB / 0.7779 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/0.5182, allocations: 100.2 kB / 0.7779 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.5183, allocations: 4.266 kB / 0.778 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.5185, allocations: 52.48 kB / 0.778 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.5185, allocations: 10.97 kB / 0.778 GB, free: 14.08 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.941e-05/0.5186, allocations: 148.8 kB / 0.7782 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.5186, allocations: 18.38 kB / 0.7782 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.5199, allocations: 0.515 MB / 0.7787 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.5199, allocations: 3.969 kB / 0.7787 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.5199, allocations: 0 / 0.7787 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.5199, allocations: 4.344 kB / 0.7787 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.5202, allocations: 321.6 kB / 0.779 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5202, allocations: 3.156 kB / 0.779 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003334/0.5205, allocations: 101.9 kB / 0.7791 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.5205, allocations: 1.531 kB / 0.7791 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.5206, allocations: 9.125 kB / 0.7791 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.5206, allocations: 3.562 kB / 0.7791 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5206, allocations: 0.9375 kB / 0.7791 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.5216, allocations: 0.494 MB / 0.7796 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.589e-05/0.5217, allocations: 102.3 kB / 0.7797 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.5217, allocations: 7.219 kB / 0.7797 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.5219, allocations: 36.2 kB / 0.7797 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/0.5221, allocations: 119.4 kB / 0.7798 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.5221, allocations: 11.89 kB / 0.7799 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.545e-05/0.5222, allocations: 107.4 kB / 0.78 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5222, allocations: 0 / 0.78 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003622/0.5226, allocations: 117.9 kB / 0.7801 GB, free: 13.33 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.0002916/0.5229, allocations: 192 kB / 0.7802 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001084/0.524, allocations: 476 kB / 0.7807 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.524, allocations: 1.312 kB / 0.7807 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005373/0.5245, allocations: 264.4 kB / 0.781 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.5249, allocations: 81.48 kB / 0.781 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006776/0.5256, allocations: 419.4 kB / 0.7814 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.5257, allocations: 0.7303 MB / 0.7821 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003726/0.5261, allocations: 183.5 kB / 0.7823 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.769e-05/0.5262, allocations: 40.64 kB / 0.7824 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of SimCode: time 2.11e-07/0.5262, allocations: 3.844 kB / 0.7824 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of Templates: time 0.009501/0.5357, allocations: 5.326 MB / 0.7876 GB, free: 11.8 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)