Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.418/1.418, allocations: 251.9 MB / 266.9 MB, free: 10.99 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.001092/0.001092, allocations: 177 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.937/1.937, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0009188/0.0009191, allocations: 94.34 kB / 0.6821 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003431, allocations: 13.03 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2113, allocations: 106.4 MB / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.0029/0.2143, allocations: 2.482 MB / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002037/0.2164, allocations: 1.515 MB / 0.9041 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002707/0.2167, allocations: 7.938 kB / 0.9041 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007752/0.2175, allocations: 278.9 kB / 0.9043 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003021/0.2178, allocations: 159.6 kB / 0.9045 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006356/0.2184, allocations: 277.1 kB / 0.9047 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003957/0.2188, allocations: 472.5 kB / 0.9052 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000399/0.2192, allocations: 378 kB / 0.9056 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.2194, allocations: 215.2 kB / 0.9058 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.2196, allocations: 226.9 kB / 0.906 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.247e-05/0.2197, allocations: 20 kB / 0.906 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.2198, allocations: 55.97 kB / 0.9061 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.2199, allocations: 159.4 kB / 0.9062 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.623e-05/0.22, allocations: 133.3 kB / 0.9063 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003999/0.2204, allocations: 0.5381 MB / 0.9069 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2205, allocations: 0 / 0.9069 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2205, allocations: 0 / 0.9069 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.2205, allocations: 4 kB / 0.9069 GB, free: 56.88 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.001237/0.2217, allocations: 0.8886 MB / 0.9077 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.228e-05/0.2218, allocations: 12.03 kB / 0.9077 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/0.2219, allocations: 98.52 kB / 0.9078 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.2221, allocations: 90.92 kB / 0.9079 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006342/0.2227, allocations: 456 kB / 0.9084 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.194e-05/0.2228, allocations: 79 kB / 0.9084 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-05/0.2229, allocations: 56 kB / 0.9085 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008473/0.2237, allocations: 0.6051 MB / 0.9091 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.2237, allocations: 4 kB / 0.9091 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.633e-05/0.2238, allocations: 24 kB / 0.9091 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.2238, allocations: 19.89 kB / 0.9091 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000551/0.2244, allocations: 379.5 kB / 0.9095 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002063/0.2265, allocations: 2.576 MB / 0.912 GB, free: 51.33 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000547/0.227, allocations: 278 kB / 0.9123 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.079e-05/0.2271, allocations: 4 kB / 0.9123 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003664/0.2274, allocations: 215 kB / 0.9125 GB, free: 50.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 2.595e-06/0.2275, allocations: 0 / 0.9125 GB, free: 50.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.000676/0.2281, allocations: 441.8 kB / 0.9129 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.2282, allocations: 89.09 kB / 0.913 GB, free: 50.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000495/0.2287, allocations: 0.6209 MB / 0.9136 GB, free: 49.65 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.2288, allocations: 49.69 kB / 0.9136 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.2289, allocations: 368.2 kB / 0.914 GB, free: 49.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.974e-05/0.229, allocations: 94.8 kB / 0.9141 GB, free: 49.13 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/0.229, allocations: 16 kB / 0.9141 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.583e-05/0.2291, allocations: 378.8 kB / 0.9145 GB, free: 48.74 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.2294, allocations: 129.2 kB / 0.9146 GB, free: 48.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/0.2297, allocations: 343.8 kB / 0.9149 GB, free: 48.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.2299, allocations: 148.7 kB / 0.915 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.2299, allocations: 4 kB / 0.915 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0006668/0.2306, allocations: 0.53 MB / 0.9156 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.2306, allocations: 11.95 kB / 0.9156 GB, free: 47.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.2306, allocations: 4 kB / 0.9156 GB, free: 47.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.2306, allocations: 12.75 kB / 0.9156 GB, free: 47.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.2309, allocations: 67.84 kB / 0.9157 GB, free: 47.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.2309, allocations: 23.92 kB / 0.9157 GB, free: 47.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.2311, allocations: 63.38 kB / 0.9157 GB, free: 47.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-05/0.2311, allocations: 28 kB / 0.9158 GB, free: 47.3 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.0002712/0.2314, allocations: 274.8 kB / 0.916 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/0.2315, allocations: 59.25 kB / 0.9161 GB, free: 46.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005501/0.232, allocations: 402.7 kB / 0.9165 GB, free: 46.56 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.2321, allocations: 4 kB / 0.9165 GB, free: 46.56 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2321, allocations: 7.938 kB / 0.9165 GB, free: 46.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.2321, allocations: 3.984 kB / 0.9165 GB, free: 46.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.2332, allocations: 1.027 MB / 0.9175 GB, free: 45.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.2332, allocations: 4 kB / 0.9175 GB, free: 45.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.529e-05/0.2333, allocations: 27.92 kB / 0.9175 GB, free: 45.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.2333, allocations: 4 kB / 0.9175 GB, free: 45.42 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.2334, allocations: 11.98 kB / 0.9175 GB, free: 45.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.2334, allocations: 0 / 0.9175 GB, free: 45.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2334, allocations: 0 / 0.9175 GB, free: 45.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004855/0.2339, allocations: 474.5 kB / 0.918 GB, free: 44.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.705e-05/0.234, allocations: 144.2 kB / 0.9181 GB, free: 44.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.543e-05/0.2341, allocations: 12 kB / 0.9181 GB, free: 44.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.2342, allocations: 23.98 kB / 0.9182 GB, free: 44.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.2343, allocations: 47.69 kB / 0.9182 GB, free: 44.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.2343, allocations: 15.98 kB / 0.9182 GB, free: 44.67 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003501/0.2347, allocations: 415 kB / 0.9186 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2347, allocations: 3.938 kB / 0.9186 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005218/0.2352, allocations: 131.6 kB / 0.9187 GB, free: 44.14 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 38 (off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition4,$whenCondition2,$whenCondition3,$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.localCondition,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.entryTime,timer.yAcc) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,norm.newActive,off.newActive,timer.y,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001525/0.2368, allocations: 1.354 MB / 0.9201 GB, free: 42.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006035/0.2374, allocations: 383 kB / 0.9204 GB, free: 42.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2374, allocations: 4 kB / 0.9204 GB, free: 42.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.2376, allocations: 163.8 kB / 0.9206 GB, free: 42.38 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.2381, allocations: 82.83 kB / 0.9207 GB, free: 42.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00442/0.2425, allocations: 7.394 MB / 0.9279 GB, free: 34.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.2429, allocations: 0.9536 MB / 0.9288 GB, free: 33.75 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002633/0.2432, allocations: 76.36 kB / 0.9289 GB, free: 33.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/0.2435, allocations: 259.3 kB / 0.9291 GB, free: 33.42 MB / 0.6042 GB Notification: Performance of SimCode: time 1.924e-06/0.2435, allocations: 4 kB / 0.9291 GB, free: 33.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/0.2653, allocations: 11.42 MB / 0.9403 GB, free: 22.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001387/0.2655, allocations: 240.2 kB / 0.9405 GB, free: 21.87 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.211/2.477, allocations: 0 / 0.9405 GB, free: 21.87 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)