Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.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.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.529/1.529, allocations: 205.1 MB / 222.4 MB, free: 4.566 MB / 174.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.814/1.814, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001466/0.001467, allocations: 71.09 kB / 0.6715 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3154, allocations: 114.6 MB / 0.7834 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature): time 0.005169/0.3207, allocations: 3.122 MB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002922/0.3236, allocations: 1.709 MB / 0.7881 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003115/0.324, allocations: 11.94 kB / 0.7881 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.3251, allocations: 307.1 kB / 0.7884 GB, free: 8.258 MB / 0.6075 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.0004881/0.3256, allocations: 186.8 kB / 0.7886 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008893/0.3265, allocations: 374.7 kB / 0.7889 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008188/0.3273, allocations: 0.8119 MB / 0.7897 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006844/0.328, allocations: 0.5326 MB / 0.7902 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000308/0.3283, allocations: 294.9 kB / 0.7905 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003578/0.3287, allocations: 310.4 kB / 0.7908 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.3288, allocations: 64 kB / 0.7909 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002403/0.3291, allocations: 116 kB / 0.791 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.3293, allocations: 203.3 kB / 0.7912 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000298/0.3296, allocations: 361.8 kB / 0.7915 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008881/0.3305, allocations: 0.8448 MB / 0.7924 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3305, allocations: 0 / 0.7924 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3305, allocations: 0 / 0.7924 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.3305, allocations: 0 / 0.7924 GB, free: 4.184 MB / 0.6075 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.001768/0.3323, allocations: 1.106 MB / 0.7934 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.3324, allocations: 12.02 kB / 0.7934 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.3325, allocations: 95.81 kB / 0.7935 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007676/0.3333, allocations: 0.5125 MB / 0.794 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.914e-05/0.3334, allocations: 83.33 kB / 0.7941 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.347e-05/0.3335, allocations: 60 kB / 0.7942 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009521/0.3345, allocations: 0.6638 MB / 0.7948 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.3345, allocations: 3.938 kB / 0.7948 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.705e-05/0.3345, allocations: 20 kB / 0.7948 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.3346, allocations: 16 kB / 0.7949 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007177/0.3353, allocations: 411.6 kB / 0.7953 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002723/0.338, allocations: 2.697 MB / 0.7979 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005686/0.3386, allocations: 277.8 kB / 0.7982 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/0.3388, allocations: 136.8 kB / 0.7983 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.061e-05/0.3389, allocations: 7.75 kB / 0.7983 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003767/0.3393, allocations: 203.1 kB / 0.7985 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=38): time 1.944e-06/0.3393, allocations: 0 / 0.7985 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of matching and sorting (n=38): time 0.0008398/0.3401, allocations: 417 kB / 0.7989 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.3402, allocations: 85.09 kB / 0.799 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007374/0.341, allocations: 0.6678 MB / 0.7996 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.159e-05/0.341, allocations: 45.7 kB / 0.7997 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.3414, allocations: 400.1 kB / 0.8 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.839e-05/0.3415, allocations: 94.73 kB / 0.8001 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.3417, allocations: 154.2 kB / 0.8003 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002019/0.3419, allocations: 386.8 kB / 0.8006 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/0.3422, allocations: 137.2 kB / 0.8008 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004791/0.3427, allocations: 365 kB / 0.8011 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006483/0.3433, allocations: 418.7 kB / 0.8015 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.3434, allocations: 4 kB / 0.8015 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0008929/0.3443, allocations: 0.543 MB / 0.8021 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/0.3443, allocations: 4.938 kB / 0.8021 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.3443, allocations: 8 kB / 0.8021 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.3443, allocations: 8.75 kB / 0.8021 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.3446, allocations: 87.77 kB / 0.8022 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.3446, allocations: 12 kB / 0.8022 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/0.3449, allocations: 63.36 kB / 0.8022 GB, free: 9.516 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.955e-05/0.345, allocations: 28 kB / 0.8023 GB, free: 9.488 MB / 0.6231 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,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.enableFire,$PRE.warUpCtr.pre.u,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,transition2.localCondition,transition1.enableFire,transition1.localCondition,actMod,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,warUpCtr.pre.u,warUpCtr.hysPow.y,$PRE.warUpCtr.hysPow.y,warUpCtr.hysTem.y,$PRE.warUpCtr.hysTem.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003944/0.3454, allocations: 266.8 kB / 0.8025 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.173e-05/0.3455, allocations: 67.16 kB / 0.8026 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007988/0.3463, allocations: 387.8 kB / 0.803 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.3463, allocations: 8.047 kB / 0.803 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.3463, allocations: 3.984 kB / 0.803 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.3463, allocations: 7.922 kB / 0.803 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/0.3479, allocations: 0.9947 MB / 0.8039 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.348, allocations: 0 / 0.8039 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.3481, allocations: 31.92 kB / 0.804 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.3481, allocations: 15.86 kB / 0.804 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.3481, allocations: 4 kB / 0.804 GB, free: 7.641 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3482, allocations: 4 kB / 0.804 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3482, allocations: 0 / 0.804 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007123/0.3489, allocations: 458.4 kB / 0.8044 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.349, allocations: 144.1 kB / 0.8046 GB, free: 7.012 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.283e-05/0.3491, allocations: 15.98 kB / 0.8046 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.3493, allocations: 16 kB / 0.8046 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.3494, allocations: 43.94 kB / 0.8046 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.338e-05/0.3495, allocations: 19.98 kB / 0.8047 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005223/0.35, allocations: 427 kB / 0.8051 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.35, allocations: 0 / 0.8051 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005689/0.3506, allocations: 139.6 kB / 0.8052 GB, free: 6.371 MB / 0.6231 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.active,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.localCondition,transition1.enableFire,transition2.localCondition,transition2.enableFire,transition3.enableFire,transition3.outPort.occupied,warUp.localActive,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.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 (43): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001317/0.3519, allocations: 439.1 kB / 0.8056 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009275/0.3529, allocations: 413.2 kB / 0.806 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.3529, allocations: 0.5 kB / 0.806 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002817/0.3532, allocations: 167.8 kB / 0.8062 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005789/0.3538, allocations: 109.7 kB / 0.8063 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.3559, allocations: 1.157 MB / 0.8074 GB, free: 4.227 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006513/0.3565, allocations: 0.9532 MB / 0.8083 GB, free: 3.25 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003111/0.3569, allocations: 88.5 kB / 0.8084 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.357, allocations: 51.42 kB / 0.8085 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.357, allocations: 0 / 0.8085 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of Templates: time 0.01225/0.3693, allocations: 5.703 MB / 0.814 GB, free: 13.47 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1)