Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage,fileNamePrefix="Buildings_6_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ConstantSpeedPumpStage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.354/4.354, allocations: 433.2 MB / 440.7 MB, free: 4.555 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.635e-05/2.639e-05, allocations: 2.625 kB / 0.5325 GB, free: 12.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.222, allocations: 98.73 MB / 0.6289 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2335/0.4555, allocations: 129.1 MB / 0.755 GB, free: 7.832 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003269/0.4559, allocations: 95.92 kB / 0.755 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04567/0.5016, allocations: 10.68 MB / 0.7655 GB, free: 13 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5016, allocations: 0 / 0.7655 GB, free: 13 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.767e-05/0.5017, allocations: 15.94 kB / 0.7655 GB, free: 12.99 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001788/0.5035, allocations: 0.7905 MB / 0.7663 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.5035, allocations: 8.031 kB / 0.7663 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/0.5038, allocations: 63.3 kB / 0.7663 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007848/0.5046, allocations: 382.2 kB / 0.7667 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.359e-05/0.5046, allocations: 20 kB / 0.7667 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.5048, allocations: 43.92 kB / 0.7668 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001169/0.506, allocations: 414.4 kB / 0.7671 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.5071, allocations: 472.2 kB / 0.7676 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.5072, allocations: 0 / 0.7676 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.731e-05/0.5073, allocations: 11.94 kB / 0.7676 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.836e-05/0.5073, allocations: 12 kB / 0.7676 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003191/0.5105, allocations: 1.302 MB / 0.7689 GB, free: 9.336 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.5116, allocations: 454.7 kB / 0.7693 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005078/0.5122, allocations: 214.5 kB / 0.7695 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-05/0.5123, allocations: 4.562 kB / 0.7695 GB, free: 8.672 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007401/0.513, allocations: 290 kB / 0.7698 GB, free: 8.371 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 3.857e-06/0.513, allocations: 4 kB / 0.7698 GB, free: 8.367 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.001434/0.5145, allocations: 0.4946 MB / 0.7703 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.412e-05/0.5146, allocations: 71.94 kB / 0.7704 GB, free: 7.785 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006147/0.5152, allocations: 326 kB / 0.7707 GB, free: 7.461 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001587/0.5154, allocations: 41.7 kB / 0.7707 GB, free: 7.414 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/0.5157, allocations: 213.2 kB / 0.7709 GB, free: 7.203 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.5159, allocations: 142.1 kB / 0.7711 GB, free: 7.062 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.5159, allocations: 0 / 0.7711 GB, free: 7.062 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.5161, allocations: 366.7 kB / 0.7714 GB, free: 6.695 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005314/0.5167, allocations: 197.5 kB / 0.7716 GB, free: 6.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000607/0.5173, allocations: 269.8 kB / 0.7719 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006077/0.5179, allocations: 196.4 kB / 0.772 GB, free: 6.02 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.5179, allocations: 0 / 0.772 GB, free: 6.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00169/0.5196, allocations: 0.5894 MB / 0.7726 GB, free: 5.426 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.5198, allocations: 97.09 kB / 0.7727 GB, free: 5.312 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.5198, allocations: 0 / 0.7727 GB, free: 5.312 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.023e-05/0.5199, allocations: 4 kB / 0.7727 GB, free: 5.309 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004703/0.5203, allocations: 64.06 kB / 0.7728 GB, free: 5.246 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-05/0.5204, allocations: 15.97 kB / 0.7728 GB, free: 5.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004318/0.5208, allocations: 31.73 kB / 0.7728 GB, free: 5.199 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.521, allocations: 32 kB / 0.7728 GB, free: 5.168 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 71 ($PRE.conSpePumSta.con1.enableFire,$PRE.conSpePumSta.con2.enableFire,$PRE.conSpePumSta.con3.enableFire,$PRE.conSpePumSta.con4.enableFire,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conSpePumSta.con1.enableFire,conSpePumSta.con1.fire,$PRE.conSpePumSta.con1.t_start,conSpePumSta.con1.t_start,conSpePumSta.con1.condition,$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,$PRE.conSpePumSta.off.localActive,conSpePumSta.off.localActive,$PRE.conSpePumSta.off.newActive,conSpePumSta.off.newActive,$PRE.conSpePumSta.off.oldActive,conSpePumSta.off.oldActive,conSpePumSta.off.active,$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.enableFire,conSpePumSta.con2.fire,$PRE.conSpePumSta.con2.t_start,conSpePumSta.con2.t_start,conSpePumSta.con2.condition,conSpePumSta.con3.enableFire,conSpePumSta.con3.fire,$PRE.conSpePumSta.con3.t_start,conSpePumSta.con3.t_start,conSpePumSta.con3.condition,conSpePumSta.con4.enableFire,conSpePumSta.con4.fire,$PRE.conSpePumSta.con4.t_start,conSpePumSta.con4.t_start,conSpePumSta.con4.condition,conSpePumSta.stateGraphRoot.activeSteps,conSpePumSta.addInt.u1,conSpePumSta.addInt.u2,conSpePumSta.addInt.y,$PRE.cooMod.y,cooMod.y,$PRE.cooMod.nextTime,cooMod.nextTime,$PRE.cooMod.index,cooMod.index,$PRE.chiNumOn.y,chiNumOn.y,$PRE.chiNumOn.nextTime,chiNumOn.nextTime,$PRE.chiNumOn.index,chiNumOn.index,conSpePumSta.stateGraphRoot.resume,conSpePumSta.stateGraphRoot.suspend) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 3 * 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.0003006/0.5213, allocations: 164.7 kB / 0.773 GB, free: 5 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001292/0.5226, allocations: 498.5 kB / 0.7735 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.5227, allocations: 43.52 kB / 0.7735 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/0.5243, allocations: 0.558 MB / 0.7741 GB, free: 3.898 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.5244, allocations: 8 kB / 0.7741 GB, free: 3.891 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.5244, allocations: 0 / 0.7741 GB, free: 3.891 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.5244, allocations: 7.984 kB / 0.7741 GB, free: 3.883 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/0.5276, allocations: 1.204 MB / 0.7753 GB, free: 2.633 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.5277, allocations: 0 / 0.7753 GB, free: 2.633 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/0.528, allocations: 43.91 kB / 0.7753 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.35e-05/0.5281, allocations: 8 kB / 0.7753 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.937e-05/0.5281, allocations: 11.98 kB / 0.7753 GB, free: 2.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.5282, allocations: 3.953 kB / 0.7753 GB, free: 2.566 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.5282, allocations: 4 kB / 0.7753 GB, free: 2.562 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/0.5297, allocations: 0.628 MB / 0.7759 GB, free: 1.918 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.5298, allocations: 116.6 kB / 0.7761 GB, free: 1.785 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.14e-05/0.5299, allocations: 4 kB / 0.7761 GB, free: 1.781 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003736/0.5303, allocations: 27.97 kB / 0.7761 GB, free: 1.754 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002475/0.5306, allocations: 84.34 kB / 0.7762 GB, free: 1.672 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.5307, allocations: 35.91 kB / 0.7762 GB, free: 1.637 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003571/0.5311, allocations: 226 kB / 0.7764 GB, free: 1.414 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/0.5311, allocations: 0 / 0.7764 GB, free: 1.414 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008104/0.5319, allocations: 119.8 kB / 0.7765 GB, free: 1.297 MB / 0.6511 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.fire,conSpePumSta.con1.t_start,conSpePumSta.con1.condition,conSpePumSta.oneOn.inPort[2].occupied,conSpePumSta.oneOn.outPort[2].available,conSpePumSta.oneOn.newActive,conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.active,conSpePumSta.off.newActive,conSpePumSta.off.oldActive,conSpePumSta.off.active,conSpePumSta.twoOn.newActive,conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.active,conSpePumSta.con2.fire,conSpePumSta.con2.t_start,conSpePumSta.con2.condition,conSpePumSta.con3.fire,conSpePumSta.con3.t_start,conSpePumSta.con3.condition,conSpePumSta.con4.fire,conSpePumSta.con4.t_start,conSpePumSta.con4.condition,conSpePumSta.stateGraphRoot.activeSteps,conSpePumSta.addInt.u1,conSpePumSta.addInt.u2,conSpePumSta.addInt.y,cooMod.y,cooMod.nextTime,cooMod.index,chiNumOn.y,chiNumOn.nextTime,chiNumOn.index) * Number of discrete states: 7 (chiNumOn.nextTime,cooMod.nextTime,conSpePumSta.oneOn.newActive,conSpePumSta.off.newActive,conSpePumSta.twoOn.newActive,chiNumOn.index,cooMod.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.5193/1.051, allocations: 1.365 MB / 0.7779 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001381/1.053, allocations: 0.6451 MB / 0.7785 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.053, allocations: 0 / 0.7785 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005709/1.053, allocations: 263.5 kB / 0.7787 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005071/1.054, allocations: 30.77 kB / 0.7788 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002403/1.056, allocations: 0.8036 MB / 0.7796 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005824/1.057, allocations: 0.8722 MB / 0.7804 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004686/1.057, allocations: 70.33 kB / 0.7805 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000433/1.058, allocations: 169.1 kB / 0.7806 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of SimCode: time 1.293e-06/1.058, allocations: 0 / 0.7806 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06136/1.119, allocations: 9.155 MB / 0.7896 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002883/1.12, allocations: 228.9 kB / 0.7898 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.978/4.098, allocations: 0 / 0.7898 GB, free: 138.6 MB / 0.6511 GB