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.001447/0.001447, allocations: 101.4 kB / 15.69 MB, free: 140 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.001872/0.001872, allocations: 196.8 kB / 16.63 MB, free: 6.621 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.668/1.668, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.782/1.782, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001319/0.001319, allocations: 74.02 kB / 0.6723 GB, free: 25.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2935, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature): time 0.005046/0.2985, allocations: 3.125 MB / 0.7872 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003091/0.3016, allocations: 1.709 MB / 0.7888 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003126/0.302, allocations: 11.94 kB / 0.7888 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009999/0.3031, allocations: 310.8 kB / 0.7891 GB, free: 7.547 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.0004945/0.3036, allocations: 189.8 kB / 0.7893 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008901/0.3045, allocations: 375.3 kB / 0.7897 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008336/0.3053, allocations: 0.8158 MB / 0.7905 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007256/0.306, allocations: 0.5287 MB / 0.791 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003907/0.3064, allocations: 294.8 kB / 0.7913 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004619/0.3069, allocations: 314.4 kB / 0.7916 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.307, allocations: 64 kB / 0.7916 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003212/0.3074, allocations: 116 kB / 0.7917 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002346/0.3076, allocations: 203.3 kB / 0.7919 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000375/0.308, allocations: 361.8 kB / 0.7923 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.3092, allocations: 0.8795 MB / 0.7931 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.3092, allocations: 0 / 0.7931 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.345e-06/0.3092, allocations: 0 / 0.7931 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.878e-05/0.3093, allocations: 0 / 0.7931 GB, free: 3.43 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.002045/0.3113, allocations: 1.102 MB / 0.7942 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.3114, allocations: 8.031 kB / 0.7942 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.3116, allocations: 95.8 kB / 0.7943 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009164/0.3125, allocations: 0.5241 MB / 0.7948 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.3126, allocations: 83.33 kB / 0.7949 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.3127, allocations: 60 kB / 0.795 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.3138, allocations: 0.6599 MB / 0.7956 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.3138, allocations: 0 / 0.7956 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.7e-05/0.3139, allocations: 24 kB / 0.7956 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.3139, allocations: 12 kB / 0.7956 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007129/0.3146, allocations: 419.5 kB / 0.796 GB, free: 296 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002926/0.3175, allocations: 2.689 MB / 0.7987 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005965/0.3182, allocations: 262.8 kB / 0.7989 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.3184, allocations: 144.8 kB / 0.7991 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.359e-05/0.3185, allocations: 7.75 kB / 0.7991 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003968/0.3189, allocations: 183.2 kB / 0.7992 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=38): time 1.733e-06/0.3189, allocations: 0 / 0.7992 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=38): time 0.0008277/0.3197, allocations: 428 kB / 0.7997 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.251e-05/0.3198, allocations: 85.11 kB / 0.7997 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007057/0.3205, allocations: 0.66 MB / 0.8004 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.121e-05/0.3206, allocations: 49.69 kB / 0.8004 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002968/0.3209, allocations: 396.1 kB / 0.8008 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.491e-05/0.321, allocations: 102.7 kB / 0.8009 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.3212, allocations: 150.2 kB / 0.801 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.3214, allocations: 382.8 kB / 0.8014 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.3217, allocations: 145.2 kB / 0.8015 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000434/0.3221, allocations: 361 kB / 0.8019 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005705/0.3227, allocations: 418.7 kB / 0.8023 GB, free: 9.516 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.585e-06/0.3227, allocations: 8 kB / 0.8023 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0008761/0.3236, allocations: 0.5436 MB / 0.8028 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.3236, allocations: 8 kB / 0.8028 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.3236, allocations: 4 kB / 0.8028 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.3237, allocations: 12 kB / 0.8029 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.3239, allocations: 71.83 kB / 0.8029 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/0.3239, allocations: 16.02 kB / 0.8029 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/0.3242, allocations: 67.36 kB / 0.803 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.44e-05/0.3243, allocations: 27.98 kB / 0.803 GB, free: 8.754 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.0003267/0.3246, allocations: 275.6 kB / 0.8033 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.801e-05/0.3247, allocations: 71.14 kB / 0.8034 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007047/0.3254, allocations: 387.7 kB / 0.8037 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/0.3254, allocations: 4 kB / 0.8037 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3254, allocations: 0 / 0.8037 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.3254, allocations: 3.938 kB / 0.8037 GB, free: 8.008 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.3268, allocations: 1.007 MB / 0.8047 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3268, allocations: 0 / 0.8047 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.327, allocations: 23.92 kB / 0.8047 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.327, allocations: 7.938 kB / 0.8048 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.327, allocations: 19.98 kB / 0.8048 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.327, allocations: 0 / 0.8048 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.327, allocations: 0 / 0.8048 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006072/0.3276, allocations: 451.8 kB / 0.8052 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.3278, allocations: 148.1 kB / 0.8053 GB, free: 6.266 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.375e-05/0.3278, allocations: 12 kB / 0.8054 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.328, allocations: 11.98 kB / 0.8054 GB, free: 6.242 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.3281, allocations: 51.88 kB / 0.8054 GB, free: 6.191 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.273e-05/0.3282, allocations: 16 kB / 0.8054 GB, free: 6.176 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004652/0.3287, allocations: 431 kB / 0.8058 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3287, allocations: 0 / 0.8058 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005138/0.3292, allocations: 135.6 kB / 0.806 GB, free: 5.629 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.001095/0.3303, allocations: 456 kB / 0.8064 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007106/0.331, allocations: 397.1 kB / 0.8068 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.331, allocations: 0 / 0.8068 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002624/0.3313, allocations: 155.8 kB / 0.8069 GB, free: 4.805 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000546/0.3318, allocations: 98.86 kB / 0.807 GB, free: 4.707 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.3336, allocations: 1.134 MB / 0.8081 GB, free: 3.539 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005745/0.3342, allocations: 0.9571 MB / 0.8091 GB, free: 2.559 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002405/0.3344, allocations: 84.67 kB / 0.8091 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.3346, allocations: 47.42 kB / 0.8092 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of SimCode: time 2.61e-07/0.3346, allocations: 0 / 0.8092 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of Templates: time 0.01189/0.3465, allocations: 5.704 MB / 0.8148 GB, free: 12.79 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)