Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001173/0.001174, allocations: 108 kB / 15.61 MB, free: 152 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.001292/0.001292, allocations: 194.8 kB / 16.53 MB, free: 6.699 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.632/1.632, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.811/1.811, allocations: 292.3 MB / 0.5488 GB, free: 12.82 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.001525/0.001525, allocations: 69.25 kB / 0.6715 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3137, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.005092/0.3188, allocations: 3.017 MB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003141/0.322, allocations: 1.721 MB / 0.788 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003579/0.3224, allocations: 15.88 kB / 0.788 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001277/0.3237, allocations: 423 kB / 0.7884 GB, free: 8.297 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.0006197/0.3243, allocations: 270.7 kB / 0.7887 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.3255, allocations: 437 kB / 0.7891 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009056/0.3264, allocations: 0.8071 MB / 0.7899 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007619/0.3272, allocations: 495.7 kB / 0.7903 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004175/0.3276, allocations: 294.9 kB / 0.7906 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004643/0.3281, allocations: 322.5 kB / 0.7909 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.212e-05/0.3282, allocations: 52 kB / 0.791 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002987/0.3285, allocations: 115.9 kB / 0.7911 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002215/0.3287, allocations: 211.3 kB / 0.7913 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003227/0.329, allocations: 349.7 kB / 0.7916 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008882/0.3299, allocations: 0.8213 MB / 0.7924 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.33, allocations: 0 / 0.7924 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.885e-06/0.33, allocations: 0 / 0.7924 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.33, allocations: 0 / 0.7924 GB, free: 4.168 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001935/0.3319, allocations: 1.131 MB / 0.7935 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.299e-05/0.332, allocations: 11.97 kB / 0.7936 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001935/0.3322, allocations: 91.81 kB / 0.7936 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008252/0.333, allocations: 0.5166 MB / 0.7941 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.3332, allocations: 71.27 kB / 0.7942 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-05/0.3332, allocations: 55.94 kB / 0.7943 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009799/0.3342, allocations: 0.5424 MB / 0.7948 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.3343, allocations: 8 kB / 0.7948 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.98e-05/0.3343, allocations: 16 kB / 0.7948 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.3343, allocations: 12 kB / 0.7948 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006257/0.335, allocations: 343.6 kB / 0.7952 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002615/0.3376, allocations: 2.075 MB / 0.7972 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005894/0.3382, allocations: 298.8 kB / 0.7975 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.3385, allocations: 148.8 kB / 0.7976 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.934e-05/0.3385, allocations: 7.984 kB / 0.7976 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000399/0.3389, allocations: 206.8 kB / 0.7978 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 3.596e-06/0.3389, allocations: 3.984 kB / 0.7978 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=41): time 0.000946/0.3399, allocations: 476.7 kB / 0.7983 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.809e-05/0.34, allocations: 114.8 kB / 0.7984 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009232/0.3409, allocations: 0.754 MB / 0.7991 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.421e-05/0.341, allocations: 45.64 kB / 0.7992 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000351/0.3413, allocations: 380.6 kB / 0.7995 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.3414, allocations: 102.7 kB / 0.7996 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00026/0.3417, allocations: 142.2 kB / 0.7998 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.3419, allocations: 333.9 kB / 0.8001 GB, free: 12 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002934/0.3422, allocations: 133.2 kB / 0.8002 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004182/0.3426, allocations: 318.5 kB / 0.8005 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005441/0.3432, allocations: 377.2 kB / 0.8009 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3432, allocations: 4 kB / 0.8009 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008493/0.3441, allocations: 0.5032 MB / 0.8014 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.3441, allocations: 12.03 kB / 0.8014 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.3441, allocations: 4 kB / 0.8014 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.918e-05/0.3441, allocations: 8 kB / 0.8014 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/0.3444, allocations: 71.83 kB / 0.8015 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.3444, allocations: 11.94 kB / 0.8015 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.3447, allocations: 63.42 kB / 0.8015 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-05/0.3447, allocations: 24 kB / 0.8016 GB, free: 10.35 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 52 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,stateGraphRoot.resume,stateGraphRoot.suspend,transition3.localCondition,transition4.enableFire,transition3.t_start,$PRE.transition3.t_start,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.outPort[1].reset,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.localCondition,transition1.enableFire,transition1.localCondition,actMod,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * 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.0003322/0.3451, allocations: 287.4 kB / 0.8018 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.368e-05/0.3452, allocations: 67.16 kB / 0.8019 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007676/0.3459, allocations: 424 kB / 0.8023 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.346, allocations: 7.938 kB / 0.8023 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.346, allocations: 0 / 0.8023 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.346, allocations: 0 / 0.8023 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.3475, allocations: 1.064 MB / 0.8033 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.3475, allocations: 4 kB / 0.8033 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.3476, allocations: 27.92 kB / 0.8034 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.3477, allocations: 7.984 kB / 0.8034 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.3477, allocations: 8 kB / 0.8034 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3477, allocations: 3.938 kB / 0.8034 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3477, allocations: 0 / 0.8034 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006642/0.3484, allocations: 0.49 MB / 0.8039 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.3485, allocations: 140.2 kB / 0.804 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.532e-05/0.3486, allocations: 15.98 kB / 0.804 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.3488, allocations: 23.92 kB / 0.804 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.3489, allocations: 39.95 kB / 0.8041 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.525e-05/0.3489, allocations: 19.98 kB / 0.8041 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005376/0.3495, allocations: 0.5029 MB / 0.8046 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3495, allocations: 4 kB / 0.8046 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005377/0.35, allocations: 143.5 kB / 0.8047 GB, free: 6.988 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 (transition3.enableFire,off.active,pumOn.active,staBy.active,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.localCondition,transition1.enableFire,transition2.localCondition,transition2.enableFire,staBy.localActive,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,pumOn.localActive,pumOn.outPort[1].reset,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.t_start,transition4.enableFire) * Number of discrete states: 7 (runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,staBy.newActive,pumOn.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001092/0.3511, allocations: 455.8 kB / 0.8052 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008513/0.352, allocations: 411.3 kB / 0.8056 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.352, allocations: 0 / 0.8056 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003212/0.3523, allocations: 183.5 kB / 0.8057 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008916/0.3532, allocations: 120.6 kB / 0.8058 GB, free: 6.004 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.3551, allocations: 1.22 MB / 0.807 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/0.3557, allocations: 0.9537 MB / 0.808 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002755/0.3559, allocations: 96.77 kB / 0.8081 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.3561, allocations: 59.42 kB / 0.8081 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of SimCode: time 3e-07/0.3561, allocations: 0 / 0.8081 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of Templates: time 0.01401/0.3701, allocations: 6.619 MB / 0.8146 GB, free: 13.06 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1)