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.001809/0.001809, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002078/0.002078, allocations: 207.2 kB / 16.79 MB, free: 6.84 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.43/1.43, allocations: 222.9 MB / 240.5 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8283/0.8283, allocations: 126.7 MB / 417.3 MB, free: 7.391 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002145, allocations: 68.45 kB / 0.4951 GB, free: 10.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1606, allocations: 78.86 MB / 0.5721 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.5132/0.6739, allocations: 215.9 MB / 0.7829 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01544/0.6893, allocations: 9.448 MB / 0.7922 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002049/0.6914, allocations: 51.69 kB / 0.7922 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002682/0.6942, allocations: 0.6526 MB / 0.7928 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006675/0.7009, allocations: 2.089 MB / 0.7949 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005099/0.706, allocations: 1.787 MB / 0.7966 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005905/0.7119, allocations: 4.243 MB / 0.8008 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001884/0.7138, allocations: 0.9992 MB / 0.8017 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004863/0.7187, allocations: 1.922 MB / 0.8036 GB, free: 2.832 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002344/0.7211, allocations: 1.011 MB / 0.8046 GB, free: 1.816 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002618/0.7214, allocations: 68 kB / 0.8047 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005515/0.7269, allocations: 2.728 MB / 0.8073 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006638/0.7276, allocations: 338.6 kB / 0.8077 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001267/0.7289, allocations: 0.715 MB / 0.8084 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005475/0.7344, allocations: 2.808 MB / 0.8111 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.7344, allocations: 0 / 0.8111 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7344, allocations: 0 / 0.8111 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.165e-05/0.7344, allocations: 0 / 0.8111 GB, free: 11.15 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.005345/0.7398, allocations: 1.978 MB / 0.813 GB, free: 9.102 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.7398, allocations: 12.03 kB / 0.813 GB, free: 9.09 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003582/0.7434, allocations: 0.5445 MB / 0.8136 GB, free: 8.543 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002906/0.7464, allocations: 1.047 MB / 0.8146 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007006/0.7471, allocations: 185.8 kB / 0.8148 GB, free: 7.258 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002282/0.7473, allocations: 95.98 kB / 0.8149 GB, free: 7.164 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003192/0.7505, allocations: 1.309 MB / 0.8161 GB, free: 5.812 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.7506, allocations: 0 / 0.8161 GB, free: 5.812 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.7507, allocations: 40 kB / 0.8162 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.977e-05/0.7508, allocations: 37.98 kB / 0.8162 GB, free: 5.734 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003859/0.7547, allocations: 1.343 MB / 0.8175 GB, free: 4.391 MB / 0.6387 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.3043/1.059, allocations: 5.829 MB / 0.8232 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003088/1.062, allocations: 1.154 MB / 0.8244 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001446/1.064, allocations: 0.5527 MB / 0.8249 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001174/1.065, allocations: 1.077 MB / 0.8259 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00177/1.067, allocations: 0.6583 MB / 0.8266 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=69): time 2.504e-06/1.067, allocations: 0 / 0.8266 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69): time 0.005026/1.072, allocations: 1.571 MB / 0.8281 GB, free: 217.3 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/1.072, allocations: 92.94 kB / 0.8282 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/1.073, allocations: 1.026 MB / 0.8292 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/1.074, allocations: 43.08 kB / 0.8293 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004211/1.074, allocations: 0.5441 MB / 0.8298 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/1.074, allocations: 236.8 kB / 0.83 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003008/1.075, allocations: 156.3 kB / 0.8302 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.179e-05/1.075, allocations: 333.3 kB / 0.8305 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/1.076, allocations: 474.8 kB / 0.8309 GB, free: 215.7 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/1.077, allocations: 0.6274 MB / 0.8315 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002655/1.08, allocations: 1.045 MB / 0.8326 GB, free: 215 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/1.08, allocations: 4.875 kB / 0.8326 GB, free: 215 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003465/1.084, allocations: 1.246 MB / 0.8338 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.262e-05/1.084, allocations: 34.08 kB / 0.8338 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/1.084, allocations: 4.406 kB / 0.8338 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.833e-05/1.084, allocations: 6.469 kB / 0.8338 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/1.085, allocations: 269 kB / 0.8341 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004938/1.086, allocations: 1.195 MB / 0.8353 GB, free: 213.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/1.087, allocations: 197.7 kB / 0.8354 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/1.087, allocations: 38.7 kB / 0.8355 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001689/1.089, allocations: 0.679 MB / 0.8361 GB, free: 213 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001428/1.09, allocations: 0.6261 MB / 0.8368 GB, free: 212.7 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002603/1.093, allocations: 1.04 MB / 0.8378 GB, free: 212.3 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.608e-06/1.093, allocations: 8.719 kB / 0.8378 GB, free: 212.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003442/1.096, allocations: 1.236 MB / 0.839 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/1.097, allocations: 33.67 kB / 0.839 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/1.097, allocations: 4.188 kB / 0.839 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/1.097, allocations: 6.812 kB / 0.839 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/1.098, allocations: 232.1 kB / 0.8392 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.39e-05/1.098, allocations: 8.25 kB / 0.8393 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/1.099, allocations: 181.9 kB / 0.8394 GB, free: 211.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.991e-05/1.099, allocations: 39.62 kB / 0.8395 GB, free: 211.7 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (86): * Single equations (assignments): 83 * 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.0003178/1.1, allocations: 234.2 kB / 0.8397 GB, free: 211.5 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/1.1, allocations: 127 kB / 0.8398 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003639/1.104, allocations: 1.391 MB / 0.8412 GB, free: 210.9 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/1.104, allocations: 8.5 kB / 0.8412 GB, free: 210.9 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/1.104, allocations: 1.156 kB / 0.8412 GB, free: 210.9 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/1.104, allocations: 4.406 kB / 0.8412 GB, free: 210.9 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005796/1.109, allocations: 2.744 MB / 0.8439 GB, free: 209.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/1.11, allocations: 3.469 kB / 0.8439 GB, free: 209.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/1.111, allocations: 222.8 kB / 0.8441 GB, free: 209.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-05/1.111, allocations: 11.06 kB / 0.8441 GB, free: 209.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.112e-05/1.111, allocations: 27.95 kB / 0.8441 GB, free: 209.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004194/1.111, allocations: 1.188 MB / 0.8453 GB, free: 208.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.111, allocations: 8.656 kB / 0.8453 GB, free: 208.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003307/1.115, allocations: 1.432 MB / 0.8467 GB, free: 207.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006846/1.115, allocations: 330.4 kB / 0.847 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002708/1.116, allocations: 18.83 kB / 0.847 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/1.117, allocations: 154.6 kB / 0.8472 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/1.117, allocations: 67.19 kB / 0.8472 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/1.117, allocations: 40.77 kB / 0.8473 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001268/1.119, allocations: 0.7037 MB / 0.848 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.51e-07/1.119, allocations: 0 / 0.848 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002094/1.121, allocations: 0.6132 MB / 0.8486 GB, free: 207.2 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (79): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.000896/1.122, allocations: 368.6 kB / 0.8489 GB, free: 207 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005123/1.127, allocations: 1.848 MB / 0.8507 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.127, allocations: 0 / 0.8507 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001763/1.128, allocations: 0.6532 MB / 0.8513 GB, free: 206.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003234/1.132, allocations: 0.5936 MB / 0.8519 GB, free: 206.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006059/1.138, allocations: 2.733 MB / 0.8546 GB, free: 204.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001186/1.139, allocations: 1.137 MB / 0.8557 GB, free: 203.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002186/1.141, allocations: 369.6 kB / 0.8561 GB, free: 203.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000467/1.142, allocations: 104.9 kB / 0.8562 GB, free: 203.5 MB / 0.6387 GB Notification: Performance of SimCode: time 1.714e-06/1.142, allocations: 0 / 0.8562 GB, free: 203.5 MB / 0.6387 GB Notification: Performance of Templates: time 0.03837/1.18, allocations: 24.26 MB / 0.8799 GB, free: 185.1 MB / 0.6387 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)