Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.028/2.028, allocations: 391.2 MB / 407 MB, free: 10.8 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 195.4 kB / 499.1 MB, free: 4.609 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009379/0.000938, allocations: 111.6 kB / 0.9329 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 52.22 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2176, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.00274/0.2204, allocations: 2.101 MB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0008899/0.2213, allocations: 0.6936 MB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.682e-05/0.2214, allocations: 4 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.2216, allocations: 23.8 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.953e-05/0.2217, allocations: 19.78 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.222, allocations: 143.9 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000261/0.2222, allocations: 371.2 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.2225, allocations: 221.6 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.915e-05/0.2226, allocations: 119.5 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.2227, allocations: 139.3 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.745e-05/0.2228, allocations: 20 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.418e-05/0.2228, allocations: 24 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.228e-05/0.2229, allocations: 63.81 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 8.461e-05/0.223, allocations: 135.2 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.2232, allocations: 388.9 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2232, allocations: 4 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.51e-07/0.2232, allocations: 3.938 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2232, allocations: 0 / 1.222 GB, free: 112.7 MB / 0.823 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.0007192/0.224, allocations: 0.6029 MB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.224, allocations: 11.98 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.179e-05/0.2241, allocations: 36.56 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.2243, allocations: 267.8 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.2243, allocations: 33.03 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.2244, allocations: 32.36 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000485/0.2249, allocations: 341.1 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.2249, allocations: 0 / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.2249, allocations: 12 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2249, allocations: 8 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004527/0.2254, allocations: 246.1 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.2265, allocations: 0.9629 MB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005035/0.227, allocations: 271.4 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.2272, allocations: 116.8 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.2272, allocations: 4 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003264/0.2276, allocations: 180 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=32): time 1.573e-06/0.2276, allocations: 0 / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=32): time 0.0006452/0.2282, allocations: 353.8 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.2283, allocations: 67.39 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.2284, allocations: 203.3 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.2284, allocations: 41.7 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.976e-05/0.2285, allocations: 156.5 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.2285, allocations: 78.91 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-05/0.2286, allocations: 86.12 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.76e-05/0.2287, allocations: 334.8 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.2289, allocations: 108.8 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.2291, allocations: 169.4 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003658/0.2295, allocations: 262.7 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2295, allocations: 0 / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005135/0.23, allocations: 366.6 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.23, allocations: 37.69 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.2301, allocations: 0 / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.2301, allocations: 4.156 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.2302, allocations: 47.91 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.2303, allocations: 7.938 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.2305, allocations: 47.66 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.2305, allocations: 19.98 kB / 1.228 GB, free: 107 MB / 0.823 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.000112/0.2306, allocations: 186.3 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.2307, allocations: 19.72 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004848/0.2312, allocations: 299.2 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.2312, allocations: 4 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2312, allocations: 0 / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2312, allocations: 0 / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007948/0.232, allocations: 0.7452 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.232, allocations: 0 / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.2321, allocations: 39.91 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.2321, allocations: 4 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.2321, allocations: 4 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2322, allocations: 11.92 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.2322, allocations: 4 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007216/0.2329, allocations: 1.044 MB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.2329, allocations: 104.8 kB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.233, allocations: 8 kB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.2332, allocations: 31.97 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.701e-05/0.2333, allocations: 39.94 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.2333, allocations: 8 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.254e-05/0.2334, allocations: 139.4 kB / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2334, allocations: 0 / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003662/0.2337, allocations: 67.84 kB / 1.23 GB, free: 104.1 MB / 0.823 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.0001163/0.2339, allocations: 121.5 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004845/0.2344, allocations: 335.9 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2344, allocations: 0 / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.2346, allocations: 152 kB / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.2349, allocations: 35.72 kB / 1.231 GB, free: 103.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000737/0.2356, allocations: 0.7581 MB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.2358, allocations: 0.7798 MB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 9.724e-05/0.2359, allocations: 30.27 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.891e-05/0.236, allocations: 27.44 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of SimCode: time 1.9e-07/0.236, allocations: 0 / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of Templates: time 0.004723/0.2407, allocations: 2.995 MB / 1.236 GB, free: 98.8 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1)