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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.213/4.213, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.423e-05/3.437e-05, allocations: 2.406 kB / 0.5383 GB, free: 10.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.231, allocations: 98.72 MB / 0.6347 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.244/0.4751, allocations: 129.7 MB / 0.7614 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003278/0.4754, allocations: 95.94 kB / 0.7615 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04873/0.5242, allocations: 10.81 MB / 0.7721 GB, free: 4.988 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5242, allocations: 0 / 0.7721 GB, free: 4.988 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.713e-05/0.5243, allocations: 15.94 kB / 0.7721 GB, free: 4.973 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.00199/0.5263, allocations: 0.7857 MB / 0.7729 GB, free: 4.117 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.962e-05/0.5264, allocations: 12.03 kB / 0.7729 GB, free: 4.105 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002208/0.5266, allocations: 82.52 kB / 0.7729 GB, free: 4.016 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002267/0.5269, allocations: 63.3 kB / 0.773 GB, free: 3.953 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008844/0.5278, allocations: 386.2 kB / 0.7734 GB, free: 3.535 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.532e-05/0.5279, allocations: 45 kB / 0.7734 GB, free: 3.492 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.528, allocations: 51.98 kB / 0.7735 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.5295, allocations: 0.5216 MB / 0.774 GB, free: 2.906 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.5296, allocations: 0 / 0.774 GB, free: 2.906 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.842e-05/0.5297, allocations: 20 kB / 0.774 GB, free: 2.887 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.5297, allocations: 15.95 kB / 0.774 GB, free: 2.871 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.5311, allocations: 431.9 kB / 0.7744 GB, free: 2.449 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003539/0.5346, allocations: 1.399 MB / 0.7758 GB, free: 0.9922 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.5359, allocations: 493.6 kB / 0.7763 GB, free: 0.5039 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005802/0.5365, allocations: 230.5 kB / 0.7765 GB, free: 284 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.375e-05/0.5366, allocations: 8.562 kB / 0.7765 GB, free: 272 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.6139/1.15, allocations: 312.2 kB / 0.7768 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 6.061e-06/1.151, allocations: 0 / 0.7768 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.002461/1.153, allocations: 0.5229 MB / 0.7773 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.842e-05/1.153, allocations: 68.28 kB / 0.7774 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009994/1.154, allocations: 338.3 kB / 0.7777 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002863/1.155, allocations: 55.39 kB / 0.7777 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003617/1.155, allocations: 214.3 kB / 0.7779 GB, free: 136 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000384/1.155, allocations: 150.8 kB / 0.7781 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.999e-05/1.155, allocations: 14.16 kB / 0.7781 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002245/1.156, allocations: 359.3 kB / 0.7784 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009693/1.157, allocations: 204.7 kB / 0.7786 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/1.158, allocations: 297.9 kB / 0.7789 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/1.159, allocations: 283.2 kB / 0.7792 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.575e-05/1.159, allocations: 2.109 kB / 0.7792 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002899/1.162, allocations: 0.7338 MB / 0.7799 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.572e-05/1.162, allocations: 90.75 kB / 0.78 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/1.162, allocations: 5.266 kB / 0.78 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.934e-05/1.162, allocations: 12.22 kB / 0.78 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006184/1.163, allocations: 57.95 kB / 0.7801 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.83e-05/1.163, allocations: 8.719 kB / 0.7801 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006225/1.163, allocations: 50.72 kB / 0.7801 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/1.164, allocations: 31.67 kB / 0.7802 GB, free: 135.1 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.0003354/1.164, allocations: 174.3 kB / 0.7803 GB, free: 135 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/1.164, allocations: 39.53 kB / 0.7804 GB, free: 135 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002365/1.167, allocations: 0.6051 MB / 0.781 GB, free: 135 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.907e-05/1.167, allocations: 14.48 kB / 0.781 GB, free: 135 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/1.167, allocations: 0 / 0.781 GB, free: 135 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/1.167, allocations: 4.5 kB / 0.781 GB, free: 135 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004718/1.171, allocations: 1.317 MB / 0.7823 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/1.171, allocations: 2.203 kB / 0.7823 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000447/1.172, allocations: 50.78 kB / 0.7823 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.541e-05/1.172, allocations: 2.75 kB / 0.7823 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.31e-05/1.172, allocations: 15.22 kB / 0.7823 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.033e-05/1.172, allocations: 2.75 kB / 0.7823 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.172, allocations: 0 / 0.7823 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/1.174, allocations: 0.6662 MB / 0.783 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/1.174, allocations: 126 kB / 0.7831 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/1.175, allocations: 18.33 kB / 0.7831 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005349/1.175, allocations: 24.77 kB / 0.7831 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003779/1.176, allocations: 78.47 kB / 0.7832 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/1.176, allocations: 31.73 kB / 0.7832 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000565/1.176, allocations: 241.5 kB / 0.7835 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.21e-07/1.176, allocations: 0 / 0.7835 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001327/1.178, allocations: 140.8 kB / 0.7836 GB, free: 134.3 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.003577/1.181, allocations: 1.429 MB / 0.785 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002173/1.184, allocations: 0.685 MB / 0.7857 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.184, allocations: 0 / 0.7857 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009509/1.185, allocations: 274.8 kB / 0.7859 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006648/1.185, allocations: 46.45 kB / 0.786 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003869/1.189, allocations: 0.8595 MB / 0.7868 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007235/1.19, allocations: 0.866 MB / 0.7877 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005866/1.191, allocations: 72.7 kB / 0.7877 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005488/1.191, allocations: 166.5 kB / 0.7879 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of SimCode: time 1.733e-06/1.191, allocations: 1.156 kB / 0.7879 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0539/1.245, allocations: 9.635 MB / 0.7973 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/1.245, allocations: 245.3 kB / 0.7975 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.921/4.166, allocations: 0 / 0.7975 GB, free: 131.3 MB / 0.6511 GB