Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.507/2.507, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00143/0.00143, allocations: 188.8 kB / 326.3 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.561/2.561, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008757/0.0008756, allocations: 90.92 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004796/0.0004799, allocations: 14.28 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.218, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.003909/0.222, allocations: 2.512 MB / 0.902 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003217/0.2253, allocations: 1.53 MB / 0.9035 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004017/0.2258, allocations: 11.94 kB / 0.9035 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.2269, allocations: 282.8 kB / 0.9037 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005562/0.2275, allocations: 151.3 kB / 0.9039 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.2286, allocations: 284.2 kB / 0.9041 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0009254/0.2295, allocations: 0.6443 MB / 0.9048 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007011/0.2302, allocations: 401.9 kB / 0.9052 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003093/0.2306, allocations: 211.1 kB / 0.9054 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003297/0.2309, allocations: 234.8 kB / 0.9056 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.837e-05/0.231, allocations: 23.94 kB / 0.9056 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002789/0.2313, allocations: 71.92 kB / 0.9057 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.2315, allocations: 159.4 kB / 0.9058 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.2317, allocations: 133.3 kB / 0.906 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007573/0.2324, allocations: 0.5381 MB / 0.9065 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.2325, allocations: 0 / 0.9065 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.335e-06/0.2325, allocations: 0 / 0.9065 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.2325, allocations: 3.938 kB / 0.9065 GB, free: 58.37 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001673/0.2342, allocations: 0.8848 MB / 0.9074 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.2343, allocations: 16.03 kB / 0.9074 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002093/0.2345, allocations: 87.89 kB / 0.9075 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009231/0.2354, allocations: 477.2 kB / 0.9079 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.2356, allocations: 75.58 kB / 0.908 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.2357, allocations: 59.94 kB / 0.908 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.2369, allocations: 0.6052 MB / 0.9086 GB, free: 56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.237, allocations: 4 kB / 0.9086 GB, free: 56 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.007e-05/0.2371, allocations: 27.98 kB / 0.9087 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.2371, allocations: 12 kB / 0.9087 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009913/0.2381, allocations: 375.6 kB / 0.909 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002996/0.2411, allocations: 2.576 MB / 0.9115 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008282/0.242, allocations: 282.8 kB / 0.9118 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003493/0.2424, allocations: 144.7 kB / 0.9119 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.197e-05/0.2424, allocations: 4 kB / 0.912 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004965/0.2429, allocations: 206.5 kB / 0.9121 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 4.138e-06/0.243, allocations: 0 / 0.9121 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.001174/0.2441, allocations: 441.9 kB / 0.9126 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.2442, allocations: 93.09 kB / 0.9127 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008809/0.2451, allocations: 0.6285 MB / 0.9133 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.867e-05/0.2452, allocations: 45.69 kB / 0.9133 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/0.2455, allocations: 372.2 kB / 0.9137 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.2456, allocations: 102.8 kB / 0.9138 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.2457, allocations: 12 kB / 0.9138 GB, free: 50.53 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2458, allocations: 374.8 kB / 0.9141 GB, free: 50.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003961/0.2462, allocations: 133.2 kB / 0.9143 GB, free: 50.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004805/0.2467, allocations: 339.8 kB / 0.9146 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/0.2471, allocations: 152.8 kB / 0.9147 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.2471, allocations: 7.938 kB / 0.9147 GB, free: 49.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001194/0.2483, allocations: 0.526 MB / 0.9153 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.2484, allocations: 4.812 kB / 0.9153 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.2484, allocations: 11.94 kB / 0.9153 GB, free: 48.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/0.2484, allocations: 15.94 kB / 0.9153 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003959/0.2488, allocations: 71.84 kB / 0.9154 GB, free: 48.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/0.2489, allocations: 15.92 kB / 0.9154 GB, free: 48.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004094/0.2493, allocations: 59.38 kB / 0.9154 GB, free: 48.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-05/0.2494, allocations: 32 kB / 0.9155 GB, free: 48.71 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$PRE.timer.yAcc,timer.yAcc,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition4,$whenCondition2,$whenCondition3,actMod,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,and1.y,$PRE.cooDow.localActive,cooDow.localActive,cooDow.inPort[2].occupied,cooDow.outPort[2].available,$PRE.cooDow.newActive,cooDow.newActive,$PRE.cooDow.oldActive,cooDow.oldActive,cooDow.active,norm.active,$PRE.norm.localActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,$PRE.norm.newActive,norm.newActive,$PRE.norm.oldActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.localCondition,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.active,$PRE.off.localActive,off.localActive,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,transition3.enableFire,$PRE.timer.entryTime,timer.entryTime,transition5.enableFire,$PRE.timer.reset_internal,timer.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004439/0.2498, allocations: 262.8 kB / 0.9157 GB, free: 48.44 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.25, allocations: 63.25 kB / 0.9158 GB, free: 48.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.251, allocations: 410.6 kB / 0.9162 GB, free: 47.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.251, allocations: 3.984 kB / 0.9162 GB, free: 47.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.251, allocations: 3.938 kB / 0.9162 GB, free: 47.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.2512, allocations: 136.3 kB / 0.9163 GB, free: 47.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.2513, allocations: 11.98 kB / 0.9163 GB, free: 47.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.2516, allocations: 12 kB / 0.9163 GB, free: 47.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.2517, allocations: 51.91 kB / 0.9164 GB, free: 47.74 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008957/0.2526, allocations: 420.2 kB / 0.9168 GB, free: 47.32 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008882/0.2535, allocations: 0.5486 MB / 0.9173 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003411/0.2539, allocations: 155.7 kB / 0.9175 GB, free: 46.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006387/0.2546, allocations: 411 kB / 0.9178 GB, free: 46.2 MB / 0.6042 GB Notification: Performance of Backend: time 9.41e-07/0.2546, allocations: 0 / 0.9178 GB, free: 46.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002351/0.257, allocations: 0.675 MB / 0.9185 GB, free: 45.69 MB / 0.6042 GB Notification: Performance of SimCode: time 0.002588/0.2596, allocations: 1.69 MB / 0.9202 GB, free: 43.95 MB / 0.6042 GB Notification: Performance of Templates: time 0.01793/0.2776, allocations: 5.058 MB / 0.9251 GB, free: 38.92 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)