Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage,fileNamePrefix="Buildings_7_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ConstantSpeedPumpStage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.227/2.227, allocations: 248.5 MB / 261.1 MB, free: 5.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001529/0.001528, allocations: 180.9 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.944/1.944, allocations: 205.2 MB / 0.571 GB, free: 11.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001208/0.001208, allocations: 112.9 kB / 0.6754 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.375e-05/3.391e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2061, allocations: 106.3 MB / 0.8907 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.839/1.045, allocations: 140.2 MB / 1.028 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003227/1.046, allocations: 93.11 kB / 1.028 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07152/1.117, allocations: 16.31 MB / 1.044 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.204e-06/1.117, allocations: 0 / 1.044 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.374e-05/1.117, allocations: 19.92 kB / 1.044 GB, free: 13 MB / 0.6667 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.002313/1.12, allocations: 0.903 MB / 1.045 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/1.12, allocations: 8.031 kB / 1.045 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002265/1.12, allocations: 93.83 kB / 1.045 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00034/1.12, allocations: 86.97 kB / 1.045 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/1.122, allocations: 0.5577 MB / 1.045 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.222e-05/1.122, allocations: 52.11 kB / 1.045 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/1.122, allocations: 58.64 kB / 1.045 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/1.124, allocations: 0.5591 MB / 1.046 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/1.124, allocations: 4 kB / 1.046 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-05/1.124, allocations: 21.19 kB / 1.046 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/1.124, allocations: 16 kB / 1.046 GB, free: 10.92 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/1.125, allocations: 430.2 kB / 1.046 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004162/1.13, allocations: 1.624 MB / 1.048 GB, free: 9.438 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/1.131, allocations: 0.5035 MB / 1.048 GB, free: 9.098 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000577/1.132, allocations: 218.2 kB / 1.049 GB, free: 8.965 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.077e-05/1.132, allocations: 12.55 kB / 1.049 GB, free: 8.953 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007907/1.133, allocations: 297 kB / 1.049 GB, free: 8.73 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=65): time 3.927e-06/1.133, allocations: 0 / 1.049 GB, free: 8.73 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65): time 0.001554/1.134, allocations: 0.5001 MB / 1.049 GB, free: 8.34 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/1.134, allocations: 170 kB / 1.05 GB, free: 8.141 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/1.136, allocations: 0.6544 MB / 1.05 GB, free: 7.625 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002123/1.136, allocations: 56.83 kB / 1.05 GB, free: 7.582 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003547/1.137, allocations: 293.3 kB / 1.051 GB, free: 7.398 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/1.137, allocations: 160.2 kB / 1.051 GB, free: 7.266 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/1.137, allocations: 14.56 kB / 1.051 GB, free: 7.262 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002351/1.137, allocations: 379 kB / 1.051 GB, free: 6.914 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005719/1.138, allocations: 181 kB / 1.051 GB, free: 6.801 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008043/1.138, allocations: 364.2 kB / 1.052 GB, free: 6.488 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005919/1.139, allocations: 192.2 kB / 1.052 GB, free: 6.359 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/1.139, allocations: 3.984 kB / 1.052 GB, free: 6.355 MB / 0.6667 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001749/1.141, allocations: 0.5938 MB / 1.052 GB, free: 5.898 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/1.141, allocations: 8 kB / 1.052 GB, free: 5.891 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/1.141, allocations: 0 / 1.052 GB, free: 5.891 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.231e-05/1.141, allocations: 11.98 kB / 1.052 GB, free: 5.879 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009247/1.142, allocations: 82.45 kB / 1.052 GB, free: 5.805 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-05/1.142, allocations: 8 kB / 1.052 GB, free: 5.797 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/1.143, allocations: 50.36 kB / 1.053 GB, free: 5.758 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/1.143, allocations: 30.73 kB / 1.053 GB, free: 5.734 MB / 0.6667 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.cooMod,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,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 () * 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.000323/1.144, allocations: 184.6 kB / 1.053 GB, free: 5.562 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/1.144, allocations: 75.09 kB / 1.053 GB, free: 5.488 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/1.146, allocations: 0.6007 MB / 1.053 GB, free: 5.051 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/1.146, allocations: 8 kB / 1.053 GB, free: 5.043 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/1.146, allocations: 0 / 1.053 GB, free: 5.043 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/1.146, allocations: 3.984 kB / 1.053 GB, free: 5.039 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003658/1.149, allocations: 1.474 MB / 1.055 GB, free: 3.887 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/1.149, allocations: 0 / 1.055 GB, free: 3.887 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004728/1.15, allocations: 63.69 kB / 1.055 GB, free: 3.828 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.471e-05/1.15, allocations: 4 kB / 1.055 GB, free: 3.824 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.398e-05/1.15, allocations: 13.81 kB / 1.055 GB, free: 3.82 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/1.15, allocations: 3.984 kB / 1.055 GB, free: 3.816 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/1.15, allocations: 8 kB / 1.055 GB, free: 3.809 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/1.152, allocations: 0.6489 MB / 1.056 GB, free: 3.27 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002911/1.152, allocations: 175.7 kB / 1.056 GB, free: 3.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/1.152, allocations: 19.55 kB / 1.056 GB, free: 3.082 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004803/1.153, allocations: 27.36 kB / 1.056 GB, free: 3.062 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003091/1.153, allocations: 84.53 kB / 1.056 GB, free: 2.996 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-05/1.153, allocations: 27.11 kB / 1.056 GB, free: 2.977 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009669/1.154, allocations: 496.2 kB / 1.056 GB, free: 2.613 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.41e-07/1.154, allocations: 3.938 kB / 1.056 GB, free: 2.609 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009755/1.155, allocations: 172.3 kB / 1.057 GB, free: 2.465 MB / 0.6667 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,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conSpePumSta.cooMod,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.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 62 * 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.003714/1.159, allocations: 1.752 MB / 1.058 GB, free: 1.066 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001642/1.161, allocations: 0.5445 MB / 1.059 GB, free: 0.6719 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.161, allocations: 0 / 1.059 GB, free: 0.6719 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007055/1.161, allocations: 279.2 kB / 1.059 GB, free: 488 kB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009871/1.162, allocations: 113 kB / 1.059 GB, free: 408 kB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/1.166, allocations: 1.14 MB / 1.06 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007831/1.167, allocations: 0.9641 MB / 1.061 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006517/1.167, allocations: 120.8 kB / 1.061 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005702/1.168, allocations: 262.1 kB / 1.062 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of SimCode: time 3.406e-06/1.168, allocations: 3.938 kB / 1.062 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06159/1.229, allocations: 14.74 MB / 1.076 GB, free: 15.71 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003595/1.23, allocations: 238 kB / 1.076 GB, free: 15.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.168/4.398, allocations: 7.938 kB / 1.076 GB, free: 15.39 MB / 0.698 GB