Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.PolyvalentHeatPumps.Validation.ExtractStagingMatrix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003145/0.0003145, allocations: 0 / 0, free: 0 / 0 " [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.0003601/0.0003601, allocations: 0 / 0, free: 0 / 0 " [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.295/0.295, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 0.7034/0.7034, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: simulate(Buildings.Templates.Plants.Controls.PolyvalentHeatPumps.Validation.ExtractStagingMatrix,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.PolyvalentHeatPumps.Validation.ExtractStagingMatrix",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(Buildings.Templates.Plants.Controls.PolyvalentHeatPumps.Validation.ExtractStagingMatrix,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.PolyvalentHeatPumps.Validation.ExtractStagingMatrix",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 4.01e-07/4.01e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/1.798e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.PolyvalentHeatPumps.Validation.ExtractStagingMatrix): time 0.002265/0.002283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.00565/0.007933, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0001865/0.008119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0006155/0.008735, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0008592/0.009594, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0006246/0.01022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0278/0.03802, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.009218/0.04724, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.02433/0.07157, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.01109/0.08266, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.002974/0.08563, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.001829/0.08746, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.01011/0.09757, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.007116/0.1047, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0188/0.1235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.002467/0.126, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.296e-06/0.126, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 7.981e-05/0.126, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2894 * Number of variables: 2894 Notification: Performance of Generate backend data structure: time 0.907/1.033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.001797/1.035, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009078/1.044, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.01947/1.063, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00145/1.065, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.003023/1.068, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.01908/1.087, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 0.0004234/1.087, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001983/1.089, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000283/1.09, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009234/1.099, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04536/1.144, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.003051/1.147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.004565/1.152, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0001951/1.152, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004557/1.157, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=633): time 7.63e-05/1.157, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=633): time 0.01384/1.171, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003337/1.171, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02095/1.192, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.001119/1.193, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.00825/1.201, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.00291/1.204, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.01046/1.215, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 4.724e-05/1.215, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.006632/1.221, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.01033/1.232, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.01523/1.247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003331/1.247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=2126) (initialization): time 0.03455/1.282, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005785/1.282, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002958/1.283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0003606/1.283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01542/1.298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002508/1.301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006772/1.308, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003912/1.312, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 109 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,extSta.nStaCst.y,extSta.offCst[1].y,extSta.offCst[2].y,extSta.offCst[3].y,extSta.offCst[4].y,extSta.offCst[5].y,extSta.offCst[6].y,extSta.offCst[7].y,extSta.offCst[8].y,extSta.offCst[9].y,extSta.offCst[10].y,extSta.offCst[11].y,extSta.offCst[12].y,extSta.offCst[13].y,extSta.offCst[14].y,extSta.offCst[15].y,extSta.offCst[16].y,extSta.offCst[17].y,extSta.offCst[18].y,extSta.offCst[19].y,extSta.offCst[20].y,extSta.offCst[21].y,extSta.offCst[22].y,extSta.offCst[23].y,extSta.offCst[24].y,extStaTra.nStaCst.y,extStaTra.offCst[1].y,extStaTra.offCst[2].y,extStaTra.offCst[3].y,extStaTra.offCst[4].y,extStaTra.offCst[5].y,extStaTra.offCst[6].y,extStaTra.offCst[7].y,extStaTra.offCst[8].y,extStaTra.offCst[9].y,extStaTra.offCst[10].y,extStaTra.offCst[11].y,extStaTra.offCst[12].y,extStaTra.offCst[13].y,extStaTra.offCst[14].y,extStaTra.offCst[15].y,extStaTra.offCst[16].y,extStaTra.offCst[17].y,extStaTra.offCst[18].y,extStaTra.offCst[19].y,extStaTra.offCst[20].y,extStaTra.offCst[21].y,extStaTra.offCst[22].y,extStaTra.offCst[23].y,extStaTra.offCst[24].y,extStaTra.addInt[24].y,extStaTra.addInt[23].y,extStaTra.addInt[22].y,extStaTra.addInt[21].y,extStaTra.addInt[20].y,extStaTra.addInt[19].y,extStaTra.addInt[18].y,extStaTra.addInt[17].y,extStaTra.addInt[16].y,extStaTra.addInt[15].y,extStaTra.addInt[14].y,extStaTra.addInt[13].y,extStaTra.addInt[12].y,extStaTra.addInt[11].y,extStaTra.addInt[10].y,extStaTra.addInt[9].y,extStaTra.addInt[8].y,extStaTra.addInt[7].y,extStaTra.addInt[6].y,extStaTra.addInt[5].y,extStaTra.addInt[4].y,extStaTra.addInt[3].y,extStaTra.addInt[2].y,extStaTra.addInt[1].y,extStaTra.intScaRep.y[24],extSta.addInt[24].y,extSta.addInt[23].y,extSta.addInt[22].y,extSta.addInt[21].y,extSta.addInt[20].y,extSta.addInt[19].y,extSta.addInt[18].y,extSta.addInt[17].y,extSta.addInt[16].y,extSta.addInt[15].y,extSta.addInt[14].y,extSta.addInt[13].y,extSta.addInt[12].y,extSta.addInt[11].y,extSta.addInt[10].y,extSta.addInt[9].y,extSta.addInt[8].y,extSta.addInt[7].y,extSta.addInt[6].y,extSta.addInt[5].y,extSta.addInt[4].y,extSta.addInt[3].y,extSta.addInt[2].y,extSta.addInt[1].y,extSta.intScaRep.y[24],iHea.idx,$PRE.iHea.idx,iHea.y[1],$PRE.iHea.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2126): * Single equations (assignments): 2078 * Array equations: 0 * Algorithm blocks: 48 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007603/1.319, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002969/1.322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/1.324, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.249e-05/1.324, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 6.054e-05/1.325, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.281e-05/1.325, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02484/1.349, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.158e-05/1.35, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003008/1.353, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 5.677e-05/1.353, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007873/1.353, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.657e-05/1.353, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/1.353, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.012/1.365, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.002967/1.368, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002597/1.371, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002198/1.373, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001799/1.375, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009847/1.376, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.01125/1.387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 0.0009246/1.388, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0103/1.398, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 57 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,iHea.y[1],iHea.idx,extSta.intScaRep.y[24],extSta.addInt[1].y,extSta.addInt[2].y,extSta.addInt[3].y,extSta.addInt[4].y,extSta.addInt[5].y,extSta.addInt[6].y,extSta.addInt[7].y,extSta.addInt[8].y,extSta.addInt[9].y,extSta.addInt[10].y,extSta.addInt[11].y,extSta.addInt[12].y,extSta.addInt[13].y,extSta.addInt[14].y,extSta.addInt[15].y,extSta.addInt[16].y,extSta.addInt[17].y,extSta.addInt[18].y,extSta.addInt[19].y,extSta.addInt[20].y,extSta.addInt[21].y,extSta.addInt[22].y,extSta.addInt[23].y,extSta.addInt[24].y,extStaTra.intScaRep.y[24],extStaTra.addInt[1].y,extStaTra.addInt[2].y,extStaTra.addInt[3].y,extStaTra.addInt[4].y,extStaTra.addInt[5].y,extStaTra.addInt[6].y,extStaTra.addInt[7].y,extStaTra.addInt[8].y,extStaTra.addInt[9].y,extStaTra.addInt[10].y,extStaTra.addInt[11].y,extStaTra.addInt[12].y,extStaTra.addInt[13].y,extStaTra.addInt[14].y,extStaTra.addInt[15].y,extStaTra.addInt[16].y,extStaTra.addInt[17].y,extStaTra.addInt[18].y,extStaTra.addInt[19].y,extStaTra.addInt[20].y,extStaTra.addInt[21].y,extStaTra.addInt[22].y,extStaTra.addInt[23].y,extStaTra.addInt[24].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (633): * Single equations (assignments): 583 * Array equations: 0 * Algorithm blocks: 48 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003894/1.402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.01935/1.422, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 6.593e-06/1.422, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.006834/1.429, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008996/1.438, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04795/1.486, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006845/1.492, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.007056/1.499, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01108/1.51, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0006022/1.511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.03759/1.549, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 538] [Calling sys.exit(0), Time elapsed: 3.910911127924919]