Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 104 kB / 16.27 MB, free: 5.934 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.001209/0.00121, allocations: 188.3 kB / 17.19 MB, free: 5.574 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.419/1.419, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.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.5495 GB, free: 17.55 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.001536/0.001536, allocations: 75.17 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2394, allocations: 114.5 MB / 0.784 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003593/0.243, allocations: 2.012 MB / 0.786 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.2444, allocations: 0.7295 MB / 0.7867 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.2445, allocations: 7.938 kB / 0.7867 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.2447, allocations: 35.59 kB / 0.7867 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.2448, allocations: 43.59 kB / 0.7868 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004607/0.2453, allocations: 155.8 kB / 0.7869 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004364/0.2457, allocations: 411.2 kB / 0.7873 GB, free: 460 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003602/0.2461, allocations: 248.1 kB / 0.7876 GB, free: 212 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.2463, allocations: 135.5 kB / 0.7877 GB, free: 76 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5334/0.7797, allocations: 144.8 kB / 0.7878 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001813/0.7799, allocations: 40.47 kB / 0.7879 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.7801, allocations: 53.5 kB / 0.7879 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.7802, allocations: 79.2 kB / 0.788 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002215/0.7805, allocations: 149.7 kB / 0.7881 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000617/0.7811, allocations: 409.2 kB / 0.7885 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.7811, allocations: 2.875 kB / 0.7885 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7811, allocations: 0 / 0.7885 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.7811, allocations: 0 / 0.7885 GB, free: 46.25 MB / 0.6544 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.001175/0.7823, allocations: 0.6055 MB / 0.7891 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.7824, allocations: 7.875 kB / 0.7891 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.7825, allocations: 36.16 kB / 0.7892 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.7829, allocations: 269.2 kB / 0.7894 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.81e-05/0.7829, allocations: 25.03 kB / 0.7895 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.057e-05/0.783, allocations: 37.25 kB / 0.7895 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008527/0.7839, allocations: 336.7 kB / 0.7898 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.7839, allocations: 3.938 kB / 0.7898 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.423e-05/0.784, allocations: 11.03 kB / 0.7898 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.784, allocations: 10.06 kB / 0.7898 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007732/0.7848, allocations: 250.5 kB / 0.7901 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.7867, allocations: 0.9555 MB / 0.791 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008198/0.7875, allocations: 268.8 kB / 0.7913 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003251/0.7879, allocations: 121.9 kB / 0.7914 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.7879, allocations: 5.25 kB / 0.7914 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005677/0.7885, allocations: 178.3 kB / 0.7916 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=32): time 3.266e-06/0.7885, allocations: 0 / 0.7916 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32): time 0.001162/0.7897, allocations: 356.1 kB / 0.7919 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.7898, allocations: 61.69 kB / 0.7919 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.79, allocations: 201.6 kB / 0.7921 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.914e-05/0.7901, allocations: 38.95 kB / 0.7922 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.7902, allocations: 155.2 kB / 0.7923 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.713e-05/0.7903, allocations: 82.39 kB / 0.7924 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.7905, allocations: 88.97 kB / 0.7925 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.906e-05/0.7906, allocations: 339.3 kB / 0.7928 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003587/0.791, allocations: 109.8 kB / 0.7929 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003838/0.7914, allocations: 169.6 kB / 0.7931 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006418/0.792, allocations: 256.7 kB / 0.7933 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.792, allocations: 2.312 kB / 0.7933 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009682/0.793, allocations: 367.5 kB / 0.7937 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.023e-05/0.7931, allocations: 36.44 kB / 0.7937 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.7931, allocations: 1 kB / 0.7937 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/0.7932, allocations: 4.75 kB / 0.7937 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.7935, allocations: 45.42 kB / 0.7938 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.7935, allocations: 5.688 kB / 0.7938 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003747/0.7939, allocations: 53.88 kB / 0.7938 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.388e-05/0.7939, allocations: 14.69 kB / 0.7938 GB, free: 44.04 MB / 0.6544 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,wseCon.stateGraphRoot.activeSteps,wseCon.T2.t_start,$PRE.wseCon.T2.t_start,wseCon.T2.fire,wseCon.T2.enableFire,wseCon.T2.localCondition,wseCon.on.oldActive,$PRE.wseCon.on.oldActive,wseCon.on.newActive,$PRE.wseCon.on.newActive,wseCon.on.localActive,$PRE.wseCon.on.localActive,wseCon.on.active,wseCon.T1.t_start,$PRE.wseCon.T1.t_start,wseCon.T1.fire,wseCon.T1.enableFire,wseCon.T1.localCondition,wseCon.off.active,wseCon.off.oldActive,$PRE.wseCon.off.oldActive,wseCon.off.newActive,$PRE.wseCon.off.newActive,wseCon.off.localActive,$PRE.wseCon.off.localActive,wseCHWST.count,$PRE.wseCHWST.count,wseCHWST.T_start,$PRE.wseCHWST.T_start,$whenCondition1,$whenCondition2,$whenCondition3) * 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.0002604/0.7942, allocations: 180.7 kB / 0.794 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.7943, allocations: 26.09 kB / 0.794 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008517/0.7951, allocations: 297.6 kB / 0.7943 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.7952, allocations: 3.469 kB / 0.7943 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.7952, allocations: 3.375 kB / 0.7943 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.7952, allocations: 3.281 kB / 0.7943 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.7968, allocations: 0.751 MB / 0.7951 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.7968, allocations: 0 / 0.7951 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.797, allocations: 29.27 kB / 0.7951 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.797, allocations: 1.969 kB / 0.7951 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.349e-05/0.7971, allocations: 6.875 kB / 0.7951 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.176e-06/0.7971, allocations: 3.938 kB / 0.7951 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.86e-06/0.7971, allocations: 6.172 kB / 0.7951 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007707/0.7979, allocations: 370.8 kB / 0.7955 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.338e-05/0.798, allocations: 99.77 kB / 0.7956 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.511e-05/0.798, allocations: 3.062 kB / 0.7956 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003459/0.7984, allocations: 40.2 kB / 0.7956 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.7986, allocations: 41.94 kB / 0.7956 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/0.7986, allocations: 10.75 kB / 0.7956 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000146/0.7988, allocations: 135.2 kB / 0.7958 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.11e-07/0.7988, allocations: 0 / 0.7958 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006101/0.7994, allocations: 71.91 kB / 0.7958 GB, free: 43.2 MB / 0.6544 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.active,wseCon.off.active,$cse1,$cse2,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.localActive,wseCon.off.newActive,wseCon.off.oldActive,wseCon.T1.localCondition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.localActive,wseCon.on.newActive,wseCon.on.oldActive,wseCon.T2.localCondition,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.0002777/0.7997, allocations: 125.8 kB / 0.796 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001111/0.8008, allocations: 346.2 kB / 0.7963 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.8008, allocations: 9.031 kB / 0.7963 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000385/0.8012, allocations: 138.3 kB / 0.7964 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005501/0.8018, allocations: 33.39 kB / 0.7965 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.803, allocations: 490.2 kB / 0.7969 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.8033, allocations: 0.7553 MB / 0.7977 GB, free: 42.06 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.8034, allocations: 28.78 kB / 0.7977 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of SimCode: time 1.363e-06/0.8034, allocations: 0 / 0.7977 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of Templates: time 0.009897/0.8133, allocations: 3.467 MB / 0.8011 GB, free: 41.88 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1)