Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.349/1.349, allocations: 252 MB / 268 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 175.6 kB / 327.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.861/1.861, allocations: 205.4 MB / 0.5786 GB, free: 20.07 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 90.33 kB / 0.6832 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003544, allocations: 9.656 kB / 0.7976 GB, free: 134.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2447, allocations: 106.3 MB / 0.9015 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002547/0.2473, allocations: 1.738 MB / 0.9032 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001531/0.2489, allocations: 0.7369 MB / 0.9039 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003019/0.2492, allocations: 15.94 kB / 0.9039 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.2494, allocations: 19.8 kB / 0.9039 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001909/0.2496, allocations: 31.72 kB / 0.9039 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000551/0.2502, allocations: 135.9 kB / 0.9041 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004784/0.2507, allocations: 363.3 kB / 0.9044 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004695/0.2512, allocations: 215.6 kB / 0.9046 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.2515, allocations: 91.64 kB / 0.9047 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002418/0.2517, allocations: 115.4 kB / 0.9048 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.473e-05/0.2518, allocations: 16 kB / 0.9048 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.786e-05/0.2519, allocations: 24 kB / 0.9049 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.588e-05/0.252, allocations: 59.69 kB / 0.9049 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.2521, allocations: 145 kB / 0.9051 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.2524, allocations: 307.5 kB / 0.9054 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.2525, allocations: 0 / 0.9054 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2525, allocations: 3.938 kB / 0.9054 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.559e-05/0.2525, allocations: 4 kB / 0.9054 GB, free: 59.3 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0009804/0.2535, allocations: 0.5406 MB / 0.9059 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.2535, allocations: 12.03 kB / 0.9059 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.2537, allocations: 32.59 kB / 0.9059 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/0.254, allocations: 274.6 kB / 0.9062 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.819e-05/0.2541, allocations: 29.03 kB / 0.9062 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.423e-05/0.2542, allocations: 32.38 kB / 0.9063 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006453/0.2548, allocations: 345.2 kB / 0.9066 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.2548, allocations: 0 / 0.9066 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.2549, allocations: 8 kB / 0.9066 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.2549, allocations: 8 kB / 0.9066 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006097/0.2555, allocations: 270 kB / 0.9069 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.2569, allocations: 0.959 MB / 0.9078 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005982/0.2575, allocations: 285.3 kB / 0.9081 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.2578, allocations: 128.7 kB / 0.9082 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.2578, allocations: 4 kB / 0.9082 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003936/0.2582, allocations: 191.2 kB / 0.9084 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 2.315e-06/0.2582, allocations: 0 / 0.9084 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32): time 0.000825/0.259, allocations: 366.6 kB / 0.9087 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.2591, allocations: 59.41 kB / 0.9088 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.2593, allocations: 207.3 kB / 0.909 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.2593, allocations: 37.7 kB / 0.909 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.06e-05/0.2594, allocations: 156.5 kB / 0.9092 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.443e-05/0.2594, allocations: 79 kB / 0.9092 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/0.2595, allocations: 8 kB / 0.9092 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.738e-05/0.2595, allocations: 342.8 kB / 0.9096 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.2598, allocations: 112.8 kB / 0.9097 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.2601, allocations: 173.5 kB / 0.9098 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004447/0.2605, allocations: 270.4 kB / 0.9101 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.2605, allocations: 0 / 0.9101 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006488/0.2612, allocations: 379 kB / 0.9105 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/0.2612, allocations: 29.7 kB / 0.9105 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2613, allocations: 4 kB / 0.9105 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.2613, allocations: 0 / 0.9105 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.2615, allocations: 47.91 kB / 0.9105 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.2615, allocations: 4 kB / 0.9105 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.2618, allocations: 71.58 kB / 0.9106 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.538e-05/0.2618, allocations: 8 kB / 0.9106 GB, free: 53.62 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCHWST.T_start,wseCHWST.T_start,$PRE.wseCHWST.count,wseCHWST.count,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.on.active,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.T2.condition,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * 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.0001966/0.262, allocations: 181.9 kB / 0.9108 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.2621, allocations: 15.81 kB / 0.9108 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005801/0.2627, allocations: 310.3 kB / 0.9111 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.2627, allocations: 4 kB / 0.9111 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2627, allocations: 0 / 0.9111 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.2627, allocations: 7.969 kB / 0.9111 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.2638, allocations: 0.7763 MB / 0.9119 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2638, allocations: 0 / 0.9119 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.2639, allocations: 35.91 kB / 0.9119 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.2639, allocations: 4 kB / 0.9119 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.264, allocations: 4 kB / 0.9119 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.264, allocations: 11.88 kB / 0.9119 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.264, allocations: 0 / 0.9119 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005193/0.2645, allocations: 379.4 kB / 0.9123 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.097e-05/0.2646, allocations: 104.8 kB / 0.9124 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.2646, allocations: 15.98 kB / 0.9124 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.2648, allocations: 39.91 kB / 0.9124 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.265, allocations: 35.95 kB / 0.9125 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.265, allocations: 15.92 kB / 0.9125 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.602e-05/0.2651, allocations: 131.2 kB / 0.9126 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2651, allocations: 0 / 0.9126 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003112/0.2654, allocations: 67.84 kB / 0.9127 GB, free: 51.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.localActive,wseCon.off.localActive,$cse1,$cse2,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.newActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.active,wseCon.on.newActive,wseCon.on.oldActive,wseCon.T2.condition,wseCon.T2.fire,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 3 (wseCHWST.count,wseCon.off.newActive,wseCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0001749/0.2656, allocations: 125.5 kB / 0.9128 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006845/0.2663, allocations: 337 kB / 0.9131 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2663, allocations: 0 / 0.9131 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002501/0.2666, allocations: 152.1 kB / 0.9133 GB, free: 50.78 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.2669, allocations: 31.98 kB / 0.9133 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.268, allocations: 0.5683 MB / 0.9139 GB, free: 50.15 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.2683, allocations: 0.7564 MB / 0.9146 GB, free: 49.37 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.919e-05/0.2684, allocations: 27.44 kB / 0.9146 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of SimCode: time 4.11e-07/0.2684, allocations: 0 / 0.9146 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of Templates: time 0.005904/0.2743, allocations: 3.432 MB / 0.918 GB, free: 45.92 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1)