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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004067/0.004067, allocations: 101.4 kB / 15.73 MB, free: 6.062 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.00105/0.00105, allocations: 196.4 kB / 16.68 MB, free: 5.977 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.205/1.205, allocations: 205.1 MB / 222.6 MB, free: 4.32 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.388/1.388, allocations: 251.7 MB / 0.5094 GB, free: 3.055 MB / 414.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.001382/0.001382, allocations: 73.77 kB / 0.7258 GB, free: 9.027 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1703, allocations: 104.7 MB / 0.828 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.0029/0.1732, allocations: 2.009 MB / 0.83 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.1744, allocations: 0.7371 MB / 0.8307 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.1746, allocations: 7.938 kB / 0.8307 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.1748, allocations: 31.61 kB / 0.8308 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.1749, allocations: 39.59 kB / 0.8308 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004372/0.1753, allocations: 163.7 kB / 0.831 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000425/0.1758, allocations: 415.2 kB / 0.8314 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003447/0.1761, allocations: 243.8 kB / 0.8316 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.1763, allocations: 143.5 kB / 0.8317 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.1765, allocations: 139.4 kB / 0.8319 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.426e-05/0.1765, allocations: 40 kB / 0.8319 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.42e-05/0.1766, allocations: 47.94 kB / 0.8319 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.541e-05/0.1767, allocations: 87.73 kB / 0.832 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.1769, allocations: 155.3 kB / 0.8322 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004889/0.1774, allocations: 426.6 kB / 0.8326 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.1774, allocations: 0 / 0.8326 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1774, allocations: 0 / 0.8326 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.434e-05/0.1774, allocations: 0 / 0.8326 GB, free: 11.54 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.001176/0.1786, allocations: 0.6068 MB / 0.8332 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1786, allocations: 8.031 kB / 0.8332 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.1787, allocations: 32.56 kB / 0.8332 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.1792, allocations: 271.8 kB / 0.8335 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.576e-05/0.1792, allocations: 29.03 kB / 0.8335 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.374e-05/0.1793, allocations: 28.38 kB / 0.8335 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000647/0.1799, allocations: 341.1 kB / 0.8339 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.18, allocations: 0 / 0.8339 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.18, allocations: 16 kB / 0.8339 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.18, allocations: 8 kB / 0.8339 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005369/0.1806, allocations: 250.1 kB / 0.8341 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.1819, allocations: 0.9512 MB / 0.835 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005581/0.1825, allocations: 266.8 kB / 0.8353 GB, free: 8.582 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.1827, allocations: 124.8 kB / 0.8354 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.1827, allocations: 4 kB / 0.8354 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003261/0.1831, allocations: 183.2 kB / 0.8356 GB, free: 8.262 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=32): time 1.773e-06/0.1831, allocations: 0 / 0.8356 GB, free: 8.262 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32): time 0.0007272/0.1838, allocations: 353.8 kB / 0.8359 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.1838, allocations: 63.39 kB / 0.836 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.184, allocations: 203.3 kB / 0.8362 GB, free: 7.625 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.184, allocations: 41.7 kB / 0.8362 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.682e-05/0.1841, allocations: 148.6 kB / 0.8364 GB, free: 7.43 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.889e-05/0.1842, allocations: 82.91 kB / 0.8364 GB, free: 7.348 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.1843, allocations: 86.11 kB / 0.8365 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1844, allocations: 342.8 kB / 0.8369 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.1847, allocations: 108.8 kB / 0.837 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.1849, allocations: 169.4 kB / 0.8371 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004083/0.1854, allocations: 258.7 kB / 0.8374 GB, free: 6.348 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1854, allocations: 3.938 kB / 0.8374 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006306/0.186, allocations: 370.6 kB / 0.8377 GB, free: 5.969 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/0.186, allocations: 37.69 kB / 0.8378 GB, free: 5.926 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1861, allocations: 3.984 kB / 0.8378 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1861, allocations: 4 kB / 0.8378 GB, free: 5.918 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.1863, allocations: 43.91 kB / 0.8378 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.1863, allocations: 7.938 kB / 0.8378 GB, free: 5.867 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.1865, allocations: 55.81 kB / 0.8379 GB, free: 5.812 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.1866, allocations: 12 kB / 0.8379 GB, free: 5.801 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.0001528/0.1867, allocations: 174.8 kB / 0.838 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.1868, allocations: 23.72 kB / 0.8381 GB, free: 5.598 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005599/0.1873, allocations: 298.4 kB / 0.8384 GB, free: 5.301 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.1873, allocations: 4 kB / 0.8384 GB, free: 5.297 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1873, allocations: 0 / 0.8384 GB, free: 5.297 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1874, allocations: 0 / 0.8384 GB, free: 5.297 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009707/0.1883, allocations: 0.7497 MB / 0.8391 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1883, allocations: 0 / 0.8391 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.1885, allocations: 27.92 kB / 0.8391 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1885, allocations: 7.938 kB / 0.8391 GB, free: 4.457 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.1885, allocations: 11.98 kB / 0.8391 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1885, allocations: 3.938 kB / 0.8391 GB, free: 4.441 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1885, allocations: 0 / 0.8391 GB, free: 4.441 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004975/0.189, allocations: 376.4 kB / 0.8395 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.1891, allocations: 96.86 kB / 0.8396 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.1891, allocations: 20 kB / 0.8396 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.1893, allocations: 35.89 kB / 0.8396 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.1895, allocations: 39.94 kB / 0.8397 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.1895, allocations: 12 kB / 0.8397 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.197e-05/0.1896, allocations: 127.2 kB / 0.8398 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1896, allocations: 0 / 0.8398 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000314/0.1899, allocations: 83.67 kB / 0.8399 GB, free: 3.633 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.0001504/0.1901, allocations: 121.4 kB / 0.84 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006006/0.1907, allocations: 336.2 kB / 0.8403 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1907, allocations: 0 / 0.8403 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002676/0.191, allocations: 140.1 kB / 0.8405 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.1913, allocations: 35.67 kB / 0.8405 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007905/0.1921, allocations: 453 kB / 0.8409 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.1924, allocations: 0.7602 MB / 0.8417 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.913e-05/0.1925, allocations: 30.28 kB / 0.8417 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.217e-05/0.1926, allocations: 35.42 kB / 0.8417 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.1926, allocations: 0 / 0.8417 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of Templates: time 0.006459/0.1991, allocations: 3.14 MB / 0.8448 GB, free: 14.55 MB / 0.67 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)