Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.conf.json 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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.116/2.116, allocations: 251 MB / 265.9 MB, free: 11.69 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.001559/0.001559, allocations: 175 kB / 325.5 MB, free: 2.891 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.55/2.55, allocations: 205.4 MB / 0.5764 GB, free: 20.8 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.001249/0.001249, allocations: 95.52 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004661/0.0004661, allocations: 16.12 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1979, allocations: 106.3 MB / 0.8988 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2581/0.4561, allocations: 140.6 MB / 1.036 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003608/0.4566, allocations: 95.92 kB / 1.036 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06557/0.5221, allocations: 15.46 MB / 1.051 GB, free: 4.906 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.256e-06/0.5222, allocations: 0 / 1.051 GB, free: 4.906 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.13e-05/0.5223, allocations: 16 kB / 1.051 GB, free: 4.891 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.002302/0.5246, allocations: 0.9931 MB / 1.052 GB, free: 3.832 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.5247, allocations: 12.03 kB / 1.052 GB, free: 3.82 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001923/0.5249, allocations: 106.4 kB / 1.052 GB, free: 3.707 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002152/0.5251, allocations: 90.88 kB / 1.053 GB, free: 3.617 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.5262, allocations: 460 kB / 1.053 GB, free: 3.129 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.5263, allocations: 79 kB / 1.053 GB, free: 3.047 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.5265, allocations: 71.89 kB / 1.053 GB, free: 2.977 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.5282, allocations: 0.6638 MB / 1.054 GB, free: 2.246 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/0.5283, allocations: 7.875 kB / 1.054 GB, free: 2.238 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.948e-05/0.5284, allocations: 24 kB / 1.054 GB, free: 2.215 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/0.5284, allocations: 16 kB / 1.054 GB, free: 2.199 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/0.5299, allocations: 451.5 kB / 1.054 GB, free: 1.758 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5975/1.127, allocations: 2.709 MB / 1.057 GB, free: 143.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/1.129, allocations: 292.1 kB / 1.057 GB, free: 143.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.808e-05/1.129, allocations: 3.875 kB / 1.057 GB, free: 143.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006859/1.129, allocations: 221.1 kB / 1.057 GB, free: 143.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=38): time 3.928e-06/1.129, allocations: 0 / 1.057 GB, free: 143.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=38): time 0.001631/1.131, allocations: 482.2 kB / 1.058 GB, free: 143.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/1.131, allocations: 86.23 kB / 1.058 GB, free: 143.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/1.132, allocations: 0.6024 MB / 1.059 GB, free: 143.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001133/1.132, allocations: 45.64 kB / 1.059 GB, free: 143.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003491/1.133, allocations: 398 kB / 1.059 GB, free: 143.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/1.133, allocations: 93.88 kB / 1.059 GB, free: 143.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/1.133, allocations: 12.97 kB / 1.059 GB, free: 143.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001291/1.133, allocations: 383.1 kB / 1.059 GB, free: 142.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005714/1.134, allocations: 166.1 kB / 1.06 GB, free: 142.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006759/1.134, allocations: 376 kB / 1.06 GB, free: 142.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005512/1.135, allocations: 164 kB / 1.06 GB, free: 142.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/1.135, allocations: 2.938 kB / 1.06 GB, free: 142.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001568/1.137, allocations: 0.5803 MB / 1.061 GB, free: 142.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/1.137, allocations: 8.906 kB / 1.061 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/1.137, allocations: 5.781 kB / 1.061 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.098e-05/1.137, allocations: 13.91 kB / 1.061 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000509/1.137, allocations: 86.52 kB / 1.061 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.121e-05/1.137, allocations: 15.02 kB / 1.061 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000647/1.138, allocations: 74.03 kB / 1.061 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.831e-05/1.138, allocations: 29.34 kB / 1.061 GB, free: 142.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,$PRE.warUp.localActive,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,$PRE.warUp.newActive,warUp.newActive,$PRE.warUp.oldActive,warUp.oldActive,warUp.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition4.enableFire,$PRE.nor.localActive,nor.localActive,$PRE.nor.newActive,nor.newActive,$PRE.nor.oldActive,nor.oldActive,nor.active,$PRE.warUpCtr.pre.u,transition5.enableFire,$PRE.warUpCtr.hysTem.y,warUpCtr.hysTem.y,$PRE.warUpCtr.hysPow.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * 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.0005522/1.138, allocations: 271 kB / 1.061 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/1.139, allocations: 63.47 kB / 1.061 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/1.14, allocations: 433.4 kB / 1.062 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.537e-06/1.14, allocations: 5.844 kB / 1.062 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/1.14, allocations: 0.5625 kB / 1.062 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/1.14, allocations: 2.109 kB / 1.062 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002538/1.143, allocations: 1.063 MB / 1.063 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/1.143, allocations: 2.312 kB / 1.063 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002796/1.143, allocations: 34.64 kB / 1.063 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/1.143, allocations: 0 / 1.063 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.983e-05/1.143, allocations: 11.64 kB / 1.063 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/1.143, allocations: 3.438 kB / 1.063 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.143, allocations: 4.031 kB / 1.063 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/1.144, allocations: 0.4921 MB / 1.063 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/1.144, allocations: 146.7 kB / 1.063 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/1.144, allocations: 13.84 kB / 1.063 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003981/1.145, allocations: 29.56 kB / 1.063 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000218/1.145, allocations: 56.95 kB / 1.063 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.874e-05/1.145, allocations: 21.52 kB / 1.063 GB, free: 141.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008481/1.146, allocations: 441.6 kB / 1.064 GB, free: 141.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.146, allocations: 0 / 1.064 GB, free: 141.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008953/1.147, allocations: 127.8 kB / 1.064 GB, free: 141.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 35 (nor.active,off.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,warUp.active,off.localActive,off.inPort[2].occupied,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 8 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002719/1.15, allocations: 1.417 MB / 1.065 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001509/1.151, allocations: 432.4 kB / 1.066 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.151, allocations: 0.75 kB / 1.066 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006385/1.152, allocations: 184.9 kB / 1.066 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007843/1.153, allocations: 85.75 kB / 1.066 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/1.164, allocations: 7.695 MB / 1.074 GB, free: 135.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006958/1.165, allocations: 0.9673 MB / 1.074 GB, free: 134.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005921/1.165, allocations: 84.7 kB / 1.075 GB, free: 134.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006248/1.166, allocations: 276.1 kB / 1.075 GB, free: 134.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/1.166, allocations: 0 / 1.075 GB, free: 134.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05237/1.218, allocations: 12.89 MB / 1.087 GB, free: 133.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002658/1.219, allocations: 237.6 kB / 1.088 GB, free: 133.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.981/4.199, allocations: 0 / 1.088 GB, free: 133.4 MB / 0.698 GB