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.00103/0.00103, allocations: 115.8 kB / 17.09 MB, free: 6.016 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.0009621/0.0009623, allocations: 193.6 kB / 18.02 MB, free: 5.094 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.273/1.273, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7023/0.7023, allocations: 115.3 MB / 407.2 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 66.95 kB / 0.5583 GB, free: 32.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1261, allocations: 76.18 MB / 0.6327 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.5415/0.6676, allocations: 255.8 MB / 0.8825 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01558/0.6833, allocations: 9.583 MB / 0.8919 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002759/0.6861, allocations: 79.56 kB / 0.892 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002645/0.6887, allocations: 0.9706 MB / 0.8929 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006724/0.6955, allocations: 2.643 MB / 0.8955 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005121/0.7006, allocations: 2.153 MB / 0.8976 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005253/0.7059, allocations: 4.157 MB / 0.9016 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002224/0.7081, allocations: 1.579 MB / 0.9032 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0038/0.712, allocations: 1.996 MB / 0.9051 GB, free: 5.309 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002468/0.7144, allocations: 1.298 MB / 0.9064 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004606/0.7149, allocations: 176 kB / 0.9066 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005616/0.7205, allocations: 3.149 MB / 0.9097 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008537/0.7214, allocations: 0.5919 MB / 0.9102 GB, free: 92 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00156/0.723, allocations: 1.03 MB / 0.9112 GB, free: 15.05 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005781/0.7288, allocations: 3.685 MB / 0.9148 GB, free: 11.36 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.7288, allocations: 4 kB / 0.9148 GB, free: 11.36 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7288, allocations: 0 / 0.9148 GB, free: 11.36 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.137e-05/0.7289, allocations: 0 / 0.9148 GB, free: 11.36 MB / 0.67 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.003874/0.7327, allocations: 2.471 MB / 0.9172 GB, free: 8.805 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.7328, allocations: 8.031 kB / 0.9173 GB, free: 8.797 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003725/0.7365, allocations: 0.6337 MB / 0.9179 GB, free: 8.16 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002385/0.7389, allocations: 1.441 MB / 0.9193 GB, free: 6.664 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.11e-05/0.739, allocations: 94.28 kB / 0.9194 GB, free: 6.57 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/0.7392, allocations: 119.9 kB / 0.9195 GB, free: 6.453 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/0.7416, allocations: 1.42 MB / 0.9209 GB, free: 4.965 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.7417, allocations: 0 / 0.9209 GB, free: 4.965 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/0.7418, allocations: 48 kB / 0.9209 GB, free: 4.918 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.125e-05/0.7418, allocations: 58.14 kB / 0.921 GB, free: 4.859 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002343/0.7442, allocations: 1.188 MB / 0.9221 GB, free: 3.664 MB / 0.67 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.007502/0.7517, allocations: 5.681 MB / 0.9277 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.7536, allocations: 1.03 MB / 0.9287 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009877/0.7546, allocations: 0.5253 MB / 0.9292 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005773/0.7552, allocations: 315.9 kB / 0.9295 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00111/0.7563, allocations: 0.5696 MB / 0.9301 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=85): time 3.176e-06/0.7564, allocations: 3.938 kB / 0.9301 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92): time 0.007989/0.7644, allocations: 3.509 MB / 0.9335 GB, free: 7.492 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.7644, allocations: 90.11 kB / 0.9336 GB, free: 7.383 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/0.7662, allocations: 1.346 MB / 0.9349 GB, free: 6.027 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.864e-05/0.7663, allocations: 41.7 kB / 0.9349 GB, free: 5.98 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005808/0.7669, allocations: 0.7289 MB / 0.9356 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002804/0.7672, allocations: 315.5 kB / 0.9359 GB, free: 4.93 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003019/0.7675, allocations: 198.5 kB / 0.9361 GB, free: 4.73 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.7676, allocations: 345.9 kB / 0.9365 GB, free: 4.387 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009462/0.7686, allocations: 456.6 kB / 0.9369 GB, free: 3.938 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.7697, allocations: 0.6522 MB / 0.9375 GB, free: 3.215 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01305/0.7828, allocations: 3.318 MB / 0.9408 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.7828, allocations: 0 / 0.9408 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003276/0.7861, allocations: 1.511 MB / 0.9422 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/0.7861, allocations: 37.69 kB / 0.9423 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.7862, allocations: 4 kB / 0.9423 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007362/0.7869, allocations: 230.7 kB / 0.9425 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008806/0.7878, allocations: 199.7 kB / 0.9427 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004148/0.792, allocations: 4.589 MB / 0.9472 GB, free: 8.898 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.7933, allocations: 75.94 kB / 0.9473 GB, free: 8.824 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.7935, allocations: 39.98 kB / 0.9473 GB, free: 8.785 MB / 0.7012 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.001602/0.7951, allocations: 0.7596 MB / 0.948 GB, free: 8.02 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001103/0.7962, allocations: 0.6477 MB / 0.9487 GB, free: 7.297 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01293/0.8091, allocations: 3.286 MB / 0.9519 GB, free: 3.918 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.624e-06/0.8092, allocations: 3.984 kB / 0.9519 GB, free: 3.914 MB / 0.7012 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.003182/0.8124, allocations: 1.491 MB / 0.9533 GB, free: 2.395 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.901e-05/0.8124, allocations: 43.56 kB / 0.9534 GB, free: 2.348 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.8124, allocations: 4 kB / 0.9534 GB, free: 2.344 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004743/0.8129, allocations: 194.6 kB / 0.9536 GB, free: 2.145 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008818/0.8138, allocations: 211.8 kB / 0.9538 GB, free: 1.938 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004744/0.8186, allocations: 5.766 MB / 0.9594 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.8199, allocations: 71.92 kB / 0.9595 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.82, allocations: 43.98 kB / 0.9595 GB, free: 11.64 MB / 0.7169 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.0003189/0.8203, allocations: 269.8 kB / 0.9598 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003353/0.8207, allocations: 170.2 kB / 0.9599 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002734/0.8234, allocations: 1.278 MB / 0.9612 GB, free: 9.887 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002146/0.8256, allocations: 1.151 MB / 0.9623 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.8256, allocations: 0 / 0.9623 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007149/0.8263, allocations: 339 kB / 0.9626 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003107/0.8266, allocations: 27.98 kB / 0.9627 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.8277, allocations: 51.95 kB / 0.9627 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.8279, allocations: 60.91 kB / 0.9628 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003148/0.831, allocations: 1.366 MB / 0.9641 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003674/0.8347, allocations: 1.957 MB / 0.966 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009952/0.8357, allocations: 0.5153 MB / 0.9665 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001558/0.8373, allocations: 0.9177 MB / 0.9674 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of Backend: time 7.91e-07/0.8373, allocations: 0 / 0.9674 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006182/0.8435, allocations: 2.814 MB / 0.9702 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of SimCode: time 0.006553/0.8501, allocations: 3.868 MB / 0.9739 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of Templates: time 0.0618/0.9119, allocations: 42.38 MB / 1.015 GB, free: 2.523 MB / 0.7637 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)