Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001325/0.001325, allocations: 193.9 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.921/2.921, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 65.77 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3685, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.005419/0.374, allocations: 3.115 MB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003226/0.3773, allocations: 1.794 MB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004114/0.3777, allocations: 15.88 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.379, allocations: 407.1 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006188/0.3797, allocations: 234.5 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.381, allocations: 427 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001185/0.3821, allocations: 0.7872 MB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000945/0.3831, allocations: 465.7 kB / 1.075 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003805/0.3835, allocations: 282.8 kB / 1.075 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003509/0.3839, allocations: 306.5 kB / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.65e-05/0.384, allocations: 39.94 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002565/0.3842, allocations: 99.89 kB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002144/0.3844, allocations: 203.2 kB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003006/0.3848, allocations: 329.8 kB / 1.076 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007581/0.3855, allocations: 0.7785 MB / 1.077 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3855, allocations: 0 / 1.077 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.866e-06/0.3855, allocations: 0 / 1.077 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.3856, allocations: 3.938 kB / 1.077 GB, free: 1.648 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0017/0.3873, allocations: 1.14 MB / 1.078 GB, free: 448 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.3873, allocations: 8.031 kB / 1.078 GB, free: 440 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.3875, allocations: 95.81 kB / 1.078 GB, free: 344 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007512/0.3882, allocations: 0.5166 MB / 1.078 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.914e-05/0.3883, allocations: 67.27 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.032e-05/0.3884, allocations: 59.92 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008948/0.3893, allocations: 0.5463 MB / 1.079 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.3893, allocations: 7.938 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.731e-05/0.3894, allocations: 20 kB / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.3894, allocations: 16 kB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006029/0.39, allocations: 343.7 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002295/0.3923, allocations: 1.924 MB / 1.081 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006229/0.393, allocations: 349.2 kB / 1.081 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002632/0.3932, allocations: 173.3 kB / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.3933, allocations: 7.75 kB / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004346/0.3937, allocations: 270.4 kB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=44): time 1.954e-06/0.3937, allocations: 0 / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44): time 0.0009819/0.3947, allocations: 497.1 kB / 1.082 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.3948, allocations: 192.3 kB / 1.083 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007852/0.3956, allocations: 0.7462 MB / 1.083 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.864e-05/0.3957, allocations: 45.7 kB / 1.083 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/0.396, allocations: 376.7 kB / 1.084 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.065e-05/0.3961, allocations: 110.5 kB / 1.084 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.3963, allocations: 138.3 kB / 1.084 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3964, allocations: 333.9 kB / 1.084 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/0.3966, allocations: 137.2 kB / 1.084 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.397, allocations: 322.4 kB / 1.085 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005288/0.3976, allocations: 389.1 kB / 1.085 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.3976, allocations: 3.938 kB / 1.085 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.000781/0.3984, allocations: 0.5144 MB / 1.086 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.3984, allocations: 8.594 kB / 1.086 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.3984, allocations: 8 kB / 1.086 GB, free: 7.836 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.3984, allocations: 8 kB / 1.086 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.3987, allocations: 75.78 kB / 1.086 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/0.3987, allocations: 15.92 kB / 1.086 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.399, allocations: 63.42 kB / 1.086 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.282e-05/0.3991, allocations: 24 kB / 1.086 GB, free: 7.652 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 58 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,transition1.t_start,$PRE.transition1.t_start,transition2.t_start,$PRE.transition2.t_start,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition4.t_start,$PRE.transition4.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,transition3.localCondition,transition4.enableFire,transition3.t_start,$PRE.transition3.t_start,transition3.fire,transition3.enableFire,stateGraphRoot.activeSteps,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.inPort[2].occupied,off.localActive,$PRE.off.localActive,off.active,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEvent,pumOn.oldActive,$PRE.pumOn.oldActive,pumOn.newActive,$PRE.pumOn.newActive,pumOn.localActive,$PRE.pumOn.localActive,pumOn.active,staBy.oldActive,$PRE.staBy.oldActive,staBy.newActive,$PRE.staBy.newActive,staBy.outPort[2].available,staBy.localActive,$PRE.staBy.localActive,staBy.active,transition2.enableFire,transition2.condition,transition1.enableFire,transition1.condition,actMod,$whenCondition3) * 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.0003161/0.3994, allocations: 289.5 kB / 1.086 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.709e-05/0.3995, allocations: 79.05 kB / 1.086 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007392/0.4002, allocations: 412.2 kB / 1.087 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.4002, allocations: 4 kB / 1.087 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.4003, allocations: 7.984 kB / 1.087 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.4003, allocations: 0 / 1.087 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.4017, allocations: 1.071 MB / 1.088 GB, free: 5.727 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.4017, allocations: 7.938 kB / 1.088 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.4019, allocations: 35.91 kB / 1.088 GB, free: 5.684 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.4019, allocations: 4 kB / 1.088 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.4019, allocations: 8 kB / 1.088 GB, free: 5.672 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.4019, allocations: 0 / 1.088 GB, free: 5.672 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.4019, allocations: 7.938 kB / 1.088 GB, free: 5.664 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006978/0.4026, allocations: 0.5241 MB / 1.088 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.4027, allocations: 140.1 kB / 1.088 GB, free: 4.953 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.675e-05/0.4028, allocations: 15.98 kB / 1.088 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.403, allocations: 15.98 kB / 1.088 GB, free: 4.922 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.4031, allocations: 51.89 kB / 1.088 GB, free: 4.871 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.4032, allocations: 19.98 kB / 1.088 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005345/0.4037, allocations: 0.499 MB / 1.089 GB, free: 4.355 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4037, allocations: 0 / 1.089 GB, free: 4.355 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005159/0.4043, allocations: 139.6 kB / 1.089 GB, free: 4.219 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 39 (transition4.t_start,transition3.enableFire,off.active,pumOn.localActive,staBy.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.condition,transition1.enableFire,transition2.condition,transition2.enableFire,staBy.active,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,pumOn.active,pumOn.newActive,pumOn.oldActive,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,off.localActive,off.inPort[2].occupied,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition3.fire,transition3.t_start,transition4.enableFire,transition2.t_start,transition1.t_start) * Number of discrete states: 10 (transition1.t_start,transition2.t_start,runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,staBy.newActive,pumOn.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,transition4.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.001073/0.4053, allocations: 459.8 kB / 1.089 GB, free: 3.922 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006737/0.406, allocations: 389.3 kB / 1.09 GB, free: 3.543 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.406, allocations: 0 / 1.09 GB, free: 3.543 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.4064, allocations: 200.7 kB / 1.09 GB, free: 3.348 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006827/0.407, allocations: 119.8 kB / 1.09 GB, free: 3.23 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.4095, allocations: 1.443 MB / 1.092 GB, free: 1.746 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/0.41, allocations: 0.9537 MB / 1.092 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002638/0.4103, allocations: 96.78 kB / 1.093 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.4104, allocations: 59.41 kB / 1.093 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of SimCode: time 5.01e-07/0.4104, allocations: 0 / 1.093 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of Templates: time 0.01272/0.4231, allocations: 6.43 MB / 1.099 GB, free: 10.25 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1)