Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.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.WarmUpTimeDelay,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay",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.389/1.389, allocations: 249.5 MB / 257 MB, free: 6.824 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 176.6 kB / 316.3 MB, free: 3.23 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.442/1.442, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0008468/0.0008469, allocations: 95.44 kB / 0.6714 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.479e-05/2.483e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2106, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7434/0.9542, allocations: 140.8 MB / 1.023 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/0.9545, allocations: 93.06 kB / 1.023 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03514/0.9897, allocations: 14.25 MB / 1.037 GB, free: 0.7148 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9897, allocations: 0 / 1.037 GB, free: 0.7148 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.479e-05/0.9898, allocations: 23.94 kB / 1.037 GB, free: 0.6914 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.00109/0.9909, allocations: 0.8258 MB / 1.038 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.991, allocations: 8.031 kB / 1.038 GB, free: 15.85 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.9911, allocations: 90.09 kB / 1.038 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006703/0.9918, allocations: 456.4 kB / 1.038 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.111e-05/0.9919, allocations: 57.69 kB / 1.038 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.7e-05/0.9919, allocations: 32 kB / 1.038 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005234/0.9925, allocations: 319.7 kB / 1.039 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007407/0.9932, allocations: 0.5301 MB / 1.039 GB, free: 14.56 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.9933, allocations: 0 / 1.039 GB, free: 14.56 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.014e-05/0.9933, allocations: 11.98 kB / 1.039 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.9933, allocations: 12 kB / 1.039 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002298/0.9956, allocations: 2.554 MB / 1.042 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003344/0.996, allocations: 228.5 kB / 1.042 GB, free: 12.03 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.9961, allocations: 124.7 kB / 1.042 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.9962, allocations: 11.98 kB / 1.042 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002953/0.9965, allocations: 191 kB / 1.042 GB, free: 11.78 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=39): time 1.943e-06/0.9965, allocations: 0 / 1.042 GB, free: 11.78 MB / 0.6667 GB Notification: Performance of matching and sorting (n=39): time 0.0005193/0.997, allocations: 311.1 kB / 1.042 GB, free: 11.53 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.9971, allocations: 85.11 kB / 1.042 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005406/0.9976, allocations: 0.5334 MB / 1.043 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.988e-05/0.9977, allocations: 36.75 kB / 1.043 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.9979, allocations: 379.8 kB / 1.043 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.662e-05/0.998, allocations: 88.86 kB / 1.043 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.777e-05/0.998, allocations: 0 / 1.043 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.9982, allocations: 374.8 kB / 1.044 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.9984, allocations: 119.2 kB / 1.044 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.9987, allocations: 317.9 kB / 1.044 GB, free: 9.887 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.9989, allocations: 136.7 kB / 1.044 GB, free: 9.793 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.9989, allocations: 0 / 1.044 GB, free: 9.793 MB / 0.6667 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0006298/0.9995, allocations: 472 kB / 1.045 GB, free: 9.402 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.9995, allocations: 8 kB / 1.045 GB, free: 9.395 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.9996, allocations: 4 kB / 1.045 GB, free: 9.391 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.9996, allocations: 12 kB / 1.045 GB, free: 9.379 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.9999, allocations: 70.77 kB / 1.045 GB, free: 9.312 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.9999, allocations: 15.94 kB / 1.045 GB, free: 9.297 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/1, allocations: 27.73 kB / 1.045 GB, free: 9.27 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.347e-05/1, allocations: 27.81 kB / 1.045 GB, free: 9.246 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$PRE.warUpCtr.timer.yAcc,warUpCtr.timer.yAcc,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition4,$whenCondition2,$whenCondition3,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.timer.entryTime,warUpCtr.timer.entryTime,transition5.enableFire,$PRE.warUpCtr.timer.reset_internal,warUpCtr.timer.reset_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * 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.0001378/1, allocations: 152 kB / 1.045 GB, free: 9.098 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004013/1.001, allocations: 309.9 kB / 1.045 GB, free: 8.844 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.869e-05/1.001, allocations: 67.14 kB / 1.046 GB, free: 8.777 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006078/1.001, allocations: 371.1 kB / 1.046 GB, free: 8.492 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/1.001, allocations: 4 kB / 1.046 GB, free: 8.488 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.001, allocations: 4 kB / 1.046 GB, free: 8.484 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/1.001, allocations: 3.984 kB / 1.046 GB, free: 8.48 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/1.003, allocations: 0.9432 MB / 1.047 GB, free: 7.688 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.003, allocations: 3.938 kB / 1.047 GB, free: 7.684 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/1.003, allocations: 22.86 kB / 1.047 GB, free: 7.664 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/1.003, allocations: 4 kB / 1.047 GB, free: 7.66 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/1.003, allocations: 7.922 kB / 1.047 GB, free: 7.652 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/1.003, allocations: 8 kB / 1.047 GB, free: 7.645 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/1.003, allocations: 0 / 1.047 GB, free: 7.645 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005135/1.003, allocations: 441.5 kB / 1.047 GB, free: 7.262 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/1.003, allocations: 143 kB / 1.047 GB, free: 7.109 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.762e-05/1.004, allocations: 3.984 kB / 1.047 GB, free: 7.105 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/1.004, allocations: 8 kB / 1.047 GB, free: 7.098 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/1.004, allocations: 51.23 kB / 1.047 GB, free: 7.055 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/1.004, allocations: 19.55 kB / 1.047 GB, free: 7.039 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003732/1.004, allocations: 385.8 kB / 1.048 GB, free: 6.758 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.71e-07/1.004, allocations: 0 / 1.048 GB, free: 6.758 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004802/1.005, allocations: 99.23 kB / 1.048 GB, free: 6.664 MB / 0.6667 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 (nor.active,off.active,warUp.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition4,$whenCondition2,$whenCondition3,$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,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.timer.entryTime,warUpCtr.timer.yAcc) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.timer.y,runSig.combiTimeTable.nextTimeEventScaled) * 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.001681/1.006, allocations: 1.283 MB / 1.049 GB, free: 5.512 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005667/1.007, allocations: 352.3 kB / 1.05 GB, free: 5.262 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.007, allocations: 0 / 1.05 GB, free: 5.262 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001962/1.007, allocations: 154 kB / 1.05 GB, free: 5.156 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/1.008, allocations: 72.47 kB / 1.05 GB, free: 5.105 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/1.009, allocations: 0.9028 MB / 1.051 GB, free: 4.262 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005793/1.01, allocations: 0.9582 MB / 1.052 GB, free: 3.289 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002427/1.01, allocations: 72.34 kB / 1.052 GB, free: 3.219 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/1.011, allocations: 244.5 kB / 1.052 GB, free: 3.156 MB / 0.6667 GB Notification: Performance of SimCode: time 8.42e-07/1.011, allocations: 0 / 1.052 GB, free: 3.156 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03483/1.045, allocations: 11.33 MB / 1.063 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/1.046, allocations: 191.7 kB / 1.063 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.167/3.213, allocations: 4.031 kB / 1.063 GB, free: 7.652 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1)