Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.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.WarmUpTemperature,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.469/1.469, allocations: 251.9 MB / 266.8 MB, free: 11.03 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.001341/0.001341, allocations: 170.7 kB / 326.5 MB, free: 2.266 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.692/1.692, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.000991/0.000991, allocations: 102.8 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000509/0.0005086, allocations: 13.72 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2207, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1826/0.4034, allocations: 140.8 MB / 1.038 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/0.4037, allocations: 95.94 kB / 1.038 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03968/0.4434, allocations: 15.46 MB / 1.053 GB, free: 3.137 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4435, allocations: 0 / 1.053 GB, free: 3.137 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.422e-05/0.4435, allocations: 16 kB / 1.053 GB, free: 3.121 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.001662/0.4452, allocations: 0.9983 MB / 1.054 GB, free: 2.059 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.4452, allocations: 12.03 kB / 1.054 GB, free: 2.047 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001343/0.4454, allocations: 98.5 kB / 1.054 GB, free: 1.941 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.4455, allocations: 94.88 kB / 1.054 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007823/0.4463, allocations: 464 kB / 1.054 GB, free: 1.355 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.4464, allocations: 83 kB / 1.055 GB, free: 1.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.301e-05/0.4465, allocations: 60 kB / 1.055 GB, free: 1.211 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.4477, allocations: 0.6676 MB / 1.055 GB, free: 488 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.4477, allocations: 4 kB / 1.055 GB, free: 484 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.857e-05/0.4478, allocations: 28 kB / 1.055 GB, free: 456 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.4478, allocations: 15.98 kB / 1.055 GB, free: 440 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4843/0.9321, allocations: 445.1 kB / 1.056 GB, free: 144.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005512/0.9377, allocations: 2.715 MB / 1.058 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009001/0.9387, allocations: 296.7 kB / 1.059 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.922e-05/0.9388, allocations: 3.078 kB / 1.059 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005528/0.9393, allocations: 211.3 kB / 1.059 GB, free: 142.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=38): time 6.532e-06/0.9393, allocations: 0 / 1.059 GB, free: 142.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=38): time 0.00144/0.9408, allocations: 486.2 kB / 1.059 GB, free: 142.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.9409, allocations: 85.92 kB / 1.059 GB, free: 142.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.9421, allocations: 0.599 MB / 1.06 GB, free: 142.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.782e-05/0.9422, allocations: 44.7 kB / 1.06 GB, free: 142.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004527/0.9427, allocations: 393.6 kB / 1.06 GB, free: 142 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.9429, allocations: 99.09 kB / 1.061 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.9429, allocations: 12.19 kB / 1.061 GB, free: 141.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002345/0.9432, allocations: 384.4 kB / 1.061 GB, free: 141.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004684/0.9437, allocations: 166.2 kB / 1.061 GB, free: 141.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006032/0.9443, allocations: 372.6 kB / 1.061 GB, free: 141.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004521/0.9448, allocations: 174.2 kB / 1.062 GB, free: 141.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.9448, allocations: 2.344 kB / 1.062 GB, free: 141.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001057/0.9458, allocations: 0.5809 MB / 1.062 GB, free: 141.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.9459, allocations: 9.406 kB / 1.062 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.9459, allocations: 8.969 kB / 1.062 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.045e-05/0.9459, allocations: 11.16 kB / 1.062 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003118/0.9462, allocations: 84.27 kB / 1.062 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.921e-05/0.9463, allocations: 12.42 kB / 1.062 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004611/0.9467, allocations: 75.22 kB / 1.062 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.207e-05/0.9468, allocations: 31.36 kB / 1.062 GB, free: 141.3 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.0003898/0.9472, allocations: 268.8 kB / 1.063 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.9473, allocations: 65.33 kB / 1.063 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008517/0.9482, allocations: 434.3 kB / 1.063 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.9482, allocations: 6.031 kB / 1.063 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.9482, allocations: 0.5156 kB / 1.063 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.9482, allocations: 2.203 kB / 1.063 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.95, allocations: 1.071 MB / 1.064 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.9501, allocations: 0 / 1.064 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.9502, allocations: 36 kB / 1.064 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.9502, allocations: 3.656 kB / 1.064 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/0.9503, allocations: 9.453 kB / 1.064 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.9503, allocations: 5.828 kB / 1.064 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.9503, allocations: 0 / 1.064 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007226/0.951, allocations: 0.4916 MB / 1.065 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.9512, allocations: 139.8 kB / 1.065 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.034e-05/0.9513, allocations: 11.27 kB / 1.065 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.9515, allocations: 35.12 kB / 1.065 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.9517, allocations: 54.23 kB / 1.065 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.814e-05/0.9517, allocations: 19.05 kB / 1.065 GB, free: 140.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005212/0.9522, allocations: 444.2 kB / 1.065 GB, free: 140.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.01e-07/0.9522, allocations: 0 / 1.065 GB, free: 140.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006148/0.9529, allocations: 129.8 kB / 1.065 GB, free: 140.4 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.001922/0.9548, allocations: 1.411 MB / 1.067 GB, free: 139.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009713/0.9558, allocations: 435.6 kB / 1.067 GB, free: 139.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.9558, allocations: 0.5625 kB / 1.067 GB, free: 139.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000397/0.9562, allocations: 186 kB / 1.067 GB, free: 139.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00049/0.9567, allocations: 83.81 kB / 1.068 GB, free: 139.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008241/0.9649, allocations: 7.699 MB / 1.075 GB, free: 134.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007134/0.9657, allocations: 0.9669 MB / 1.076 GB, free: 133.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004158/0.9661, allocations: 83.86 kB / 1.076 GB, free: 133.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004278/0.9666, allocations: 278.3 kB / 1.076 GB, free: 133.4 MB / 0.698 GB Notification: Performance of SimCode: time 6.232e-06/0.9666, allocations: 0.6875 kB / 1.076 GB, free: 133.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03593/1.003, allocations: 12.89 MB / 1.089 GB, free: 132.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/1.003, allocations: 236.7 kB / 1.089 GB, free: 132 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.462/3.465, allocations: 2.812 kB / 1.089 GB, free: 132 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1)