Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.Validation.ElectricalFollowing.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.Validation.ElectricalFollowing") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.306/2.306, allocations: 253.1 MB / 260.4 MB, free: 0.5898 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002204/0.002203, allocations: 192.2 kB / 319.6 MB, free: 7.684 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.4 MB / 0.5704 GB, free: 25.86 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001316/0.001316, allocations: 97.33 kB / 0.6746 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.161e-05/1.182e-05, allocations: 0 / 0.7843 GB, free: 2.938 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5323/0.5323, allocations: 106.2 MB / 0.888 GB, free: 77.16 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.061/1.593, allocations: 426.8 MB / 1.305 GB, free: 13.81 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003779/1.593, allocations: 89.58 kB / 1.305 GB, free: 13.77 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.48/3.073, allocations: 285.6 MB / 1.584 GB, free: 131.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0006265/3.074, allocations: 87.84 kB / 1.584 GB, free: 131.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.01039/3.084, allocations: 3.378 MB / 1.587 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/3.084, allocations: 8.031 kB / 1.587 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002811/3.087, allocations: 0.506 MB / 1.588 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009628/3.097, allocations: 2.858 MB / 1.591 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002917/3.097, allocations: 150.8 kB / 1.591 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009686/3.098, allocations: 160 kB / 1.591 GB, free: 124 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008215/3.106, allocations: 2.216 MB / 1.593 GB, free: 121.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009051/3.115, allocations: 2.527 MB / 1.595 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-05/3.115, allocations: 7.938 kB / 1.595 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003384/3.116, allocations: 8 kB / 1.595 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.939e-05/3.116, allocations: 64 kB / 1.596 GB, free: 119 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02931/3.145, allocations: 12.84 MB / 1.608 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004597/3.15, allocations: 1.559 MB / 1.61 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002292/3.152, allocations: 0.8021 MB / 1.61 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001883/3.154, allocations: 0.8639 MB / 1.611 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003076/3.157, allocations: 0.9997 MB / 1.612 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=169): time 6.472e-06/3.157, allocations: 0 / 1.612 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=169): time 0.007438/3.165, allocations: 1.943 MB / 1.614 GB, free: 99.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.06e-05/3.165, allocations: 162.5 kB / 1.614 GB, free: 99.41 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008936/3.174, allocations: 3.248 MB / 1.617 GB, free: 96.16 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006922/3.175, allocations: 69.69 kB / 1.617 GB, free: 96.09 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001567/3.176, allocations: 1.019 MB / 1.618 GB, free: 95.08 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001039/3.177, allocations: 469.3 kB / 1.619 GB, free: 94.63 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/3.177, allocations: 0 / 1.619 GB, free: 94.63 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001719/3.178, allocations: 386.2 kB / 1.619 GB, free: 94.25 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002246/3.18, allocations: 0.7502 MB / 1.62 GB, free: 93.49 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002912/3.183, allocations: 1.377 MB / 1.621 GB, free: 91.84 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004004/3.187, allocations: 0.9747 MB / 1.622 GB, free: 90.87 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.787e-05/3.187, allocations: 4 kB / 1.622 GB, free: 90.86 MB / 0.8698 GB Notification: Performance of matching and sorting (n=277) (initialization): time 0.008877/3.196, allocations: 2.478 MB / 1.625 GB, free: 88.38 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001525/3.197, allocations: 7.062 MB / 1.632 GB, free: 80.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.288e-05/3.198, allocations: 16 kB / 1.632 GB, free: 80.75 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004555/3.198, allocations: 88.81 kB / 1.632 GB, free: 80.66 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002794/3.201, allocations: 335.2 kB / 1.632 GB, free: 80.33 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007871/3.202, allocations: 0.6771 MB / 1.633 GB, free: 79.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003531/3.205, allocations: 206.7 kB / 1.633 GB, free: 79.43 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006932/3.206, allocations: 104 kB / 1.633 GB, free: 79.32 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/3.206, allocations: 6.656 kB / 1.633 GB, free: 79.32 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007834/3.214, allocations: 2.098 MB / 1.635 GB, free: 77.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.536e-05/3.214, allocations: 16 kB / 1.635 GB, free: 77.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002917/3.214, allocations: 92.89 kB / 1.635 GB, free: 77.11 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002621/3.217, allocations: 331.2 kB / 1.635 GB, free: 76.79 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006858/3.218, allocations: 0.6733 MB / 1.636 GB, free: 76.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003403/3.221, allocations: 179 kB / 1.636 GB, free: 75.91 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006694/3.222, allocations: 104 kB / 1.636 GB, free: 75.81 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 142 ($PRE.eleFol.opeMod.transition3.enableFire,$PRE.eleFol.opeMod.transition5.enableFire,$PRE.eleFol.opeMod.transition9.enableFire,$PRE.eleFol.opeMod.transition7.enableFire,$PRE.eleFol.opeMod.transition10.enableFire,$PRE.eleFol.opeMod.transition1.enableFire,$PRE.eleFol.opeMod.transition2.enableFire,$PRE.eleFol.opeMod.transition8.enableFire,$PRE.eleFol.opeMod.transition6.enableFire,$PRE.eleFol.opeMod.transition4.enableFire,$PRE.eleFol.opeMod.warUpCtr.timer.yAcc,eleFol.opeMod.warUpCtr.timer.yAcc,$PRE.eleFol.opeMod.timer.yAcc,eleFol.opeMod.timer.yAcc,$whenCondition2,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.valDat.nextTimeEvent,eleFol.eneCon.and1.u2,eleFol.eneCon.engTemWarUp.y,eleFol.stateGraphRoot.resume,eleFol.stateGraphRoot.suspend,eleFol.fil.limDp.y,eleFol.eneCon.delWarUp.y,eleFol.eneCon.and1.y,$whenCondition9,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,eleFol.eneCon.booExp.y,eleFol.eneCon.and1.u1,eleFol.opeMod.runSig,$PRE.eleFol.opeMod.staBy.localActive,eleFol.opeMod.staBy.localActive,eleFol.opeMod.staBy.outPort[2].available,$PRE.eleFol.opeMod.staBy.newActive,eleFol.opeMod.staBy.newActive,$PRE.eleFol.opeMod.staBy.oldActive,eleFol.opeMod.staBy.oldActive,eleFol.opeMod.staBy.active,$PRE.eleFol.opeMod.pumOn.localActive,eleFol.opeMod.pumOn.localActive,eleFol.opeMod.pumOn.outPort[2].available,$PRE.eleFol.opeMod.pumOn.newActive,eleFol.opeMod.pumOn.newActive,$PRE.eleFol.opeMod.pumOn.oldActive,eleFol.opeMod.pumOn.oldActive,eleFol.opeMod.pumOn.active,$PRE.eleFol.opeMod.warUp.localActive,eleFol.opeMod.warUp.localActive,eleFol.opeMod.warUp.inPort[2].occupied,eleFol.opeMod.warUp.outPort[2].available,$PRE.eleFol.opeMod.warUp.newActive,eleFol.opeMod.warUp.newActive,$PRE.eleFol.opeMod.warUp.oldActive,eleFol.opeMod.warUp.oldActive,eleFol.opeMod.warUp.active,$PRE.eleFol.opeMod.cooDow.localActive,eleFol.opeMod.cooDow.localActive,eleFol.opeMod.cooDow.inPort[2].occupied,eleFol.opeMod.cooDow.outPort[2].available,$PRE.eleFol.opeMod.cooDow.newActive,eleFol.opeMod.cooDow.newActive,$PRE.eleFol.opeMod.cooDow.oldActive,eleFol.opeMod.cooDow.oldActive,eleFol.opeMod.cooDow.active,$PRE.eleFol.opeMod.hys.y,eleFol.opeMod.hys.y,eleFol.opeMod.and1.u2,eleFol.opeMod.and1.y,eleFol.opeMod.transition3.enableFire,eleFol.opeMod.transition5.enableFire,eleFol.opeMod.transition9.enableFire,eleFol.opeMod.transition7.enableFire,eleFol.opeMod.and3.y,eleFol.opeMod.transition10.enableFire,eleFol.opeMod.and4.u1,eleFol.opeMod.and4.u2,eleFol.opeMod.and4.y,eleFol.opeMod.assWatMas.assMes.u,$PRE.eleFol.opeMod.assWatMas.hys.y,eleFol.opeMod.assWatMas.hys.y,eleFol.opeMod.transition1.enableFire,eleFol.opeMod.transition2.enableFire,$PRE.eleFol.opeMod.nor.localActive,eleFol.opeMod.nor.localActive,$PRE.eleFol.opeMod.nor.newActive,eleFol.opeMod.nor.newActive,$PRE.eleFol.opeMod.nor.oldActive,eleFol.opeMod.nor.oldActive,eleFol.opeMod.nor.active,eleFol.opeMod.transition8.enableFire,$PRE.eleFol.opeMod.warUpCtr.timer.entryTime,eleFol.opeMod.warUpCtr.timer.entryTime,eleFol.opeMod.transition6.enableFire,$PRE.eleFol.opeMod.plaOff.localActive,eleFol.opeMod.plaOff.localActive,eleFol.opeMod.plaOff.inPort[2].occupied,eleFol.opeMod.plaOff.inPort[3].occupied,$PRE.eleFol.opeMod.plaOff.newActive,eleFol.opeMod.plaOff.newActive,$PRE.eleFol.opeMod.plaOff.oldActive,eleFol.opeMod.plaOff.oldActive,eleFol.opeMod.plaOff.active,eleFol.opeMod.transition4.enableFire,eleFol.opeMod.transition4.fire,$PRE.eleFol.opeMod.transition4.t_start,eleFol.opeMod.transition4.t_start,$PRE.eleFol.opeMod.timer.entryTime,eleFol.opeMod.timer.entryTime,$PRE.eleFol.hys.y,eleFol.hys.y,eleFol.fil.assPow.assMesP.u,$PRE.eleFol.fil.assPow.maxPow.y,eleFol.fil.assPow.maxPow.y,$PRE.eleFol.fil.assPow.minPow.y,eleFol.fil.assPow.minPow.y,$PRE.eleFol.assWatTem.hys.y,eleFol.assWatTem.hys.y,eleFol.powCon.staBy.y,eleFol.powCon.cooDow.y,eleFol.stateGraphRoot.activeSteps,eleFol.conWat.opeMod,eleFol.conWat.offStaBy.y,avaSig.y,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,valDat.nextTimeEvent,$PRE.valDat.nextTimeEventScaled,valDat.nextTimeEventScaled,$PRE.eleFol.opeMod.warUpCtr.timer.reset_internal,eleFol.opeMod.warUpCtr.timer.reset_internal,$PRE.eleFol.opeMod.timer.reset_internal,eleFol.opeMod.timer.reset_internal,ETheVal.local_reset,EEleVal.local_reset,EThe.local_reset,EEle.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (272): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0008025/3.223, allocations: 281.3 kB / 1.637 GB, free: 75.51 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001064/3.224, allocations: 327.9 kB / 1.637 GB, free: 75.19 MB / 0.8698 GB Error: Too many equations, over-determined system. The model has 198 equation(s) and 197 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006538/3.23, allocations: 1.356 MB / 1.638 GB, free: 73.83 MB / 0.8698 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.