Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.621/1.621, allocations: 288.4 MB / 303.3 MB, free: 8.125 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009781/0.0009782, allocations: 191.3 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.4 MB / 0.6307 GB, free: 9.965 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007123/0.0007123, allocations: 86.3 kB / 0.744 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003343, allocations: 19.23 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1587, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.00178/0.1605, allocations: 1.696 MB / 0.9813 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009963/0.1615, allocations: 0.7218 MB / 0.982 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.1617, allocations: 4 kB / 0.982 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.1618, allocations: 27.73 kB / 0.982 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.11e-05/0.1619, allocations: 23.78 kB / 0.9821 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.1623, allocations: 103.9 kB / 0.9822 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003222/0.1626, allocations: 351.2 kB / 0.9825 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002579/0.1629, allocations: 190.5 kB / 0.9827 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.163, allocations: 99.61 kB / 0.9828 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.1631, allocations: 111.4 kB / 0.9829 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.1631, allocations: 12 kB / 0.9829 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.441e-05/0.1632, allocations: 20 kB / 0.9829 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.749e-05/0.1633, allocations: 59.7 kB / 0.983 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.956e-05/0.1633, allocations: 65.58 kB / 0.983 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.1636, allocations: 311.5 kB / 0.9833 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1636, allocations: 0 / 0.9833 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1636, allocations: 3.938 kB / 0.9833 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.096e-06/0.1636, allocations: 4 kB / 0.9833 GB, free: 23.76 MB / 0.6198 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.0007327/0.1643, allocations: 0.5481 MB / 0.9839 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.1644, allocations: 8.031 kB / 0.9839 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.158e-05/0.1644, allocations: 66.53 kB / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.748e-05/0.1645, allocations: 43.58 kB / 0.984 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.1647, allocations: 262.6 kB / 0.9842 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.1648, allocations: 28.66 kB / 0.9843 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.182e-05/0.1648, allocations: 28 kB / 0.9843 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005736/0.1654, allocations: 348.8 kB / 0.9846 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1654, allocations: 0 / 0.9846 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.1655, allocations: 16 kB / 0.9846 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.1655, allocations: 4 kB / 0.9846 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005586/0.166, allocations: 258.1 kB / 0.9849 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.1674, allocations: 0.9513 MB / 0.9858 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005549/0.168, allocations: 279.8 kB / 0.9861 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.1682, allocations: 128.7 kB / 0.9862 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.1683, allocations: 8 kB / 0.9862 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000348/0.1686, allocations: 187.2 kB / 0.9864 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 1.753e-06/0.1686, allocations: 0 / 0.9864 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.0007098/0.1693, allocations: 362 kB / 0.9867 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.1694, allocations: 59.41 kB / 0.9868 GB, free: 20 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.1695, allocations: 203.2 kB / 0.987 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.1695, allocations: 45.7 kB / 0.987 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.112e-05/0.1696, allocations: 148.6 kB / 0.9872 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.923e-05/0.1697, allocations: 90.84 kB / 0.9873 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.541e-05/0.1697, allocations: 4 kB / 0.9873 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.031e-05/0.1697, allocations: 338.8 kB / 0.9876 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.17, allocations: 108.8 kB / 0.9877 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.1702, allocations: 173.4 kB / 0.9878 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.1705, allocations: 133.4 kB / 0.988 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1705, allocations: 4 kB / 0.988 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005882/0.1711, allocations: 370.8 kB / 0.9883 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.1711, allocations: 37.69 kB / 0.9884 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1712, allocations: 160 / 0.9884 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1712, allocations: 8 kB / 0.9884 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.1714, allocations: 43.91 kB / 0.9884 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1714, allocations: 11.88 kB / 0.9884 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.1716, allocations: 63.61 kB / 0.9885 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.1717, allocations: 20 kB / 0.9885 GB, free: 18.16 MB / 0.6198 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,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCHWST.T_start,wseCHWST.T_start,$PRE.wseCHWST.count,wseCHWST.count,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.on.active,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.T2.condition,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.1718, allocations: 169.8 kB / 0.9887 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.1718, allocations: 23.72 kB / 0.9887 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005469/0.1724, allocations: 310.4 kB / 0.989 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1724, allocations: 0 / 0.989 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1724, allocations: 4 kB / 0.989 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1724, allocations: 0 / 0.989 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008967/0.1733, allocations: 0.7687 MB / 0.9897 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1734, allocations: 0 / 0.9897 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.1735, allocations: 35.92 kB / 0.9898 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.1735, allocations: 0 / 0.9898 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.1735, allocations: 11.92 kB / 0.9898 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1735, allocations: 11.95 kB / 0.9898 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1735, allocations: 0 / 0.9898 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004742/0.174, allocations: 383.2 kB / 0.9902 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.069e-05/0.1741, allocations: 104.8 kB / 0.9903 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.1741, allocations: 4 kB / 0.9903 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.1743, allocations: 39.95 kB / 0.9903 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.1745, allocations: 43.89 kB / 0.9904 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.1745, allocations: 12 kB / 0.9904 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.793e-05/0.1746, allocations: 131.5 kB / 0.9905 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1746, allocations: 0 / 0.9905 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002758/0.1748, allocations: 75.77 kB / 0.9906 GB, free: 15.95 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006959/0.1756, allocations: 0.9376 MB / 0.9915 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005357/0.1761, allocations: 343.2 kB / 0.9918 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1761, allocations: 0 / 0.9918 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002395/0.1764, allocations: 139.8 kB / 0.9919 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.1767, allocations: 32.12 kB / 0.992 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.1786, allocations: 1.435 MB / 0.9934 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.1787, allocations: 0.7564 MB / 0.9941 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001058/0.1788, allocations: 30.22 kB / 0.9941 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.179, allocations: 88.62 kB / 0.9942 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of SimCode: time 8.01e-07/0.179, allocations: 7.938 kB / 0.9942 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01364/0.1926, allocations: 5.1 MB / 0.9992 GB, free: 7.164 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001184/0.1928, allocations: 230.9 kB / 0.9994 GB, free: 6.918 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/1.917, allocations: 4.062 kB / 0.9994 GB, free: 6.914 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.fmu > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1)