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.001119/0.001119, allocations: 104 kB / 16.36 MB, free: 6.301 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.001107/0.001107, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.403/1.403, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.909/1.909, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001427/0.001428, allocations: 71.89 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2096, allocations: 114.5 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature): time 0.005284/0.2149, allocations: 3.124 MB / 0.7878 GB, free: 48 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3527/0.5676, allocations: 1.708 MB / 0.7895 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005748/0.5683, allocations: 13.5 kB / 0.7895 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.5696, allocations: 303 kB / 0.7898 GB, free: 46.64 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.0007588/0.5703, allocations: 194.5 kB / 0.79 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.5714, allocations: 373.8 kB / 0.7903 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001154/0.5726, allocations: 0.8163 MB / 0.7911 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009643/0.5735, allocations: 0.534 MB / 0.7917 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005278/0.5741, allocations: 289 kB / 0.7919 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005412/0.5746, allocations: 311.2 kB / 0.7922 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.5748, allocations: 64.47 kB / 0.7923 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003528/0.5752, allocations: 112.1 kB / 0.7924 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00024/0.5754, allocations: 212.4 kB / 0.7926 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003991/0.5758, allocations: 356.1 kB / 0.7929 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.577, allocations: 0.8843 MB / 0.7938 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.577, allocations: 3.875 kB / 0.7938 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.054e-06/0.577, allocations: 0 / 0.7938 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.454e-05/0.577, allocations: 0 / 0.7938 GB, free: 46.12 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.001738/0.5788, allocations: 1.102 MB / 0.7949 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.5788, allocations: 9.719 kB / 0.7949 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.579, allocations: 92.16 kB / 0.795 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006534/0.5796, allocations: 0.528 MB / 0.7955 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.226e-05/0.5797, allocations: 87.41 kB / 0.7956 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.908e-05/0.5798, allocations: 61.97 kB / 0.7956 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007986/0.5806, allocations: 0.6606 MB / 0.7963 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.5806, allocations: 2.812 kB / 0.7963 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.424e-05/0.5807, allocations: 23.53 kB / 0.7963 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.5807, allocations: 14.47 kB / 0.7963 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006094/0.5813, allocations: 412 kB / 0.7967 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002079/0.5834, allocations: 2.681 MB / 0.7993 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004896/0.5839, allocations: 262.5 kB / 0.7996 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.5841, allocations: 139.9 kB / 0.7997 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.679e-05/0.5842, allocations: 8.656 kB / 0.7997 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003132/0.5845, allocations: 193.6 kB / 0.7999 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=38): time 2.224e-06/0.5845, allocations: 0 / 0.7999 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=38): time 0.0007562/0.5853, allocations: 428 kB / 0.8003 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.5853, allocations: 82.75 kB / 0.8004 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006795/0.586, allocations: 0.6594 MB / 0.801 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.517e-05/0.5861, allocations: 47 kB / 0.8011 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/0.5863, allocations: 396.9 kB / 0.8015 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.32e-05/0.5864, allocations: 102.6 kB / 0.8016 GB, free: 41.55 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.5866, allocations: 150.2 kB / 0.8017 GB, free: 41.48 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.5867, allocations: 383.4 kB / 0.8021 GB, free: 41.13 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.587, allocations: 142.6 kB / 0.8022 GB, free: 41.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.5873, allocations: 358.9 kB / 0.8026 GB, free: 40.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004955/0.5878, allocations: 424.8 kB / 0.803 GB, free: 40.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.5878, allocations: 4.656 kB / 0.803 GB, free: 40.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0008458/0.5887, allocations: 0.5381 MB / 0.8035 GB, free: 40.25 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.5887, allocations: 11.72 kB / 0.8035 GB, free: 40.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.5887, allocations: 6.938 kB / 0.8035 GB, free: 40.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.5888, allocations: 15.47 kB / 0.8035 GB, free: 40.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.589, allocations: 75.95 kB / 0.8036 GB, free: 40.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.02e-05/0.5891, allocations: 12.8 kB / 0.8036 GB, free: 40.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/0.5893, allocations: 73.97 kB / 0.8037 GB, free: 40.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-05/0.5894, allocations: 27.73 kB / 0.8037 GB, free: 40.18 MB / 0.6544 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.0003313/0.5897, allocations: 265.7 kB / 0.804 GB, free: 40.01 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.589e-05/0.5898, allocations: 66.08 kB / 0.804 GB, free: 39.97 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007063/0.5905, allocations: 385.8 kB / 0.8044 GB, free: 39.81 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.5906, allocations: 5.984 kB / 0.8044 GB, free: 39.81 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5906, allocations: 1.062 kB / 0.8044 GB, free: 39.81 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.5906, allocations: 6.422 kB / 0.8044 GB, free: 39.8 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.5919, allocations: 0.9986 MB / 0.8054 GB, free: 39.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.5919, allocations: 0 / 0.8054 GB, free: 39.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.5921, allocations: 27.75 kB / 0.8054 GB, free: 39.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.5921, allocations: 6.281 kB / 0.8054 GB, free: 39.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.5921, allocations: 13.06 kB / 0.8054 GB, free: 39.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.5921, allocations: 3.25 kB / 0.8054 GB, free: 39.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.5921, allocations: 2.531 kB / 0.8054 GB, free: 39.22 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000639/0.5928, allocations: 454.7 kB / 0.8059 GB, free: 38.97 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.454e-05/0.5929, allocations: 139.8 kB / 0.806 GB, free: 38.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.012e-05/0.5929, allocations: 17.05 kB / 0.806 GB, free: 38.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.5931, allocations: 12.36 kB / 0.806 GB, free: 38.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.5932, allocations: 49.06 kB / 0.8061 GB, free: 38.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.305e-05/0.5933, allocations: 16.75 kB / 0.8061 GB, free: 38.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005014/0.5938, allocations: 431.9 kB / 0.8065 GB, free: 38.63 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5938, allocations: 0 / 0.8065 GB, free: 38.63 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005578/0.5944, allocations: 136.7 kB / 0.8066 GB, free: 38.59 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: 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.001035/0.5954, allocations: 453.9 kB / 0.8071 GB, free: 38.46 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007829/0.5962, allocations: 392.5 kB / 0.8074 GB, free: 38.35 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5962, allocations: 4.438 kB / 0.8074 GB, free: 38.35 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002957/0.5965, allocations: 162.9 kB / 0.8076 GB, free: 38.29 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005583/0.5971, allocations: 100.8 kB / 0.8077 GB, free: 38.25 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.599, allocations: 1.168 MB / 0.8088 GB, free: 37.62 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004816/0.5995, allocations: 0.9493 MB / 0.8098 GB, free: 36.9 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.5997, allocations: 53.91 kB / 0.8098 GB, free: 36.89 MB / 0.6544 GB Notification: Performance of SimCode: time 7.51e-07/0.5997, allocations: 3.938 kB / 0.8098 GB, free: 36.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.01697/0.6166, allocations: 8.295 MB / 0.8179 GB, free: 35.75 MB / 0.6544 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)