Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 117.9 kB / 17.09 MB, free: 5.98 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.001736/0.001736, allocations: 196.6 kB / 18.02 MB, free: 5.055 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.461/1.461, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7519/0.7519, allocations: 115.3 MB / 407.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 64.69 kB / 0.5583 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1656, allocations: 76.19 MB / 0.6327 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.6034/0.7691, allocations: 199.9 MB / 0.828 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0125/0.7816, allocations: 7.668 MB / 0.8355 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002068/0.7837, allocations: 43.25 kB / 0.8355 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002015/0.7858, allocations: 0.7076 MB / 0.8362 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00598/0.7918, allocations: 2.112 MB / 0.8383 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002895/0.7947, allocations: 1.137 MB / 0.8394 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003877/0.7986, allocations: 2.689 MB / 0.842 GB, free: 60 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001869/0.8005, allocations: 0.9797 MB / 0.8429 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004734/0.8052, allocations: 1.615 MB / 0.8445 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001856/0.8071, allocations: 0.8253 MB / 0.8453 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003695/0.8075, allocations: 102.9 kB / 0.8454 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004508/0.812, allocations: 1.846 MB / 0.8472 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006213/0.8126, allocations: 333.4 kB / 0.8475 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001431/0.8141, allocations: 0.6051 MB / 0.8481 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004916/0.819, allocations: 2.14 MB / 0.8502 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.819, allocations: 0 / 0.8502 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.705e-06/0.819, allocations: 0 / 0.8502 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.868e-05/0.8191, allocations: 0 / 0.8502 GB, free: 11.31 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.005019/0.8241, allocations: 1.669 MB / 0.8519 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.8242, allocations: 10.03 kB / 0.8519 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002559/0.8267, allocations: 439.5 kB / 0.8523 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00229/0.8291, allocations: 0.9543 MB / 0.8532 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.968e-05/0.8291, allocations: 55.92 kB / 0.8533 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.8293, allocations: 74.22 kB / 0.8533 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002617/0.8319, allocations: 1.083 MB / 0.8544 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.832, allocations: 0 / 0.8544 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.8321, allocations: 28 kB / 0.8544 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-05/0.8321, allocations: 33.98 kB / 0.8545 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003227/0.8354, allocations: 1.175 MB / 0.8556 GB, free: 6.738 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00695/0.8423, allocations: 4.094 MB / 0.8596 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/0.8449, allocations: 0.8288 MB / 0.8604 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001285/0.8462, allocations: 0.4953 MB / 0.8609 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008205/0.847, allocations: 0.6351 MB / 0.8615 GB, free: 304 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001579/0.8486, allocations: 0.5871 MB / 0.8621 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=57): time 2.745e-06/0.8486, allocations: 0 / 0.8621 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57): time 0.004337/0.853, allocations: 1.376 MB / 0.8634 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/0.853, allocations: 89.67 kB / 0.8635 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.8543, allocations: 0.8356 MB / 0.8643 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.8544, allocations: 37.7 kB / 0.8644 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003847/0.8548, allocations: 428.4 kB / 0.8648 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.855, allocations: 194.4 kB / 0.865 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002658/0.8553, allocations: 126 kB / 0.8651 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.8554, allocations: 334 kB / 0.8654 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/0.8567, allocations: 414.7 kB / 0.8658 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/0.858, allocations: 0.5196 MB / 0.8663 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00244/0.8605, allocations: 0.8656 MB / 0.8672 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.8605, allocations: 0 / 0.8672 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002975/0.8635, allocations: 1.054 MB / 0.8682 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.492e-05/0.8635, allocations: 39.05 kB / 0.8682 GB, free: 9.266 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.8635, allocations: 96 / 0.8682 GB, free: 9.266 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/0.8636, allocations: 7.938 kB / 0.8682 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.8649, allocations: 213.5 kB / 0.8684 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007541/0.8657, allocations: 1.199 MB / 0.8696 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.8669, allocations: 131.5 kB / 0.8697 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.868e-05/0.867, allocations: 31.98 kB / 0.8698 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001573/0.8686, allocations: 0.5985 MB / 0.8703 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00132/0.8699, allocations: 0.5157 MB / 0.8708 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002416/0.8723, allocations: 0.8656 MB / 0.8717 GB, free: 5.594 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.126e-06/0.8723, allocations: 0 / 0.8717 GB, free: 5.594 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.002967/0.8753, allocations: 1.046 MB / 0.8727 GB, free: 4.535 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/0.8754, allocations: 33.73 kB / 0.8727 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.8754, allocations: 4 kB / 0.8728 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.8754, allocations: 4 kB / 0.8728 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.8764, allocations: 195.7 kB / 0.8729 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.8764, allocations: 4 kB / 0.8729 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.8776, allocations: 123.5 kB / 0.8731 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.876e-05/0.8777, allocations: 27.98 kB / 0.8731 GB, free: 4.145 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003036/0.878, allocations: 223 kB / 0.8733 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002889/0.8783, allocations: 102.8 kB / 0.8734 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003171/0.8814, allocations: 1.11 MB / 0.8745 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.8815, allocations: 4 kB / 0.8745 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.8815, allocations: 0 / 0.8745 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.8815, allocations: 7.984 kB / 0.8745 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005004/0.8865, allocations: 2.311 MB / 0.8768 GB, free: 312 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.8865, allocations: 4 kB / 0.8768 GB, free: 308 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.8876, allocations: 196 kB / 0.8769 GB, free: 112 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.608e-05/0.8876, allocations: 7.938 kB / 0.877 GB, free: 104 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.033e-05/0.8877, allocations: 23.98 kB / 0.877 GB, free: 80 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006684/0.8884, allocations: 1.188 MB / 0.8781 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.8884, allocations: 4 kB / 0.8781 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002998/0.8914, allocations: 1.192 MB / 0.8793 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006026/0.892, allocations: 287.6 kB / 0.8796 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002345/0.8922, allocations: 16 kB / 0.8796 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.8934, allocations: 107.8 kB / 0.8797 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.8936, allocations: 52.31 kB / 0.8797 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.268e-05/0.8937, allocations: 35.97 kB / 0.8798 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008807/0.8946, allocations: 0.5821 MB / 0.8803 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8946, allocations: 4.094 kB / 0.8803 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00154/0.8961, allocations: 491 kB / 0.8808 GB, free: 12.02 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007871/0.8969, allocations: 294.3 kB / 0.8811 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004808/0.9017, allocations: 1.59 MB / 0.8827 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/0.9018, allocations: 0 / 0.8827 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001582/0.9033, allocations: 0.5417 MB / 0.8832 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/0.9057, allocations: 437.5 kB / 0.8836 GB, free: 9.152 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004697/0.9104, allocations: 1.913 MB / 0.8855 GB, free: 7.168 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007006/0.9112, allocations: 1.042 MB / 0.8865 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000406/0.9116, allocations: 87.41 kB / 0.8866 GB, free: 6.012 MB / 0.6387 GB Notification: Performance of SimCode: time 1.353e-06/0.9116, allocations: 0 / 0.8866 GB, free: 6.012 MB / 0.6387 GB Notification: Performance of Templates: time 0.03508/0.9467, allocations: 25.2 MB / 0.9112 GB, free: 12.91 MB / 0.67 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)