Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.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.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 116.5 kB / 17.09 MB, free: 5.973 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.001266/0.001266, allocations: 194.7 kB / 18.03 MB, free: 5.059 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.394/1.394, 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.7878/0.7878, allocations: 126.1 MB / 417.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 64.11 kB / 0.5737 GB, free: 27.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1591, allocations: 78.7 MB / 0.6506 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.6317/0.7908, allocations: 255.8 MB / 0.9004 GB, free: 4.512 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01619/0.807, allocations: 9.601 MB / 0.9098 GB, free: 10.89 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003002/0.8101, allocations: 75.56 kB / 0.9098 GB, free: 10.81 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002843/0.8129, allocations: 0.998 MB / 0.9108 GB, free: 9.809 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007433/0.8204, allocations: 2.768 MB / 0.9135 GB, free: 7.031 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005773/0.8262, allocations: 2.161 MB / 0.9156 GB, free: 4.883 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006156/0.8324, allocations: 4.159 MB / 0.9197 GB, free: 0.7109 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002727/0.8351, allocations: 1.579 MB / 0.9212 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004463/0.8396, allocations: 2.028 MB / 0.9232 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002882/0.8425, allocations: 1.303 MB / 0.9245 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005692/0.8431, allocations: 180 kB / 0.9246 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006197/0.8493, allocations: 3.149 MB / 0.9277 GB, free: 8.441 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009148/0.8503, allocations: 0.5997 MB / 0.9283 GB, free: 7.84 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001814/0.8521, allocations: 1.03 MB / 0.9293 GB, free: 6.805 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007003/0.8591, allocations: 3.698 MB / 0.9329 GB, free: 3.094 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.8591, allocations: 0 / 0.9329 GB, free: 3.094 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8591, allocations: 0 / 0.9329 GB, free: 3.094 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.034e-05/0.8592, allocations: 4 kB / 0.9329 GB, free: 3.09 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.004987/0.8642, allocations: 2.538 MB / 0.9354 GB, free: 480 kB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.8643, allocations: 12.03 kB / 0.9354 GB, free: 468 kB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003943/0.8682, allocations: 0.6348 MB / 0.936 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003274/0.8715, allocations: 1.462 MB / 0.9375 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.633e-05/0.8716, allocations: 90.22 kB / 0.9376 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002741/0.8719, allocations: 124 kB / 0.9377 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002973/0.8749, allocations: 1.424 MB / 0.9391 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.538e-05/0.875, allocations: 4 kB / 0.9391 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.8751, allocations: 48 kB / 0.9391 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-05/0.8752, allocations: 42.22 kB / 0.9392 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002719/0.8779, allocations: 1.191 MB / 0.9403 GB, free: 11.31 MB / 0.7012 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.008907/0.8868, allocations: 5.682 MB / 0.9459 GB, free: 5.301 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/0.8888, allocations: 1.034 MB / 0.9469 GB, free: 4.227 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.8899, allocations: 0.526 MB / 0.9474 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006278/0.8905, allocations: 315.9 kB / 0.9477 GB, free: 3.336 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001154/0.8917, allocations: 0.5617 MB / 0.9482 GB, free: 2.758 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=85): time 3.537e-06/0.8917, allocations: 4 kB / 0.9482 GB, free: 2.754 MB / 0.7012 GB Notification: Performance of matching and sorting (n=92): time 0.008564/0.9003, allocations: 3.55 MB / 0.9517 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.9003, allocations: 86.11 kB / 0.9518 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00207/0.9024, allocations: 1.346 MB / 0.9531 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.9026, allocations: 45.7 kB / 0.9532 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006324/0.9032, allocations: 0.7417 MB / 0.9539 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003361/0.9036, allocations: 333.2 kB / 0.9542 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003368/0.9039, allocations: 190.5 kB / 0.9544 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.904, allocations: 349.8 kB / 0.9547 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.9051, allocations: 456.5 kB / 0.9551 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.9062, allocations: 0.6554 MB / 0.9558 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01392/0.9201, allocations: 3.314 MB / 0.959 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.9202, allocations: 0 / 0.959 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003626/0.9238, allocations: 1.527 MB / 0.9605 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.963e-05/0.9239, allocations: 37.64 kB / 0.9605 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.9239, allocations: 4 kB / 0.9606 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007689/0.9247, allocations: 226.8 kB / 0.9608 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009498/0.9256, allocations: 195.7 kB / 0.961 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004401/0.9301, allocations: 4.597 MB / 0.9654 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.9314, allocations: 68 kB / 0.9655 GB, free: 400 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.9315, allocations: 39.94 kB / 0.9655 GB, free: 360 kB / 0.7169 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001631/0.9332, allocations: 0.7635 MB / 0.9663 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001158/0.9344, allocations: 0.6555 MB / 0.9669 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01345/0.9478, allocations: 3.282 MB / 0.9701 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.017e-06/0.9479, allocations: 4 kB / 0.9701 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.003619/0.9515, allocations: 1.492 MB / 0.9716 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.674e-05/0.9516, allocations: 35.89 kB / 0.9716 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.9516, allocations: 15.86 kB / 0.9716 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005546/0.9521, allocations: 206.6 kB / 0.9718 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009337/0.9531, allocations: 187.8 kB / 0.972 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00559/0.9587, allocations: 5.781 MB / 0.9777 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.9602, allocations: 68.12 kB / 0.9777 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/0.9603, allocations: 47.98 kB / 0.9778 GB, free: 3.188 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 9 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 99 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,8), (1,2), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004001/0.9607, allocations: 277.6 kB / 0.978 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004233/0.9612, allocations: 170.9 kB / 0.9782 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002969/0.9641, allocations: 1.282 MB / 0.9795 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002259/0.9664, allocations: 1.147 MB / 0.9806 GB, free: 252 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.9664, allocations: 4 kB / 0.9806 GB, free: 248 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007126/0.9672, allocations: 347.9 kB / 0.9809 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002759/0.9674, allocations: 20 kB / 0.9809 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.9685, allocations: 61.44 kB / 0.981 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.9687, allocations: 60.8 kB / 0.9811 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003336/0.972, allocations: 1.359 MB / 0.9824 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003732/0.9758, allocations: 1.966 MB / 0.9843 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001027/0.9768, allocations: 0.527 MB / 0.9848 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001563/0.9784, allocations: 0.9138 MB / 0.9857 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of Backend: time 7.21e-07/0.9784, allocations: 0 / 0.9857 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006597/0.985, allocations: 2.82 MB / 0.9885 GB, free: 8.02 MB / 0.7481 GB Notification: Performance of SimCode: time 0.007466/0.9925, allocations: 3.914 MB / 0.9923 GB, free: 4.051 MB / 0.7481 GB Notification: Performance of Templates: time 0.06955/1.062, allocations: 42.38 MB / 1.034 GB, free: 9.98 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)