Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.799/1.799, allocations: 288.2 MB / 303.2 MB, free: 8.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001324/0.001324, allocations: 187.6 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009406/0.0009406, allocations: 86.81 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004484/0.0004485, allocations: 12.78 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2347, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.002846/0.2376, allocations: 2.383 MB / 0.9818 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002084/0.2397, allocations: 1.503 MB / 0.9833 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000371/0.2402, allocations: 11.94 kB / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000866/0.241, allocations: 270.9 kB / 0.9835 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000425/0.2415, allocations: 155.6 kB / 0.9837 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007693/0.2423, allocations: 278.8 kB / 0.984 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005201/0.2428, allocations: 460.4 kB / 0.9844 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004585/0.2433, allocations: 378.4 kB / 0.9848 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002482/0.2435, allocations: 211.2 kB / 0.985 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.2438, allocations: 222.9 kB / 0.9852 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.689e-05/0.2438, allocations: 24 kB / 0.9852 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.244, allocations: 55.92 kB / 0.9852 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.2441, allocations: 151.5 kB / 0.9854 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.2443, allocations: 137.3 kB / 0.9855 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004234/0.2447, allocations: 0.5455 MB / 0.9861 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.2447, allocations: 0 / 0.9861 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.354e-06/0.2447, allocations: 0 / 0.9861 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.95e-05/0.2447, allocations: 0 / 0.9861 GB, free: 20.83 MB / 0.6198 GB 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.00122/0.246, allocations: 0.8808 MB / 0.9869 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.246, allocations: 12.02 kB / 0.9869 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001113/0.2461, allocations: 90.52 kB / 0.987 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.2463, allocations: 90.92 kB / 0.9871 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006194/0.2469, allocations: 464 kB / 0.9875 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.17e-05/0.247, allocations: 49.3 kB / 0.9876 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.919e-05/0.247, allocations: 52 kB / 0.9876 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007849/0.2478, allocations: 0.609 MB / 0.9882 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.2479, allocations: 3.938 kB / 0.9882 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.2479, allocations: 27.94 kB / 0.9883 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.2479, allocations: 16 kB / 0.9883 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005676/0.2485, allocations: 375.5 kB / 0.9886 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002075/0.2506, allocations: 2.569 MB / 0.9911 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005587/0.2512, allocations: 286.9 kB / 0.9914 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.797e-05/0.2512, allocations: 4.594 kB / 0.9914 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003555/0.2516, allocations: 201.8 kB / 0.9916 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=39): time 2.164e-06/0.2516, allocations: 0 / 0.9916 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39): time 0.0007827/0.2524, allocations: 462.5 kB / 0.9921 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.2524, allocations: 85.11 kB / 0.9921 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005484/0.253, allocations: 0.6324 MB / 0.9928 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.65e-05/0.2531, allocations: 45.7 kB / 0.9928 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/0.2533, allocations: 364.4 kB / 0.9931 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.429e-05/0.2534, allocations: 98.73 kB / 0.9932 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.129e-05/0.2534, allocations: 8 kB / 0.9932 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.2535, allocations: 382.7 kB / 0.9936 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.2537, allocations: 129.2 kB / 0.9937 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000301/0.254, allocations: 329.5 kB / 0.994 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/0.2543, allocations: 148.7 kB / 0.9942 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.2543, allocations: 4 kB / 0.9942 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0006699/0.255, allocations: 0.5108 MB / 0.9947 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.255, allocations: 8 kB / 0.9947 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.255, allocations: 4 kB / 0.9947 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.255, allocations: 12 kB / 0.9947 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.2553, allocations: 79.72 kB / 0.9948 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.2553, allocations: 11.94 kB / 0.9948 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.2555, allocations: 63.83 kB / 0.9949 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-05/0.2556, allocations: 32 kB / 0.9949 GB, free: 11.32 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition2,$whenCondition3,$whenCondition4,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.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.passed,timer.passed,$PRE.timer.entryTime,timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0003278/0.2559, allocations: 262.8 kB / 0.9951 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.399e-05/0.256, allocations: 63.25 kB / 0.9952 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006053/0.2566, allocations: 399.3 kB / 0.9956 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2566, allocations: 7.938 kB / 0.9956 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.2566, allocations: 11.95 kB / 0.9956 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.2566, allocations: 3.984 kB / 0.9956 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.2578, allocations: 1.036 MB / 0.9966 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2578, allocations: 0 / 0.9966 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.391e-05/0.2579, allocations: 27.92 kB / 0.9966 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.2579, allocations: 7.953 kB / 0.9967 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.258, allocations: 11.98 kB / 0.9967 GB, free: 9.426 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.258, allocations: 4 kB / 0.9967 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.258, allocations: 0 / 0.9967 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004924/0.2585, allocations: 471.3 kB / 0.9971 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.2586, allocations: 144.2 kB / 0.9973 GB, free: 8.785 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.549e-05/0.2587, allocations: 15.94 kB / 0.9973 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.2588, allocations: 19.98 kB / 0.9973 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.99e-05/0.2589, allocations: 43.92 kB / 0.9973 GB, free: 8.707 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.259, allocations: 16 kB / 0.9973 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003329/0.2593, allocations: 415 kB / 0.9977 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2593, allocations: 0 / 0.9977 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005088/0.2598, allocations: 127.7 kB / 0.9979 GB, free: 8.168 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 37 (off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$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: 6 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,timer.entryTime,norm.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 37 * 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.001499/0.2613, allocations: 1.356 MB / 0.9992 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005587/0.2619, allocations: 376.3 kB / 0.9995 GB, free: 6.578 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2619, allocations: 4.062 kB / 0.9996 GB, free: 6.574 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.2621, allocations: 179.7 kB / 0.9997 GB, free: 6.398 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.2626, allocations: 83.69 kB / 0.9998 GB, free: 6.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004949/0.2675, allocations: 7.204 MB / 1.007 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005643/0.2682, allocations: 0.9418 MB / 1.008 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003048/0.2685, allocations: 84.33 kB / 1.008 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/0.2688, allocations: 247.3 kB / 1.008 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of SimCode: time 7.81e-07/0.2688, allocations: 0 / 1.008 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02727/0.2961, allocations: 11.35 MB / 1.019 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/0.2963, allocations: 233.4 kB / 1.019 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.267/2.563, allocations: 0 / 1.019 GB, free: 2.18 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)