Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.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.0003008/0.0003008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0004401/0.0007408, 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.0005253/0.0005253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0004219/0.0009472, 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.1568/0.1568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.04986/0.2066, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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 0.2782/0.2782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.1626/0.4408, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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: simulate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,startTime=0,stopTime=900,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,startTime=0,stopTime=900,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.416e-05/3.532e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.004331/0.004366, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.003555/0.007921, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0001914/0.008113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0009676/0.00908, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0005496/0.00963, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.000736/0.01037, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0006727/0.01104, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0004641/0.0115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0005948/0.0121, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.01236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 7.17e-05/0.01244, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.01263, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.0128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.01297, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0007603/0.01373, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 8.896e-05/0.01381, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 7.474e-06/0.01382, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.929e-05/0.01385, 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001683/0.01553, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 9.381e-05/0.01563, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000422/0.01605, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006567/0.01671, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.01682, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 8.921e-05/0.01691, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.000702/0.01761, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.01763, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.168e-05/0.01769, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.01771, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002693/0.01798, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002368/0.02035, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.02069, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.0208, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.02083, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003434/0.02117, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=44): time 6.713e-06/0.02118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=44): time 0.0004577/0.02163, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.02169, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003518/0.02204, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 9.517e-05/0.02214, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.02229, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 8.406e-05/0.02238, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.02254, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 4.379e-05/0.02258, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 8.855e-05/0.02267, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.02283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.0231, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.02311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=82) (initialization): time 0.0004488/0.02356, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.02359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.0236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.758e-05/0.02363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.0239, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.382e-05/0.02392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.02413, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.551e-05/0.02418, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition2.t_start,$PRE.transition2.t_start,transition1.t_start,$PRE.transition1.t_start,transition4.t_start,$PRE.transition4.t_start,transition3.t_start,$PRE.transition3.t_start,transition5.t_start,$PRE.transition5.t_start,transition5.enableFire,timer.entryTime,$PRE.timer.entryTime,timer.passed,$PRE.timer.passed,transition3.enableFire,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.localActive,$PRE.off.localActive,off.active,transition4.enableFire,transition1.enableFire,transition2.enableFire,stateGraphRoot.activeSteps,norm.oldActive,$PRE.norm.oldActive,norm.newActive,$PRE.norm.newActive,norm.outPort[2].available,norm.inPort[2].occupied,norm.localActive,$PRE.norm.localActive,norm.active,cooDow.active,cooDow.oldActive,$PRE.cooDow.oldActive,cooDow.newActive,$PRE.cooDow.newActive,cooDow.outPort[2].available,cooDow.inPort[2].occupied,cooDow.localActive,$PRE.cooDow.localActive,and1.y,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,actMod,$whenCondition4,$whenCondition3,$whenCondition2,stateGraphRoot.suspend,stateGraphRoot.resume,transition5.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * 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.0002268/0.02441, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 6.995e-05/0.02448, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003999/0.02488, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.02488, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.02489, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.0249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008668/0.02576, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.02577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.0259, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 8.065e-05/0.02598, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.02598, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.472e-05/0.02603, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.017e-05/0.02604, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.8e-06/0.02605, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.02638, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/0.02657, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.02673, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.02688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.076e-05/0.02693, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001919/0.02712, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.536e-05/0.02713, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0006775/0.02781, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 37 (transition5.t_start,transition3.t_start,transition4.t_start,transition1.t_start,transition2.t_start,off.active,norm.active,cooDow.localActive,cooDow.active,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,actMod,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,and1.y,cooDow.inPort[2].occupied,cooDow.outPort[2].available,cooDow.newActive,cooDow.oldActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,norm.newActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.passed,timer.entryTime) * Number of discrete states: 11 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,timer.entryTime,norm.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,transition2.t_start,transition1.t_start,transition4.t_start,transition3.t_start,transition5.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0008157/0.02863, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0004424/0.02907, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.783e-05/0.0291, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.02924, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006132/0.02985, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.03158, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/0.03175, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.000154/0.0319, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002715/0.03217, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 6.027e-05/0.03223, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.005539/0.03777, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] [Calling sys.exit(0), Time elapsed: 1.1086365524679422]