Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.DHC.Loads.HotWater.Examples.StorageTankWithExternalHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 80.81 kB / 21.55 MB, free: 2.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 169.3 kB / 24.97 MB, free: 9.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.974/0.974, allocations: 177.1 MB / 205.4 MB, free: 5.18 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.907/1.907, allocations: 389.6 MB / 0.6362 GB, free: 12.34 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Loads.HotWater.Examples.StorageTankWithExternalHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.DHC.Loads.HotWater.Examples.StorageTankWithExternalHeatExchanger") translateModel(Buildings.DHC.Loads.HotWater.Examples.StorageTankWithExternalHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.DHC.Loads.HotWater.Examples.StorageTankWithExternalHeatExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.7759 GB, free: 5.496 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.764e-05/2.879e-05, allocations: 8.078 kB / 0.776 GB, free: 5.488 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.HotWater.Examples.StorageTankWithExternalHeatExchanger): time 0.03881/0.03884, allocations: 51.02 MB / 0.8258 GB, free: 2.344 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0415/0.08034, allocations: 24.39 MB / 0.8496 GB, free: 10.05 MB / 0.8074 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008479/0.08882, allocations: 380.9 kB / 0.85 GB, free: 9.672 MB / 0.8074 GB Notification: Performance of NFTyping.typeComponents: time 0.007556/0.09637, allocations: 2.819 MB / 0.8527 GB, free: 6.836 MB / 0.8074 GB Notification: Performance of NFTyping.typeBindings: time 0.01453/0.1109, allocations: 6.196 MB / 0.8588 GB, free: 0.6055 MB / 0.8074 GB Notification: Performance of NFTyping.typeClassSections: time 0.01135/0.1223, allocations: 6.166 MB / 0.8648 GB, free: 10.44 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.03325/0.1555, allocations: 33.13 MB / 0.8971 GB, free: 9.234 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01188/0.1674, allocations: 7.076 MB / 0.904 GB, free: 2.113 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02131/0.1887, allocations: 10.98 MB / 0.9148 GB, free: 7.188 MB / 0.8699 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00998/0.1987, allocations: 5.549 MB / 0.9202 GB, free: 1.625 MB / 0.8699 GB Notification: Performance of NFPackage.collectConstants: time 0.002807/0.2015, allocations: 0.9961 MB / 0.9212 GB, free: 0.6289 MB / 0.8699 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00612/0.2076, allocations: 2.423 MB / 0.9235 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.002725/0.2103, allocations: 2.776 MB / 0.9262 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.006745/0.2171, allocations: 3.488 MB / 0.9296 GB, free: 7.922 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.01427/0.2313, allocations: 8.796 MB / 0.9382 GB, free: 15.1 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.2313, allocations: 0 / 0.9382 GB, free: 15.1 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.953e-06/0.2314, allocations: 0 / 0.9382 GB, free: 15.1 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0004479/0.2318, allocations: 4 kB / 0.9382 GB, free: 15.09 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1350 * Number of variables: 1350 Notification: Performance of Generate backend data structure: time 0.01472/0.2465, allocations: 9.443 MB / 0.9475 GB, free: 5.547 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.2466, allocations: 11.98 kB / 0.9475 GB, free: 5.535 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004533/0.2511, allocations: 1.833 MB / 0.9493 GB, free: 3.699 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01175/0.2629, allocations: 6.24 MB / 0.9554 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000357/0.2632, allocations: 418.6 kB / 0.9558 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001049/0.2643, allocations: 0.5468 MB / 0.9563 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006643/0.2709, allocations: 5.029 MB / 0.9612 GB, free: 6.918 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.229e-05/0.271, allocations: 11.88 kB / 0.9612 GB, free: 6.906 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000391/0.2714, allocations: 220 kB / 0.9614 GB, free: 6.691 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/0.2715, allocations: 147.9 kB / 0.9616 GB, free: 6.547 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003169/0.2747, allocations: 1.733 MB / 0.9633 GB, free: 4.789 MB / 0.9167 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.0246/0.2993, allocations: 18.34 MB / 0.9812 GB, free: 1.969 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002813/0.3021, allocations: 1.74 MB / 0.9829 GB, free: 224 kB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.3032, allocations: 0.8742 MB / 0.9837 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009758/0.313, allocations: 4.304 MB / 0.9879 GB, free: 11 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001668/0.3147, allocations: 1.69 MB / 0.9896 GB, free: 9.094 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001697/0.3164, allocations: 401.8 kB / 0.9899 GB, free: 8.699 MB / 0.948 GB Notification: Performance of pre-optimization done (n=263): time 8.606e-06/0.3164, allocations: 0 / 0.9899 GB, free: 8.699 MB / 0.948 GB Notification: Performance of matching and sorting (n=263): time 0.005222/0.3216, allocations: 2.549 MB / 0.9924 GB, free: 6.098 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.3217, allocations: 214 kB / 0.9926 GB, free: 5.844 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005901/0.3276, allocations: 5.213 MB / 0.9977 GB, free: 0.6641 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003265/0.3279, allocations: 101.7 kB / 0.9978 GB, free: 0.5586 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001934/0.3299, allocations: 2.561 MB / 1 GB, free: 13.97 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007081/0.3306, allocations: 0.9489 MB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008371/0.3314, allocations: 0.7661 MB / 1.002 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.715e-05/0.3315, allocations: 313 kB / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/0.3327, allocations: 0.5834 MB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002178/0.3348, allocations: 2.777 MB / 1.006 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002922/0.3378, allocations: 2.72 MB / 1.008 GB, free: 4.434 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.529e-05/0.3378, allocations: 12 kB / 1.008 GB, free: 4.422 MB / 0.9636 GB Notification: Performance of matching and sorting (n=486) (initialization): time 0.004547/0.3423, allocations: 2.787 MB / 1.011 GB, free: 1.59 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.3424, allocations: 26.03 kB / 1.011 GB, free: 1.566 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-05/0.3424, allocations: 36 kB / 1.011 GB, free: 1.531 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/0.3437, allocations: 486.7 kB / 1.011 GB, free: 1.047 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002158/0.3458, allocations: 0.9048 MB / 1.012 GB, free: 144 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/0.3479, allocations: 3.56 MB / 1.016 GB, free: 12.42 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002495/0.3504, allocations: 247.8 kB / 1.016 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002616/0.3507, allocations: 187.9 kB / 1.016 GB, free: 12 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002057/0.3528, allocations: 0.7262 MB / 1.017 GB, free: 11.26 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002067/0.3548, allocations: 2.753 MB / 1.02 GB, free: 7.684 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002689/0.3575, allocations: 2.671 MB / 1.022 GB, free: 4.426 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.989e-05/0.3575, allocations: 12 kB / 1.022 GB, free: 4.414 MB / 0.9792 GB Notification: Performance of matching and sorting (n=486) (initialization_lambda0): time 0.004434/0.362, allocations: 2.756 MB / 1.025 GB, free: 1.613 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.362, allocations: 24 kB / 1.025 GB, free: 1.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.26e-05/0.362, allocations: 36 kB / 1.025 GB, free: 1.555 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/0.363, allocations: 418.2 kB / 1.025 GB, free: 1.137 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001846/0.3649, allocations: 0.9048 MB / 1.026 GB, free: 236 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002567/0.3675, allocations: 3.998 MB / 1.03 GB, free: 12.04 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002573/0.37, allocations: 244.4 kB / 1.03 GB, free: 11.8 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000245/0.3703, allocations: 175.9 kB / 1.031 GB, free: 11.62 MB / 0.9949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 179 * Number of states: 0 () * Number of discrete variables: 23 ($whenCondition4,$PRE.sch.nextTimeEvent,$whenCondition3,theMixVal.conPID.con1.y,domHotWatTan.conVal.cha.y,$PRE.domHotWatTan.conVal.cha.y,domHotWatTan.conCha.cha1.y,$PRE.domHotWatTan.conCha.cha1.y,domHotWatTan.conCha.cha.y,$PRE.domHotWatTan.conCha.cha.y,domHotWatTan.conCha.lat.y,$PRE.domHotWatTan.conCha.lat.y,domHotWatTan.conCha.lat.clr,domHotWatTan.conCha.lat.u,domHotWatTan.conPum.hysMasFlo.y,$PRE.domHotWatTan.conPum.hysMasFlo.y,sch.nextTimeEventScaled,$PRE.sch.nextTimeEventScaled,sch.nextTimeEvent,$whenCondition1,$whenCondition2,$whenCondition5,domHotWatTan.conVal.ram.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (450): * Single equations (assignments): 444 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,13), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0007364/0.371, allocations: 469.5 kB / 1.031 GB, free: 11.16 MB / 0.9949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008065/0.3718, allocations: 459.5 kB / 1.032 GB, free: 10.71 MB / 0.9949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00397/0.3758, allocations: 2.466 MB / 1.034 GB, free: 8.246 MB / 0.9949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001706/0.3775, allocations: 1.335 MB / 1.035 GB, free: 6.828 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.3775, allocations: 0 / 1.035 GB, free: 6.828 MB / 0.9949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001728/0.3792, allocations: 0.843 MB / 1.036 GB, free: 5.98 MB / 0.9949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007055/0.3799, allocations: 60 kB / 1.036 GB, free: 5.922 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/0.3814, allocations: 187.8 kB / 1.036 GB, free: 5.738 MB / 0.9949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002998/0.3817, allocations: 225.8 kB / 1.037 GB, free: 5.516 MB / 0.9949 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003559/0.3853, allocations: 1.997 MB / 1.038 GB, free: 3.473 MB / 0.9949 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003357/0.3886, allocations: 2.575 MB / 1.041 GB, free: 0.832 MB / 0.9949 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000748/0.3894, allocations: 0.6658 MB / 1.042 GB, free: 152 kB / 0.9949 GB Notification: Performance of sorting global known variables: time 0.002774/0.3921, allocations: 2.514 MB / 1.044 GB, free: 13.67 MB / 1.01 GB Notification: Performance of Backend: time 6.11e-07/0.3921, allocations: 4 kB / 1.044 GB, free: 13.67 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.009432/0.4016, allocations: 4.618 MB / 1.049 GB, free: 9.375 MB / 1.01 GB Notification: Performance of SimCode: time 0.3709/0.7725, allocations: 16.51 MB / 1.065 GB, free: 196.8 MB / 1.01 GB Notification: Performance of Templates: time 0.1734/0.9459, allocations: 166.8 MB / 1.228 GB, free: 77.4 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.DHC.Loads.HotWater.Examples.StorageTankWithExternalHeatExchanger.makefile [Timeout 300] (rm -f Buildings_13_Buildings.DHC.Loads.HotWater.Examples.StorageTankWithExternalHeatExchanger.pipe ; mkfifo Buildings_13_Buildings.DHC.Loads.HotWater.Examples.StorageTankWithExternalHeatExchanger.pipe ; head -c 1048576 < Buildings_13_Buildings.DHC.Loads.HotWater.Examples.StorageTankWithExternalHeatExchanger.pipe >> ../files/Buildings_13_Buildings.DHC.Loads.HotWater.Examples.StorageTankWithExternalHeatExchanger.sim & ./Buildings_13_Buildings.DHC.Loads.HotWater.Examples.StorageTankWithExternalHeatExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.DHC.Loads.HotWater.Examples.StorageTankWithExternalHeatExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.511897985823452]