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.001401/0.001401, allocations: 105.4 kB / 15.7 MB, free: 24 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.001504/0.001504, allocations: 196.5 kB / 16.64 MB, free: 6.453 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.61/1.61, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.868/1.868, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001444/0.001444, allocations: 65.27 kB / 0.6723 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2996, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay): time 0.005808/0.3054, allocations: 3.067 MB / 0.7871 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003277/0.3087, allocations: 1.678 MB / 0.7888 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003973/0.3091, allocations: 11.94 kB / 0.7888 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.3102, allocations: 310.8 kB / 0.7891 GB, free: 7.66 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.0004876/0.3107, allocations: 178.9 kB / 0.7892 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008241/0.3115, allocations: 366.4 kB / 0.7896 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008317/0.3124, allocations: 0.7689 MB / 0.7903 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006708/0.3131, allocations: 467.6 kB / 0.7908 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002951/0.3134, allocations: 267 kB / 0.791 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003218/0.3137, allocations: 282.6 kB / 0.7913 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.186e-05/0.3138, allocations: 56 kB / 0.7914 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.314, allocations: 111.9 kB / 0.7915 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002452/0.3143, allocations: 183.4 kB / 0.7916 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00028/0.3146, allocations: 326 kB / 0.792 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009893/0.3156, allocations: 0.7978 MB / 0.7927 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.41e-05/0.3156, allocations: 0 / 0.7927 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3156, allocations: 3.938 kB / 0.7927 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.3156, allocations: 0 / 0.7927 GB, free: 3.887 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001757/0.3174, allocations: 1.023 MB / 0.7937 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.3174, allocations: 8.031 kB / 0.7937 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.3176, allocations: 91.89 kB / 0.7938 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006792/0.3183, allocations: 496.6 kB / 0.7943 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.795e-05/0.3184, allocations: 79.02 kB / 0.7944 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.3185, allocations: 55.98 kB / 0.7944 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008885/0.3194, allocations: 0.6138 MB / 0.795 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.3194, allocations: 3.938 kB / 0.795 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.412e-05/0.3195, allocations: 24 kB / 0.7951 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.3195, allocations: 15.94 kB / 0.7951 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006394/0.3202, allocations: 375.6 kB / 0.7954 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003151/0.3234, allocations: 2.651 MB / 0.798 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005123/0.3239, allocations: 262.2 kB / 0.7983 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/0.3242, allocations: 145.4 kB / 0.7984 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-05/0.3243, allocations: 4.281 kB / 0.7984 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003801/0.3246, allocations: 211.2 kB / 0.7986 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=38): time 2.224e-06/0.3247, allocations: 0 / 0.7986 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of matching and sorting (n=38): time 0.0008944/0.3256, allocations: 448.2 kB / 0.799 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.3256, allocations: 85.11 kB / 0.7991 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009106/0.3266, allocations: 0.6246 MB / 0.7997 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/0.3266, allocations: 41.7 kB / 0.7998 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004416/0.3271, allocations: 372.2 kB / 0.8001 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.851e-05/0.3272, allocations: 90.83 kB / 0.8002 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002748/0.3274, allocations: 150.2 kB / 0.8004 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002142/0.3277, allocations: 378.8 kB / 0.8007 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.3279, allocations: 129.2 kB / 0.8008 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004506/0.3284, allocations: 327 kB / 0.8012 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005315/0.3289, allocations: 416.7 kB / 0.8016 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.3289, allocations: 0 / 0.8016 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007879/0.3297, allocations: 0.5104 MB / 0.8021 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.3297, allocations: 15.38 kB / 0.8021 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.3298, allocations: 8 kB / 0.8021 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.3298, allocations: 12 kB / 0.8021 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.33, allocations: 67.84 kB / 0.8022 GB, free: 9.711 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/0.3301, allocations: 19.92 kB / 0.8022 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.3303, allocations: 55.44 kB / 0.8022 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-05/0.3304, allocations: 31.98 kB / 0.8023 GB, free: 9.605 MB / 0.6231 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.0003416/0.3307, allocations: 259.5 kB / 0.8025 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.3309, allocations: 71.12 kB / 0.8026 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007485/0.3317, allocations: 403.3 kB / 0.803 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.3317, allocations: 8 kB / 0.803 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3317, allocations: 0 / 0.803 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.3317, allocations: 3.984 kB / 0.803 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.3332, allocations: 1.037 MB / 0.804 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3332, allocations: 0 / 0.804 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.702e-05/0.3334, allocations: 27.92 kB / 0.804 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3334, allocations: 4 kB / 0.804 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.3334, allocations: 8 kB / 0.804 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.3334, allocations: 4 kB / 0.804 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3334, allocations: 0 / 0.804 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006417/0.3341, allocations: 488.3 kB / 0.8045 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.3342, allocations: 128.3 kB / 0.8046 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.415e-05/0.3343, allocations: 15.94 kB / 0.8046 GB, free: 7.059 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.3344, allocations: 15.98 kB / 0.8046 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.3346, allocations: 39.95 kB / 0.8047 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.3346, allocations: 19.98 kB / 0.8047 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000644/0.3352, allocations: 403 kB / 0.8051 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3353, allocations: 0 / 0.8051 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005705/0.3358, allocations: 135.6 kB / 0.8052 GB, free: 6.465 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: 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.001094/0.3369, allocations: 454.2 kB / 0.8056 GB, free: 6.176 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006532/0.3376, allocations: 379.6 kB / 0.806 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3376, allocations: 0 / 0.806 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.3379, allocations: 171.8 kB / 0.8062 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005316/0.3384, allocations: 101.9 kB / 0.8063 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.3403, allocations: 1.087 MB / 0.8073 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007129/0.341, allocations: 0.9299 MB / 0.8082 GB, free: 3.465 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002194/0.3412, allocations: 76.33 kB / 0.8083 GB, free: 3.391 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.3414, allocations: 47.42 kB / 0.8084 GB, free: 3.344 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.3414, allocations: 0 / 0.8084 GB, free: 3.344 MB / 0.6231 GB Notification: Performance of Templates: time 0.01184/0.3532, allocations: 5.479 MB / 0.8137 GB, free: 13.91 MB / 0.6387 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)