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.403/1.403, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.0009113/0.0009113, allocations: 180.9 kB / 326.5 MB, free: 2.645 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.588/1.588, allocations: 205 MB / 0.5766 GB, free: 20.57 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.0006915/0.0006915, allocations: 90.62 kB / 0.6803 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003244, allocations: 14.19 kB / 0.7938 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2023, allocations: 105.4 MB / 0.8967 GB, free: 67.65 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002084/0.2044, allocations: 1.778 MB / 0.8985 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.2055, allocations: 0.7486 MB / 0.8992 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.2056, allocations: 4 kB / 0.8992 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.2058, allocations: 23.8 kB / 0.8992 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.476e-05/0.2058, allocations: 31.78 kB / 0.8993 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.2062, allocations: 139.8 kB / 0.8994 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002771/0.2065, allocations: 371.2 kB / 0.8998 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000253/0.2068, allocations: 204.3 kB / 0.8999 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.2069, allocations: 103.5 kB / 0.9 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.207, allocations: 119.4 kB / 0.9002 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.207, allocations: 12 kB / 0.9002 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.506e-05/0.2071, allocations: 20 kB / 0.9002 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.2072, allocations: 47.83 kB / 0.9002 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.217e-05/0.2073, allocations: 123.2 kB / 0.9004 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.2075, allocations: 303.2 kB / 0.9006 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.2075, allocations: 0 / 0.9006 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2075, allocations: 0 / 0.9006 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.2075, allocations: 4 kB / 0.9006 GB, free: 63.62 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.0007496/0.2083, allocations: 0.5483 MB / 0.9012 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2083, allocations: 11.97 kB / 0.9012 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.988e-05/0.2084, allocations: 32.56 kB / 0.9012 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.2086, allocations: 263.9 kB / 0.9015 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.595e-05/0.2087, allocations: 33.02 kB / 0.9015 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.2087, allocations: 32.31 kB / 0.9015 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005139/0.2092, allocations: 349.1 kB / 0.9019 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.2093, allocations: 0 / 0.9019 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.2093, allocations: 15.98 kB / 0.9019 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.2093, allocations: 7.984 kB / 0.9019 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004737/0.2098, allocations: 262.1 kB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.2109, allocations: 0.9551 MB / 0.9031 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005326/0.2115, allocations: 282.9 kB / 0.9033 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.2117, allocations: 124.8 kB / 0.9035 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.2117, allocations: 4 kB / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003795/0.2121, allocations: 187.2 kB / 0.9036 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 2.284e-06/0.2121, allocations: 3.984 kB / 0.9036 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32): time 0.0006897/0.2128, allocations: 370.6 kB / 0.904 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.2129, allocations: 59.39 kB / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.213, allocations: 207.3 kB / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.213, allocations: 41.64 kB / 0.9043 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.059e-05/0.2131, allocations: 152.6 kB / 0.9044 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.592e-05/0.2132, allocations: 82.91 kB / 0.9045 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/0.2132, allocations: 57.67 kB / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.341e-05/0.2133, allocations: 338.8 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.2135, allocations: 120.8 kB / 0.905 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.2138, allocations: 169.5 kB / 0.9052 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/0.2142, allocations: 274.5 kB / 0.9054 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2142, allocations: 0 / 0.9054 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005568/0.2147, allocations: 374.8 kB / 0.9058 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.2148, allocations: 33.86 kB / 0.9058 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.2148, allocations: 4 kB / 0.9058 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.2148, allocations: 0 / 0.9058 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.215, allocations: 47.91 kB / 0.9059 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.215, allocations: 7.938 kB / 0.9059 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.2152, allocations: 63.66 kB / 0.9059 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/0.2153, allocations: 11.98 kB / 0.906 GB, free: 57.88 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,wseCon.stateGraphRoot.activeSteps,wseCon.T2.t_start,$PRE.wseCon.T2.t_start,wseCon.T2.fire,wseCon.T2.enableFire,wseCon.T2.condition,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.condition,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.0001341/0.2154, allocations: 174 kB / 0.9061 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.2154, allocations: 23.7 kB / 0.9061 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005763/0.216, allocations: 314.3 kB / 0.9064 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.216, allocations: 7.938 kB / 0.9065 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2161, allocations: 0 / 0.9065 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2161, allocations: 0 / 0.9065 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008805/0.217, allocations: 0.7609 MB / 0.9072 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.217, allocations: 4 kB / 0.9072 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.2171, allocations: 27.97 kB / 0.9072 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2171, allocations: 11.94 kB / 0.9072 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.2171, allocations: 4 kB / 0.9072 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.2171, allocations: 7.938 kB / 0.9072 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2171, allocations: 0 / 0.9072 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004689/0.2176, allocations: 391.2 kB / 0.9076 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.712e-05/0.2177, allocations: 104.8 kB / 0.9077 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/0.2177, allocations: 4 kB / 0.9077 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.2179, allocations: 43.89 kB / 0.9078 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.97e-05/0.218, allocations: 35.95 kB / 0.9078 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.2181, allocations: 15.98 kB / 0.9078 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.079e-05/0.2181, allocations: 135.1 kB / 0.9079 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2181, allocations: 0 / 0.9079 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002804/0.2184, allocations: 67.84 kB / 0.908 GB, free: 55.66 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.0001468/0.2186, allocations: 129.4 kB / 0.9081 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005404/0.2191, allocations: 341 kB / 0.9085 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2191, allocations: 0 / 0.9085 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.2194, allocations: 147.8 kB / 0.9086 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.2197, allocations: 43.52 kB / 0.9086 GB, free: 55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007518/0.2205, allocations: 0.5618 MB / 0.9092 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/0.2207, allocations: 0.7486 MB / 0.9099 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.737e-05/0.2207, allocations: 35.42 kB / 0.91 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2207, allocations: 0 / 0.91 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of Templates: time 0.004255/0.225, allocations: 3.426 MB / 0.9133 GB, free: 50.19 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)