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.0008562/0.0008563, allocations: 87.84 kB / 16.66 MB, free: 6.098 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.0009297/0.0009298, allocations: 182.7 kB / 17.57 MB, free: 5.816 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.323/1.323, allocations: 223.3 MB / 241.6 MB, free: 14.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.702/0.702, allocations: 115.5 MB / 408.2 MB, free: 7.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003292, allocations: 8.219 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3573, allocations: 77.52 MB / 0.5606 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001189/0.3586, allocations: 1.106 MB / 0.5617 GB, free: 34.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002871/0.3615, allocations: 2.859 MB / 0.5644 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/0.3615, allocations: 0 / 0.5644 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.216e-05/0.3616, allocations: 8.969 kB / 0.5645 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.3617, allocations: 38.41 kB / 0.5645 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.3622, allocations: 160.2 kB / 0.5646 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000328/0.3625, allocations: 329.1 kB / 0.565 GB, free: 32.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.3626, allocations: 4 kB / 0.565 GB, free: 32.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.942e-05/0.3627, allocations: 95.22 kB / 0.5651 GB, free: 32.49 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.3628, allocations: 132.6 kB / 0.5652 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.3628, allocations: 12.06 kB / 0.5652 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003491/0.3632, allocations: 158.5 kB / 0.5653 GB, free: 32.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.309e-05/0.3633, allocations: 90.05 kB / 0.5654 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.611e-05/0.3634, allocations: 122 kB / 0.5655 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.3636, allocations: 188.1 kB / 0.5657 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3637, allocations: 0.5625 kB / 0.5657 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3637, allocations: 0 / 0.5657 GB, free: 32.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.3637, allocations: 0.5938 kB / 0.5657 GB, free: 32.25 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.0007049/0.3644, allocations: 0.5253 MB / 0.5662 GB, free: 31.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.3644, allocations: 13.84 kB / 0.5663 GB, free: 31.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.968e-05/0.3645, allocations: 19.27 kB / 0.5663 GB, free: 31.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.3647, allocations: 236.8 kB / 0.5665 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.692e-05/0.3648, allocations: 24.42 kB / 0.5665 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.446e-05/0.3648, allocations: 25.67 kB / 0.5665 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006871/0.3655, allocations: 324.9 kB / 0.5669 GB, free: 31.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.3656, allocations: 2.188 kB / 0.5669 GB, free: 31.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.3656, allocations: 5.656 kB / 0.5669 GB, free: 31.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3656, allocations: 4.156 kB / 0.5669 GB, free: 31.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/0.3672, allocations: 0.8036 MB / 0.5677 GB, free: 31.42 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.3675, allocations: 302.7 kB / 0.5679 GB, free: 31.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.3693, allocations: 0.7797 MB / 0.5687 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005447/0.3699, allocations: 261.1 kB / 0.569 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003162/0.3702, allocations: 391.3 kB / 0.5693 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.3702, allocations: 36.47 kB / 0.5694 GB, free: 30.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 1.443e-06/0.3702, allocations: 0 / 0.5694 GB, free: 30.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001717/0.3719, allocations: 0.7361 MB / 0.5701 GB, free: 30.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.372, allocations: 60.33 kB / 0.5701 GB, free: 30.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.723e-05/0.3721, allocations: 128.6 kB / 0.5703 GB, free: 30.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.3721, allocations: 35.33 kB / 0.5703 GB, free: 30.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.712e-05/0.3721, allocations: 89.53 kB / 0.5704 GB, free: 30.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.643e-05/0.3722, allocations: 127.3 kB / 0.5705 GB, free: 30.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.3723, allocations: 32.48 kB / 0.5705 GB, free: 29.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.635e-05/0.3723, allocations: 330.6 kB / 0.5708 GB, free: 29.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005265/0.3729, allocations: 224.9 kB / 0.5711 GB, free: 29.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005196/0.3734, allocations: 232.4 kB / 0.5713 GB, free: 29.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009581/0.3744, allocations: 418.2 kB / 0.5717 GB, free: 29.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3744, allocations: 0.9375 kB / 0.5717 GB, free: 29.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001118/0.3755, allocations: 0.5164 MB / 0.5722 GB, free: 29.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3755, allocations: 9.547 kB / 0.5722 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3755, allocations: 0 / 0.5722 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.3755, allocations: 2.125 kB / 0.5722 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003743/0.3759, allocations: 119.5 kB / 0.5723 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3759, allocations: 1.609 kB / 0.5723 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.3761, allocations: 65.91 kB / 0.5724 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.3762, allocations: 14.98 kB / 0.5724 GB, free: 29.39 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.0001014/0.3763, allocations: 146.7 kB / 0.5725 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.3763, allocations: 20.75 kB / 0.5725 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.3776, allocations: 0.565 MB / 0.5731 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3776, allocations: 4.562 kB / 0.5731 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3776, allocations: 3.938 kB / 0.5731 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.3776, allocations: 6.328 kB / 0.5731 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.3779, allocations: 310.4 kB / 0.5734 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3779, allocations: 0 / 0.5734 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/0.3782, allocations: 118.9 kB / 0.5735 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.3783, allocations: 1.375 kB / 0.5735 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.3783, allocations: 11.69 kB / 0.5735 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.3783, allocations: 1.375 kB / 0.5735 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3783, allocations: 1.375 kB / 0.5735 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.3794, allocations: 0.5531 MB / 0.5741 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.168e-05/0.3794, allocations: 99.33 kB / 0.5742 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.3795, allocations: 6.641 kB / 0.5742 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.3797, allocations: 56.22 kB / 0.5742 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002364/0.3799, allocations: 115.3 kB / 0.5743 GB, free: 28.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/0.38, allocations: 15.66 kB / 0.5744 GB, free: 28.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.354e-05/0.38, allocations: 98.62 kB / 0.5745 GB, free: 28.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.38, allocations: 4 kB / 0.5745 GB, free: 28.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003935/0.3804, allocations: 119.9 kB / 0.5746 GB, free: 28.45 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.0002994/0.3807, allocations: 185.6 kB / 0.5747 GB, free: 28.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.3818, allocations: 0.5171 MB / 0.5753 GB, free: 28.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3818, allocations: 0 / 0.5753 GB, free: 28.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005588/0.3824, allocations: 295.1 kB / 0.5755 GB, free: 28.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.3828, allocations: 75.11 kB / 0.5756 GB, free: 28.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006867/0.3835, allocations: 0.5309 MB / 0.5761 GB, free: 27.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.3837, allocations: 0.7352 MB / 0.5768 GB, free: 27.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.3838, allocations: 43.39 kB / 0.5769 GB, free: 27.16 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3838, allocations: 1.031 kB / 0.5769 GB, free: 27.16 MB / 446.1 MB Notification: Performance of Templates: time 0.007095/0.3909, allocations: 4.707 MB / 0.5815 GB, free: 26.25 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)