Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.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.ConstantSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.657/2.657, allocations: 287.9 MB / 302.9 MB, free: 8.27 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.00141/0.00141, allocations: 178.8 kB / 371.4 MB, free: 10.69 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.201/2.201, allocations: 205.4 MB / 0.6301 GB, free: 10.44 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.001022/0.001021, allocations: 104.3 kB / 0.7434 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004513/0.0004514, allocations: 11 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2161, allocations: 115.3 MB / 0.9788 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage): time 0.002935/0.2191, allocations: 2.339 MB / 0.981 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002872/0.222, allocations: 1.58 MB / 0.9826 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002557/0.2223, allocations: 11.94 kB / 0.9826 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004206/0.2227, allocations: 175.3 kB / 0.9828 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004438/0.2232, allocations: 199.4 kB / 0.983 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.2246, allocations: 483.2 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006533/0.2253, allocations: 0.5151 MB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005245/0.2258, allocations: 435.2 kB / 0.9843 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002756/0.2261, allocations: 263 kB / 0.9846 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003025/0.2265, allocations: 278.8 kB / 0.9849 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.786e-05/0.2265, allocations: 24 kB / 0.9849 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002948/0.2268, allocations: 115.9 kB / 0.985 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.227, allocations: 167.4 kB / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.2271, allocations: 145.3 kB / 0.9853 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007578/0.2279, allocations: 0.7914 MB / 0.9861 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.083e-06/0.2279, allocations: 0 / 0.9861 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.881e-06/0.2279, allocations: 0 / 0.9861 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.2279, allocations: 3.938 kB / 0.9861 GB, free: 20.71 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001404/0.2294, allocations: 0.9576 MB / 0.987 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.2294, allocations: 12.02 kB / 0.987 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.2296, allocations: 86.97 kB / 0.9871 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007793/0.2304, allocations: 0.5232 MB / 0.9876 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.646e-05/0.2304, allocations: 49 kB / 0.9876 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.2306, allocations: 55.98 kB / 0.9877 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.2317, allocations: 0.5639 MB / 0.9883 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.2317, allocations: 0 / 0.9883 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.39e-05/0.2318, allocations: 31.94 kB / 0.9883 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.2318, allocations: 12 kB / 0.9883 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.2332, allocations: 435.8 kB / 0.9887 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002856/0.2361, allocations: 1.594 MB / 0.9903 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.2374, allocations: 0.5048 MB / 0.9908 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.574e-05/0.2374, allocations: 8.562 kB / 0.9908 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006389/0.2381, allocations: 307.1 kB / 0.9911 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=65): time 4.561e-06/0.2381, allocations: 0 / 0.9911 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=65): time 0.001565/0.2397, allocations: 0.6777 MB / 0.9917 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.2398, allocations: 171.8 kB / 0.9919 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008897/0.2407, allocations: 0.7133 MB / 0.9926 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.385e-05/0.2408, allocations: 61.69 kB / 0.9926 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/0.241, allocations: 301.2 kB / 0.9929 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.2411, allocations: 161.8 kB / 0.9931 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.2412, allocations: 16 kB / 0.9931 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.2413, allocations: 378.8 kB / 0.9935 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004761/0.2418, allocations: 193.9 kB / 0.9936 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005655/0.2424, allocations: 352.2 kB / 0.994 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004711/0.2429, allocations: 195.2 kB / 0.9942 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.64e-06/0.2429, allocations: 0 / 0.9942 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001265/0.2442, allocations: 0.5902 MB / 0.9947 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.2442, allocations: 9.281 kB / 0.9948 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.2442, allocations: 4 kB / 0.9948 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.2443, allocations: 4 kB / 0.9948 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004119/0.2447, allocations: 91.78 kB / 0.9948 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.2447, allocations: 4 kB / 0.9948 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003683/0.2451, allocations: 63.5 kB / 0.9949 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.476e-05/0.2452, allocations: 28 kB / 0.9949 GB, free: 11.29 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 69 ($PRE.conSpePumSta.con1.enableFire,$PRE.conSpePumSta.con2.enableFire,$PRE.conSpePumSta.con3.enableFire,$PRE.conSpePumSta.con4.enableFire,$whenCondition6,$PRE.chiNumOn.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.cooMod.combiTimeTable.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conSpePumSta.con1.condition,conSpePumSta.con1.enableFire,conSpePumSta.con1.fire,$PRE.conSpePumSta.con1.t_start,conSpePumSta.con1.t_start,$PRE.conSpePumSta.oneOn.localActive,conSpePumSta.oneOn.localActive,conSpePumSta.oneOn.inPort[2].occupied,conSpePumSta.oneOn.outPort[2].available,$PRE.conSpePumSta.oneOn.newActive,conSpePumSta.oneOn.newActive,$PRE.conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.active,conSpePumSta.off.active,$PRE.conSpePumSta.off.localActive,conSpePumSta.off.localActive,$PRE.conSpePumSta.off.newActive,conSpePumSta.off.newActive,$PRE.conSpePumSta.off.oldActive,conSpePumSta.off.oldActive,$PRE.conSpePumSta.twoOn.localActive,conSpePumSta.twoOn.localActive,$PRE.conSpePumSta.twoOn.newActive,conSpePumSta.twoOn.newActive,$PRE.conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.active,conSpePumSta.con2.condition,conSpePumSta.con2.enableFire,conSpePumSta.con2.fire,$PRE.conSpePumSta.con2.t_start,conSpePumSta.con2.t_start,conSpePumSta.con3.condition,conSpePumSta.con3.enableFire,conSpePumSta.con3.fire,$PRE.conSpePumSta.con3.t_start,conSpePumSta.con3.t_start,conSpePumSta.con4.condition,conSpePumSta.con4.enableFire,conSpePumSta.con4.fire,$PRE.conSpePumSta.con4.t_start,conSpePumSta.con4.t_start,conSpePumSta.stateGraphRoot.activeSteps,conSpePumSta.booToInt.y,conSpePumSta.booToInt1.y,conSpePumSta.addInt.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,$PRE.chiNumOn.combiTimeTable.nextTimeEventScaled,chiNumOn.combiTimeTable.nextTimeEventScaled,conSpePumSta.stateGraphRoot.resume,conSpePumSta.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * 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.0004345/0.2456, allocations: 309.7 kB / 0.9952 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.2457, allocations: 67.16 kB / 0.9953 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.247, allocations: 0.5895 MB / 0.9959 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.995e-06/0.247, allocations: 8 kB / 0.9959 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.496e-06/0.2471, allocations: 3.953 kB / 0.9959 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.851e-06/0.2471, allocations: 3.984 kB / 0.9959 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/0.2496, allocations: 1.413 MB / 0.9973 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.2496, allocations: 8 kB / 0.9973 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002864/0.2499, allocations: 51.91 kB / 0.9973 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.981e-06/0.2499, allocations: 7.938 kB / 0.9973 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.61e-05/0.25, allocations: 15.98 kB / 0.9973 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.121e-06/0.25, allocations: 4 kB / 0.9974 GB, free: 8.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.25, allocations: 0 / 0.9974 GB, free: 8.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.2512, allocations: 0.6422 MB / 0.998 GB, free: 8.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.2513, allocations: 164 kB / 0.9981 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.2515, allocations: 16 kB / 0.9981 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000338/0.2518, allocations: 31.97 kB / 0.9982 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002125/0.252, allocations: 84.53 kB / 0.9983 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.748e-05/0.2521, allocations: 27.92 kB / 0.9983 GB, free: 7.734 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006341/0.2528, allocations: 0.4949 MB / 0.9988 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.81e-07/0.2528, allocations: 0 / 0.9988 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007288/0.2535, allocations: 159.7 kB / 0.9989 GB, free: 7.086 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: 52 (conSpePumSta.con3.enableFire,conSpePumSta.con4.enableFire,conSpePumSta.con1.enableFire,conSpePumSta.con2.enableFire,conSpePumSta.twoOn.localActive,conSpePumSta.off.localActive,conSpePumSta.oneOn.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conSpePumSta.con1.condition,conSpePumSta.con1.fire,conSpePumSta.con1.t_start,conSpePumSta.oneOn.inPort[2].occupied,conSpePumSta.oneOn.outPort[2].available,conSpePumSta.oneOn.newActive,conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.active,conSpePumSta.off.active,conSpePumSta.off.newActive,conSpePumSta.off.oldActive,conSpePumSta.twoOn.newActive,conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.active,conSpePumSta.con2.condition,conSpePumSta.con2.fire,conSpePumSta.con2.t_start,conSpePumSta.con3.condition,conSpePumSta.con3.fire,conSpePumSta.con3.t_start,conSpePumSta.con4.condition,conSpePumSta.con4.fire,conSpePumSta.con4.t_start,conSpePumSta.stateGraphRoot.activeSteps,conSpePumSta.booToInt.y,conSpePumSta.booToInt1.y,conSpePumSta.addInt.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,chiNumOn.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 7 (chiNumOn.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEvent,conSpePumSta.oneOn.newActive,conSpePumSta.off.newActive,conSpePumSta.twoOn.newActive,chiNumOn.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.002478/0.256, allocations: 0.7163 MB / 0.9996 GB, free: 6.633 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001705/0.2577, allocations: 0.5174 MB / 1 GB, free: 6.113 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.956e-06/0.2578, allocations: 64 / 1 GB, free: 6.113 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008385/0.2586, allocations: 283.6 kB / 1 GB, free: 5.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009717/0.2596, allocations: 114.5 kB / 1.001 GB, free: 5.734 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/0.2628, allocations: 1.344 MB / 1.002 GB, free: 4.363 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006601/0.2635, allocations: 0.9518 MB / 1.003 GB, free: 3.387 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006845/0.2642, allocations: 116.9 kB / 1.003 GB, free: 3.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003441/0.2646, allocations: 59.42 kB / 1.003 GB, free: 3.211 MB / 0.6198 GB Notification: Performance of SimCode: time 1.881e-06/0.2646, allocations: 0 / 1.003 GB, free: 3.211 MB / 0.6198 GB Notification: Performance of Templates: time 0.0317/0.2963, allocations: 8.174 MB / 1.011 GB, free: 11.09 MB / 0.6355 GB