Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.163/2.163, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002099/0.002098, allocations: 188.9 kB / 325.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.494/2.494, allocations: 205.4 MB / 0.5767 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009564/0.0009562, allocations: 95.78 kB / 0.6813 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004717/0.0004718, allocations: 12.31 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2237, allocations: 106.3 MB / 0.899 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.004082/0.2278, allocations: 1.7 MB / 0.9007 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002451/0.2304, allocations: 0.7218 MB / 0.9014 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003736/0.2308, allocations: 4 kB / 0.9014 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.231, allocations: 23.73 kB / 0.9014 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.2313, allocations: 27.78 kB / 0.9015 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008419/0.2322, allocations: 103.9 kB / 0.9016 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007903/0.233, allocations: 359.2 kB / 0.9019 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006338/0.2337, allocations: 198.5 kB / 0.9021 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002845/0.234, allocations: 95.62 kB / 0.9022 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002709/0.2343, allocations: 111.5 kB / 0.9023 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.826e-05/0.2344, allocations: 16 kB / 0.9023 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.2346, allocations: 19.98 kB / 0.9023 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.2347, allocations: 59.75 kB / 0.9024 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.2348, allocations: 65.58 kB / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006345/0.2355, allocations: 311.5 kB / 0.9027 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.2355, allocations: 0 / 0.9027 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.945e-06/0.2356, allocations: 0 / 0.9027 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.37e-05/0.2356, allocations: 0 / 0.9027 GB, free: 61.58 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.001706/0.2373, allocations: 0.5421 MB / 0.9033 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.2374, allocations: 8.031 kB / 0.9033 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.2376, allocations: 40.5 kB / 0.9033 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000522/0.2381, allocations: 269.9 kB / 0.9036 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.698e-05/0.2382, allocations: 29.03 kB / 0.9036 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.2384, allocations: 32.38 kB / 0.9036 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.2399, allocations: 345.1 kB / 0.904 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.2399, allocations: 4 kB / 0.904 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.725e-05/0.24, allocations: 8 kB / 0.904 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.2401, allocations: 8 kB / 0.904 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.2416, allocations: 254.1 kB / 0.9042 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003069/0.2447, allocations: 0.9629 MB / 0.9052 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.2463, allocations: 278.9 kB / 0.9054 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000653/0.247, allocations: 124.8 kB / 0.9056 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.741e-05/0.2471, allocations: 7.984 kB / 0.9056 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008726/0.248, allocations: 179.2 kB / 0.9057 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 4.519e-06/0.248, allocations: 4 kB / 0.9057 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32): time 0.001913/0.25, allocations: 370.5 kB / 0.9061 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.2501, allocations: 59.41 kB / 0.9061 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/0.2504, allocations: 203.3 kB / 0.9063 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.533e-05/0.2505, allocations: 37.7 kB / 0.9064 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.2507, allocations: 164.5 kB / 0.9065 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.2509, allocations: 78.98 kB / 0.9066 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.2509, allocations: 4 kB / 0.9066 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.251, allocations: 342.8 kB / 0.9069 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008086/0.2519, allocations: 104.8 kB / 0.907 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006789/0.2526, allocations: 177.4 kB / 0.9072 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006122/0.2532, allocations: 133.7 kB / 0.9073 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.2533, allocations: 0 / 0.9073 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001548/0.2548, allocations: 378.7 kB / 0.9077 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.901e-05/0.2549, allocations: 41.64 kB / 0.9077 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.2549, allocations: 0 / 0.9077 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.155e-05/0.255, allocations: 11.98 kB / 0.9077 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005148/0.2555, allocations: 43.91 kB / 0.9078 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/0.2556, allocations: 4 kB / 0.9078 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006747/0.2563, allocations: 59.66 kB / 0.9078 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-05/0.2564, allocations: 19.94 kB / 0.9079 GB, free: 56.06 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003464/0.2567, allocations: 178 kB / 0.908 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.354e-05/0.2568, allocations: 23.72 kB / 0.9081 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/0.2583, allocations: 298.4 kB / 0.9083 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.2583, allocations: 4 kB / 0.9083 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.2583, allocations: 0 / 0.9083 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.2584, allocations: 7.984 kB / 0.9084 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002482/0.2609, allocations: 0.7646 MB / 0.9091 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.2609, allocations: 0 / 0.9091 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003646/0.2613, allocations: 31.92 kB / 0.9091 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/0.2613, allocations: 8 kB / 0.9091 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.143e-05/0.2614, allocations: 7.984 kB / 0.9091 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.428e-06/0.2614, allocations: 7.938 kB / 0.9092 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2614, allocations: 0 / 0.9092 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.2627, allocations: 379.4 kB / 0.9095 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-05/0.2628, allocations: 100.8 kB / 0.9096 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.04e-05/0.2629, allocations: 8 kB / 0.9096 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00062/0.2636, allocations: 39.91 kB / 0.9097 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002006/0.2638, allocations: 39.94 kB / 0.9097 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-05/0.2639, allocations: 15.98 kB / 0.9097 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001816/0.2641, allocations: 135.1 kB / 0.9098 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.21e-07/0.2641, allocations: 0 / 0.9098 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007707/0.2649, allocations: 67.84 kB / 0.9099 GB, free: 53.87 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002585/0.2652, allocations: 125.4 kB / 0.91 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.2666, allocations: 344.4 kB / 0.9104 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.2667, allocations: 0 / 0.9104 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006968/0.2674, allocations: 140.1 kB / 0.9105 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007604/0.2682, allocations: 35.98 kB / 0.9105 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.2699, allocations: 0.5237 MB / 0.911 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.2703, allocations: 0.7563 MB / 0.9118 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000299/0.2706, allocations: 34.28 kB / 0.9118 GB, free: 51.85 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.2708, allocations: 31.42 kB / 0.9118 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of SimCode: time 1.813e-06/0.2708, allocations: 0 / 0.9118 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of Templates: time 0.01353/0.2844, allocations: 2.729 MB / 0.9145 GB, free: 49.11 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1)