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 Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003924/0.0003924, 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.0003457/0.0003457, 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.1501/0.1501, 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.2714/0.2714, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Buildings with version 15.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 6.81e-07/6.81e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.476e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.PolyvalentHeatPumps.Validation.ExtractStagingMatrix): time 0.001558/0.001573, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.004211/0.005784, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.005902, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0004127/0.006315, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0005798/0.006895, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.000381/0.007276, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.02069/0.02797, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.007128/0.0351, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.02602/0.06111, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.01342/0.07453, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.003524/0.07806, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.001979/0.08004, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.009532/0.08957, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.009817/0.09939, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.02164/0.121, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.004911/0.1259, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.276e-06/0.1259, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 0.0003139/0.1262, 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.5444/0.6706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.002468/0.6731, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007588/0.6807, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.02129/0.702, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001295/0.7032, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.003039/0.7063, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.02677/0.7331, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 0.0002386/0.7333, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002621/0.7359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005195/0.7364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01263/0.7491, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04616/0.7952, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.00319/0.7984, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.003386/0.8018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.8019, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003806/0.8057, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=633): time 4.064e-05/0.8057, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=633): time 0.008826/0.8146, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002294/0.8148, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02041/0.8352, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.001376/0.8366, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.007295/0.8439, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.002977/0.8469, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0109/0.8578, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0003436/0.8581, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.006754/0.8649, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.007923/0.8728, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.01312/0.8859, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000361/0.8863, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=2126) (initialization): time 0.02682/0.9131, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.000404/0.9135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002536/0.9137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0003154/0.9141, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0118/0.9259, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000651/0.9265, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009225/0.9357, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005028/0.9408, 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.01081/0.9516, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001784/0.9533, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002729/0.9561, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-05/0.9561, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-05/0.9562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.657e-05/0.9563, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02395/0.9802, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.843e-05/0.9802, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002498/0.9827, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 4.502e-05/0.9828, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004844/0.9833, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.708e-05/0.9833, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.9833, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007497/0.9908, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.002377/0.9932, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002555/0.9958, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001611/0.9974, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001059/0.9984, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007082/0.9991, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.008484/1.008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 0.0004291/1.008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.01132/1.019, 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.004769/1.024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0173/1.041, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 0.000734/1.042, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.004886/1.047, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005695/1.053, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03709/1.09, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00647/1.096, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.006736/1.103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004951/1.108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.000478/1.108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.03113/1.14, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 539] [Calling sys.exit(0), Time elapsed: 2.336455629207194]