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.301/1.301, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.0008627/0.0008627, allocations: 185.6 kB / 326.5 MB, free: 2.684 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.391/1.391, allocations: 205 MB / 0.5766 GB, free: 20.97 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.0006531/0.0006532, allocations: 76 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003131/0.0003132, allocations: 10.22 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1768, allocations: 105.4 MB / 0.8968 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.001967/0.1788, allocations: 1.779 MB / 0.8985 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.18, allocations: 0.7486 MB / 0.8992 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001918/0.1802, allocations: 7.938 kB / 0.8992 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.1804, allocations: 19.8 kB / 0.8993 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.1805, allocations: 27.77 kB / 0.8993 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.1809, allocations: 139.9 kB / 0.8994 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003325/0.1812, allocations: 375.2 kB / 0.8998 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002872/0.1815, allocations: 196.3 kB / 0.9 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.1817, allocations: 103.5 kB / 0.9001 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.1818, allocations: 123.3 kB / 0.9002 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.913e-05/0.1818, allocations: 16 kB / 0.9002 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.187e-05/0.1819, allocations: 20 kB / 0.9002 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.534e-05/0.182, allocations: 51.77 kB / 0.9003 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.906e-05/0.1821, allocations: 119.3 kB / 0.9004 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.1823, allocations: 370.7 kB / 0.9007 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1824, allocations: 0 / 0.9007 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1824, allocations: 4 kB / 0.9007 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.828e-06/0.1824, allocations: 0 / 0.9007 GB, free: 64.08 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.0007356/0.1831, allocations: 0.5405 MB / 0.9013 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1832, allocations: 12.03 kB / 0.9013 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.062e-05/0.1832, allocations: 32.56 kB / 0.9013 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.1835, allocations: 279.7 kB / 0.9016 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.617e-05/0.1835, allocations: 29.03 kB / 0.9016 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.564e-05/0.1836, allocations: 32.38 kB / 0.9016 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000543/0.1841, allocations: 341.1 kB / 0.9019 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.1841, allocations: 0 / 0.9019 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/0.1842, allocations: 16 kB / 0.902 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.1842, allocations: 12 kB / 0.902 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004955/0.1847, allocations: 254.1 kB / 0.9022 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.1858, allocations: 0.9551 MB / 0.9032 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005097/0.1863, allocations: 281.2 kB / 0.9034 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.1866, allocations: 128.8 kB / 0.9035 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.1866, allocations: 4 kB / 0.9035 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003325/0.1869, allocations: 191.2 kB / 0.9037 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 1.963e-06/0.1869, allocations: 0 / 0.9037 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32): time 0.0006773/0.1876, allocations: 366.6 kB / 0.9041 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.1877, allocations: 59.39 kB / 0.9041 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.1878, allocations: 203.3 kB / 0.9043 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.1878, allocations: 45.7 kB / 0.9044 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.989e-05/0.1879, allocations: 152.5 kB / 0.9045 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.188, allocations: 86.84 kB / 0.9046 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-05/0.188, allocations: 57.69 kB / 0.9047 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.124e-05/0.1881, allocations: 338.8 kB / 0.905 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.1883, allocations: 112.8 kB / 0.9051 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.1886, allocations: 177.4 kB / 0.9053 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/0.1889, allocations: 270.5 kB / 0.9055 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.189, allocations: 0 / 0.9055 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005283/0.1895, allocations: 378.9 kB / 0.9059 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.1895, allocations: 33.7 kB / 0.9059 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1895, allocations: 0 / 0.9059 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1895, allocations: 4 kB / 0.9059 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.1897, allocations: 43.91 kB / 0.906 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1897, allocations: 4 kB / 0.906 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.19, allocations: 67.7 kB / 0.906 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.19, allocations: 16 kB / 0.906 GB, free: 58.34 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.0001207/0.1901, allocations: 181.9 kB / 0.9062 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.1901, allocations: 27.72 kB / 0.9062 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004839/0.1906, allocations: 298.4 kB / 0.9065 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.1907, allocations: 0 / 0.9065 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1907, allocations: 3.984 kB / 0.9065 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.942e-05/0.1907, allocations: 104.7 kB / 0.9066 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.1907, allocations: 12 kB / 0.9066 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.1909, allocations: 39.84 kB / 0.9067 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.958e-05/0.191, allocations: 43.94 kB / 0.9067 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005824/0.1916, allocations: 410 kB / 0.9071 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004552/0.1921, allocations: 462.6 kB / 0.9075 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002031/0.1923, allocations: 135.9 kB / 0.9077 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.126e-05/0.1923, allocations: 139.4 kB / 0.9078 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of Backend: time 9.32e-07/0.1924, allocations: 0 / 0.9078 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000593/0.193, allocations: 330.3 kB / 0.9081 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0006336/0.1936, allocations: 0.9207 MB / 0.909 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of Templates: time 0.005353/0.199, allocations: 3.042 MB / 0.912 GB, free: 52.14 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)