Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001385/0.001385, allocations: 101.2 kB / 15.98 MB, free: 6.344 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.001614/0.001614, allocations: 195.1 kB / 16.9 MB, free: 6.188 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.393/1.393, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7822/0.7822, allocations: 122.9 MB / 413.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 63.91 kB / 0.4906 GB, free: 7.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3748, allocations: 77.91 MB / 0.5667 GB, free: 32.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002571/0.3774, allocations: 1.442 MB / 0.5681 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003309/0.3808, allocations: 2.88 MB / 0.5709 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.3808, allocations: 0 / 0.5709 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.674e-05/0.3809, allocations: 8.953 kB / 0.5709 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.3811, allocations: 33.52 kB / 0.5709 GB, free: 29.44 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005327/0.3816, allocations: 168.7 kB / 0.5711 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002675/0.3819, allocations: 250.8 kB / 0.5713 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.67e-05/0.3819, allocations: 3.406 kB / 0.5713 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.382, allocations: 92.55 kB / 0.5714 GB, free: 29.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.3822, allocations: 140.8 kB / 0.5716 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.546e-05/0.3823, allocations: 10.56 kB / 0.5716 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003963/0.3827, allocations: 151.6 kB / 0.5717 GB, free: 29.15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.3828, allocations: 83.94 kB / 0.5718 GB, free: 29.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.3829, allocations: 92.42 kB / 0.5719 GB, free: 29.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000378/0.3833, allocations: 274.9 kB / 0.5721 GB, free: 29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3833, allocations: 1.219 kB / 0.5721 GB, free: 29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3833, allocations: 0.8438 kB / 0.5721 GB, free: 29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.493e-06/0.3833, allocations: 0 / 0.5721 GB, free: 29 MB / 446.1 MB 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.0007845/0.3841, allocations: 0.5337 MB / 0.5727 GB, free: 28.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.3841, allocations: 10.22 kB / 0.5727 GB, free: 28.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.3843, allocations: 18.78 kB / 0.5727 GB, free: 28.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.3845, allocations: 237.1 kB / 0.5729 GB, free: 28.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.701e-05/0.3845, allocations: 23.72 kB / 0.5729 GB, free: 28.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.3846, allocations: 14.19 kB / 0.573 GB, free: 28.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006469/0.3852, allocations: 290.5 kB / 0.5732 GB, free: 28.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3853, allocations: 2.312 kB / 0.5732 GB, free: 28.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.3853, allocations: 9.125 kB / 0.5732 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.3853, allocations: 4.25 kB / 0.5732 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/0.3869, allocations: 0.7496 MB / 0.574 GB, free: 28.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003596/0.3873, allocations: 302.6 kB / 0.5743 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.389, allocations: 0.6798 MB / 0.5749 GB, free: 27.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005091/0.3895, allocations: 234.6 kB / 0.5752 GB, free: 27.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000345/0.3898, allocations: 388.4 kB / 0.5755 GB, free: 27.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.3899, allocations: 40.5 kB / 0.5756 GB, free: 27.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 1.513e-06/0.3899, allocations: 0 / 0.5756 GB, free: 27.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001754/0.3916, allocations: 0.6614 MB / 0.5762 GB, free: 27.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.3917, allocations: 56.64 kB / 0.5763 GB, free: 27.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.209e-05/0.3918, allocations: 126.8 kB / 0.5764 GB, free: 26.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.3918, allocations: 31.11 kB / 0.5764 GB, free: 26.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.31e-05/0.3919, allocations: 94.14 kB / 0.5765 GB, free: 26.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.847e-05/0.392, allocations: 126.7 kB / 0.5766 GB, free: 26.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.3921, allocations: 66.14 kB / 0.5767 GB, free: 26.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.011e-05/0.3922, allocations: 325.4 kB / 0.577 GB, free: 26.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004778/0.3927, allocations: 195.1 kB / 0.5772 GB, free: 26.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004793/0.3931, allocations: 198.6 kB / 0.5774 GB, free: 26.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008896/0.394, allocations: 361.7 kB / 0.5777 GB, free: 26.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3941, allocations: 4.75 kB / 0.5777 GB, free: 26.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001093/0.3951, allocations: 464.6 kB / 0.5782 GB, free: 26.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3952, allocations: 5.344 kB / 0.5782 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3952, allocations: 1.438 kB / 0.5782 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.3952, allocations: 1.75 kB / 0.5782 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003659/0.3956, allocations: 99.58 kB / 0.5783 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3956, allocations: 2.25 kB / 0.5783 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.3958, allocations: 52.91 kB / 0.5783 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/0.3958, allocations: 15.78 kB / 0.5783 GB, free: 26.14 MB / 446.1 MB 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.0001094/0.3959, allocations: 140.1 kB / 0.5785 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.396, allocations: 20.56 kB / 0.5785 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.3971, allocations: 0.5102 MB / 0.579 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.3972, allocations: 6.094 kB / 0.579 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3972, allocations: 0 / 0.579 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3972, allocations: 5.266 kB / 0.579 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.3975, allocations: 309.4 kB / 0.5793 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3975, allocations: 0 / 0.5793 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003334/0.3978, allocations: 105.2 kB / 0.5794 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3978, allocations: 3.656 kB / 0.5794 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.3978, allocations: 10.7 kB / 0.5794 GB, free: 25.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3979, allocations: 6.5 kB / 0.5794 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3979, allocations: 5.219 kB / 0.5794 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.3989, allocations: 0.4943 MB / 0.5799 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/0.399, allocations: 102.5 kB / 0.58 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.399, allocations: 14.28 kB / 0.58 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.3992, allocations: 37.08 kB / 0.5801 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/0.3994, allocations: 116.1 kB / 0.5802 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.3994, allocations: 15.95 kB / 0.5802 GB, free: 24.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.5e-05/0.3995, allocations: 99.61 kB / 0.5803 GB, free: 24.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3995, allocations: 0.8438 kB / 0.5803 GB, free: 24.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004334/0.3999, allocations: 117.3 kB / 0.5804 GB, free: 24.86 MB / 446.1 MB 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.0003337/0.4003, allocations: 190.7 kB / 0.5806 GB, free: 24.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.4014, allocations: 0.554 MB / 0.5811 GB, free: 24.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4014, allocations: 0 / 0.5811 GB, free: 24.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005118/0.4019, allocations: 272.1 kB / 0.5814 GB, free: 24.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.4024, allocations: 74.14 kB / 0.5814 GB, free: 24.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007205/0.4031, allocations: 497.5 kB / 0.5819 GB, free: 24.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.4033, allocations: 0.7351 MB / 0.5826 GB, free: 23.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000421/0.4037, allocations: 181.9 kB / 0.5828 GB, free: 23.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.655e-05/0.4038, allocations: 34.89 kB / 0.5828 GB, free: 23.27 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4038, allocations: 0 / 0.5828 GB, free: 23.27 MB / 446.1 MB Notification: Performance of Templates: time 0.009213/0.413, allocations: 5.05 MB / 0.5878 GB, free: 20.79 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)