Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.691/2.691, allocations: 287.9 MB / 302.9 MB, free: 8.324 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001414/0.001414, allocations: 179.5 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.107/2.107, allocations: 205.4 MB / 0.6301 GB, free: 10.43 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 88.88 kB / 0.7434 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008102/0.0008105, allocations: 11 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1718, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage): time 0.002569/0.1744, allocations: 2.045 MB / 0.9807 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001901/0.1764, allocations: 1.14 MB / 0.9819 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00021/0.1766, allocations: 11.94 kB / 0.9819 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.1769, allocations: 87.5 kB / 0.982 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000334/0.1773, allocations: 91.67 kB / 0.982 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006746/0.178, allocations: 227.5 kB / 0.9823 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004995/0.1785, allocations: 407.7 kB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004483/0.1789, allocations: 337.5 kB / 0.983 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/0.1792, allocations: 191.3 kB / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.1795, allocations: 211 kB / 0.9834 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.036e-05/0.1795, allocations: 20 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.1797, allocations: 51.92 kB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.1798, allocations: 99.64 kB / 0.9835 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.377e-05/0.1799, allocations: 113.4 kB / 0.9836 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005395/0.1805, allocations: 0.5653 MB / 0.9842 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.868e-06/0.1805, allocations: 0 / 0.9842 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.246e-06/0.1805, allocations: 0 / 0.9842 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.587e-06/0.1805, allocations: 0 / 0.9842 GB, free: 22.6 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.00124/0.1818, allocations: 0.7414 MB / 0.9849 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1818, allocations: 23.95 kB / 0.9849 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.182, allocations: 55.34 kB / 0.985 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005122/0.1825, allocations: 391 kB / 0.9853 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.19e-05/0.1826, allocations: 41 kB / 0.9854 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-05/0.1827, allocations: 52 kB / 0.9854 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.1838, allocations: 0.5137 MB / 0.9859 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.1838, allocations: 7.938 kB / 0.9859 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-05/0.1839, allocations: 23.98 kB / 0.986 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.1839, allocations: 11.95 kB / 0.986 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.1851, allocations: 451.8 kB / 0.9864 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002563/0.1876, allocations: 1.438 MB / 0.9878 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.1889, allocations: 489.8 kB / 0.9883 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.222e-05/0.1889, allocations: 4.438 kB / 0.9883 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006968/0.1896, allocations: 294.9 kB / 0.9886 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=58): time 4.177e-06/0.1897, allocations: 0 / 0.9886 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=58): time 0.00158/0.1913, allocations: 0.6195 MB / 0.9892 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.1913, allocations: 63.97 kB / 0.9892 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004068/0.1917, allocations: 354.5 kB / 0.9896 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.996e-05/0.1918, allocations: 53.64 kB / 0.9896 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.192, allocations: 209.2 kB / 0.9898 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.1921, allocations: 154 kB / 0.99 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.1922, allocations: 8 kB / 0.99 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.697e-05/0.1923, allocations: 362.8 kB / 0.9903 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005528/0.1928, allocations: 189.2 kB / 0.9905 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005773/0.1934, allocations: 282 kB / 0.9908 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005045/0.194, allocations: 212.8 kB / 0.991 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.194, allocations: 0 / 0.991 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001341/0.1953, allocations: 0.5765 MB / 0.9915 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.6e-05/0.1954, allocations: 29.7 kB / 0.9916 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.1954, allocations: 11.92 kB / 0.9916 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.1954, allocations: 4 kB / 0.9916 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/0.1958, allocations: 75.98 kB / 0.9917 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.1959, allocations: 8 kB / 0.9917 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004545/0.1963, allocations: 103.3 kB / 0.9918 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.325e-05/0.1964, allocations: 24 kB / 0.9918 GB, free: 14.52 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 62 ($PRE.varSpePumSta.con1.enableFire,$PRE.varSpePumSta.con2.enableFire,$PRE.varSpePumSta.con3.enableFire,$PRE.varSpePumSta.con4.enableFire,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.condition,varSpePumSta.con1.enableFire,varSpePumSta.con1.fire,$PRE.varSpePumSta.con1.t_start,varSpePumSta.con1.t_start,$PRE.varSpePumSta.oneOn.localActive,varSpePumSta.oneOn.localActive,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,$PRE.varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.newActive,$PRE.varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.active,varSpePumSta.off.active,$PRE.varSpePumSta.off.localActive,varSpePumSta.off.localActive,$PRE.varSpePumSta.off.newActive,varSpePumSta.off.newActive,$PRE.varSpePumSta.off.oldActive,varSpePumSta.off.oldActive,$PRE.varSpePumSta.twoOn.localActive,varSpePumSta.twoOn.localActive,$PRE.varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.newActive,$PRE.varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.active,varSpePumSta.con2.condition,varSpePumSta.con2.enableFire,varSpePumSta.con2.fire,$PRE.varSpePumSta.con2.t_start,varSpePumSta.con2.t_start,varSpePumSta.con3.condition,varSpePumSta.con3.enableFire,varSpePumSta.con3.fire,$PRE.varSpePumSta.con3.t_start,varSpePumSta.con3.t_start,varSpePumSta.con4.condition,varSpePumSta.con4.enableFire,varSpePumSta.con4.fire,$PRE.varSpePumSta.con4.t_start,varSpePumSta.con4.t_start,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.booToInt.y,varSpePumSta.booToInt1.y,varSpePumSta.addInt.y,$PRE.speSig.T_start,speSig.T_start,$PRE.speSig.count,speSig.count,varSpePumSta.stateGraphRoot.resume,varSpePumSta.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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.0003394/0.1968, allocations: 241.7 kB / 0.992 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.763e-05/0.1969, allocations: 39.53 kB / 0.9921 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.1981, allocations: 0.5303 MB / 0.9926 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.396e-06/0.1981, allocations: 8 kB / 0.9926 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.97e-06/0.1981, allocations: 0 / 0.9926 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.1982, allocations: 3.984 kB / 0.9926 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002241/0.2004, allocations: 1.227 MB / 0.9938 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.493e-06/0.2004, allocations: 0 / 0.9938 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003076/0.2008, allocations: 59.89 kB / 0.9938 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/0.2008, allocations: 7.953 kB / 0.9938 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.966e-05/0.2008, allocations: 8 kB / 0.9939 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.793e-06/0.2009, allocations: 4 kB / 0.9939 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.725e-06/0.2009, allocations: 8 kB / 0.9939 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.202, allocations: 0.5928 MB / 0.9944 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.2021, allocations: 124.5 kB / 0.9946 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.478e-05/0.2022, allocations: 15.95 kB / 0.9946 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/0.2026, allocations: 67.94 kB / 0.9946 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/0.2028, allocations: 80.44 kB / 0.9947 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.892e-05/0.2029, allocations: 19.98 kB / 0.9947 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002391/0.2032, allocations: 218 kB / 0.9949 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.07e-07/0.2032, allocations: 0 / 0.9949 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005677/0.2037, allocations: 131.7 kB / 0.9951 GB, free: 11.04 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: 47 (varSpePumSta.con3.enableFire,varSpePumSta.con4.enableFire,varSpePumSta.con1.enableFire,varSpePumSta.con2.enableFire,varSpePumSta.twoOn.localActive,varSpePumSta.off.localActive,varSpePumSta.oneOn.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.condition,varSpePumSta.con1.fire,varSpePumSta.con1.t_start,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.active,varSpePumSta.off.active,varSpePumSta.off.newActive,varSpePumSta.off.oldActive,varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.active,varSpePumSta.con2.condition,varSpePumSta.con2.fire,varSpePumSta.con2.t_start,varSpePumSta.con3.condition,varSpePumSta.con3.fire,varSpePumSta.con3.t_start,varSpePumSta.con4.condition,varSpePumSta.con4.fire,varSpePumSta.con4.t_start,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.booToInt.y,varSpePumSta.booToInt1.y,varSpePumSta.addInt.y,speSig.T_start,speSig.count) * Number of discrete states: 4 (speSig.count,varSpePumSta.oneOn.newActive,varSpePumSta.off.newActive,varSpePumSta.twoOn.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.001237/0.205, allocations: 404.7 kB / 0.9955 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001255/0.2063, allocations: 0.5502 MB / 0.996 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.766e-06/0.2063, allocations: 0 / 0.996 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005666/0.2069, allocations: 267.5 kB / 0.9962 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004492/0.2073, allocations: 54.06 kB / 0.9963 GB, free: 9.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.209, allocations: 0.9626 MB / 0.9972 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.2094, allocations: 0.8637 MB / 0.9981 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003238/0.2097, allocations: 64.16 kB / 0.9981 GB, free: 7.969 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.2099, allocations: 43.42 kB / 0.9982 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of SimCode: time 1.677e-06/0.2099, allocations: 0 / 0.9982 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of Templates: time 0.0128/0.2228, allocations: 5.217 MB / 1.003 GB, free: 2.766 MB / 0.6198 GB