Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 105.7 kB / 16.37 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 190.5 kB / 17.31 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.1 MB / 223.2 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.752/1.752, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 71.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2452, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay): time 0.004787/0.25, allocations: 3.055 MB / 0.7878 GB, free: 92 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4851/0.7351, allocations: 1.672 MB / 0.7894 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003015/0.7354, allocations: 12.88 kB / 0.7894 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.7365, allocations: 313.8 kB / 0.7897 GB, free: 46.49 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004549/0.737, allocations: 187.6 kB / 0.7899 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008285/0.7378, allocations: 361.9 kB / 0.7903 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007141/0.7386, allocations: 0.7708 MB / 0.791 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006005/0.7392, allocations: 475.8 kB / 0.7915 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003278/0.7395, allocations: 265.1 kB / 0.7917 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.7398, allocations: 279.1 kB / 0.792 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.407e-05/0.7399, allocations: 54.47 kB / 0.792 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.7401, allocations: 104.9 kB / 0.7921 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.7403, allocations: 196 kB / 0.7923 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002576/0.7406, allocations: 323.4 kB / 0.7926 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007659/0.7413, allocations: 0.7962 MB / 0.7934 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.7414, allocations: 0 / 0.7934 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.963e-06/0.7414, allocations: 3.312 kB / 0.7934 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.324e-05/0.7414, allocations: 0.5 kB / 0.7934 GB, free: 46.03 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001304/0.7427, allocations: 1.016 MB / 0.7944 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.7427, allocations: 11.25 kB / 0.7944 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.7429, allocations: 87.56 kB / 0.7945 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005642/0.7435, allocations: 0.4892 MB / 0.795 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-05/0.7436, allocations: 80.58 kB / 0.795 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.977e-05/0.7436, allocations: 58.38 kB / 0.7951 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008004/0.7444, allocations: 0.6125 MB / 0.7957 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.7445, allocations: 0 / 0.7957 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.492e-05/0.7445, allocations: 25.31 kB / 0.7957 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.7445, allocations: 13.56 kB / 0.7957 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005597/0.7451, allocations: 384.3 kB / 0.7961 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001998/0.7471, allocations: 2.644 MB / 0.7987 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004616/0.7476, allocations: 265.9 kB / 0.7989 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.7478, allocations: 137.2 kB / 0.7991 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.7479, allocations: 6.531 kB / 0.7991 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003722/0.7482, allocations: 209.9 kB / 0.7993 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=38): time 2.044e-06/0.7483, allocations: 0 / 0.7993 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=38): time 0.0008199/0.7491, allocations: 460.4 kB / 0.7997 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.7491, allocations: 86.17 kB / 0.7998 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006334/0.7498, allocations: 0.6107 MB / 0.8004 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/0.7498, allocations: 47.84 kB / 0.8004 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002757/0.7501, allocations: 373.5 kB / 0.8008 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.089e-05/0.7502, allocations: 87.52 kB / 0.8009 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.7504, allocations: 146.6 kB / 0.801 GB, free: 41.66 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.7506, allocations: 378.8 kB / 0.8014 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.7508, allocations: 130.1 kB / 0.8015 GB, free: 41.28 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.7512, allocations: 323.4 kB / 0.8018 GB, free: 41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005753/0.7518, allocations: 418.1 kB / 0.8022 GB, free: 40.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.7518, allocations: 1.031 kB / 0.8022 GB, free: 40.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009248/0.7527, allocations: 0.5149 MB / 0.8027 GB, free: 40.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.7528, allocations: 12.56 kB / 0.8027 GB, free: 40.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.7528, allocations: 4.875 kB / 0.8027 GB, free: 40.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.527e-05/0.7528, allocations: 12.34 kB / 0.8027 GB, free: 40.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.7531, allocations: 74.89 kB / 0.8028 GB, free: 40.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.082e-05/0.7531, allocations: 16.25 kB / 0.8028 GB, free: 40.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.7534, allocations: 61.14 kB / 0.8029 GB, free: 40.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.844e-05/0.7534, allocations: 30.55 kB / 0.8029 GB, free: 40.43 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.enableFire,warUpCtr.timer.entryTime,$PRE.warUpCtr.timer.entryTime,warUpCtr.timer.passed,$PRE.warUpCtr.timer.passed,nor.oldActive,$PRE.nor.oldActive,nor.newActive,$PRE.nor.newActive,nor.localActive,$PRE.nor.localActive,nor.active,transition4.enableFire,stateGraphRoot.activeSteps,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.outPort[2].available,off.localActive,$PRE.off.localActive,off.active,warUp.active,warUp.oldActive,$PRE.warUp.oldActive,warUp.newActive,$PRE.warUp.newActive,warUp.outPort[2].available,warUp.inPort[2].occupied,warUp.localActive,$PRE.warUp.localActive,transition3.outPort.occupied,transition3.enableFire,transition2.enableFire,transition1.enableFire,transition1.localCondition,actMod,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002948/0.7537, allocations: 250.9 kB / 0.8032 GB, free: 40.26 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.536e-05/0.7538, allocations: 69.09 kB / 0.8032 GB, free: 40.22 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000746/0.7546, allocations: 407.2 kB / 0.8036 GB, free: 40.06 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.7546, allocations: 9.047 kB / 0.8036 GB, free: 40.05 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.7546, allocations: 3.938 kB / 0.8036 GB, free: 40.05 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.7546, allocations: 3.547 kB / 0.8036 GB, free: 40.05 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.7562, allocations: 1.048 MB / 0.8046 GB, free: 39.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.7562, allocations: 0 / 0.8046 GB, free: 39.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.7563, allocations: 22.39 kB / 0.8047 GB, free: 39.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.7564, allocations: 1.531 kB / 0.8047 GB, free: 39.45 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.7564, allocations: 13.75 kB / 0.8047 GB, free: 39.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.7564, allocations: 3.172 kB / 0.8047 GB, free: 39.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.7564, allocations: 4 kB / 0.8047 GB, free: 39.44 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006621/0.7571, allocations: 476.3 kB / 0.8051 GB, free: 39.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.089e-05/0.7572, allocations: 133.9 kB / 0.8053 GB, free: 39.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.051e-05/0.7573, allocations: 9.344 kB / 0.8053 GB, free: 39.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.7574, allocations: 16.36 kB / 0.8053 GB, free: 39.04 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.7576, allocations: 36.45 kB / 0.8053 GB, free: 39.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.053e-05/0.7576, allocations: 18.05 kB / 0.8054 GB, free: 39.03 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006454/0.7583, allocations: 411.2 kB / 0.8057 GB, free: 38.86 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6.01e-07/0.7583, allocations: 0.8125 kB / 0.8057 GB, free: 38.86 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006335/0.7589, allocations: 136.4 kB / 0.8059 GB, free: 38.82 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 (nor.active,off.active,warUp.localActive,warUp.active,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.localCondition,transition1.enableFire,transition2.enableFire,transition3.enableFire,transition3.outPort.occupied,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,off.localActive,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.timer.passed,warUpCtr.timer.entryTime) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,warUpCtr.timer.entryTime,off.newActive,nor.newActive,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001199/0.7601, allocations: 447.7 kB / 0.8063 GB, free: 38.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008915/0.761, allocations: 384.4 kB / 0.8067 GB, free: 38.59 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.761, allocations: 0 / 0.8067 GB, free: 38.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003447/0.7614, allocations: 168 kB / 0.8068 GB, free: 38.55 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006809/0.7621, allocations: 94.56 kB / 0.8069 GB, free: 38.52 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.7642, allocations: 1.124 MB / 0.808 GB, free: 37.91 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/0.7647, allocations: 0.9281 MB / 0.8089 GB, free: 37.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.7649, allocations: 50.09 kB / 0.809 GB, free: 37.19 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.7649, allocations: 0 / 0.809 GB, free: 37.19 MB / 0.6544 GB Notification: Performance of Templates: time 0.0172/0.7821, allocations: 7.741 MB / 0.8165 GB, free: 36.14 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1)