Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,fileNamePrefix="Buildings_6_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01263/0.01264, allocations: 222.2 kB / 15.17 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001226/0.001226, allocations: 174.6 kB / 16.06 MB, free: 5.836 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.598/3.598, allocations: 389.1 MB / 405.9 MB, free: 13.35 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.193/4.193, allocations: 472.3 MB / 0.9018 GB, free: 3.664 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.0004799, allocations: 12 kB / 1.008 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6817/0.6822, allocations: 98.72 MB / 1.104 GB, free: 213 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.00277/0.685, allocations: 1.689 MB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.6865, allocations: 0.6843 MB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.6866, allocations: 2.906 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.6868, allocations: 24.77 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.6869, allocations: 32.67 kB / 1.107 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004466/0.6874, allocations: 99.03 kB / 1.107 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004676/0.6878, allocations: 341.6 kB / 1.107 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004009/0.6883, allocations: 195.5 kB / 1.107 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.6884, allocations: 97.45 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.6886, allocations: 105.6 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.222e-05/0.6887, allocations: 13.66 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.138e-05/0.6888, allocations: 25.38 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.422e-05/0.6889, allocations: 48.97 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.863e-05/0.6889, allocations: 67.42 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004026/0.6893, allocations: 307.2 kB / 1.108 GB, free: 211 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.6894, allocations: 5.562 kB / 1.108 GB, free: 211 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6894, allocations: 3.406 kB / 1.108 GB, free: 211 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.6894, allocations: 0 / 1.108 GB, free: 211 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001086/0.6905, allocations: 0.5344 MB / 1.108 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.6905, allocations: 12.95 kB / 1.108 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.879e-05/0.6906, allocations: 66.92 kB / 1.108 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.017e-05/0.6907, allocations: 31.19 kB / 1.108 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.6911, allocations: 264.8 kB / 1.109 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.804e-05/0.6912, allocations: 28.61 kB / 1.109 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.438e-05/0.6912, allocations: 29.44 kB / 1.109 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009561/0.6922, allocations: 335.2 kB / 1.109 GB, free: 210 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.6922, allocations: 1.125 kB / 1.109 GB, free: 210 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.42e-05/0.6923, allocations: 13.89 kB / 1.109 GB, free: 210 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.6923, allocations: 10.77 kB / 1.109 GB, free: 210 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009183/0.6932, allocations: 262.5 kB / 1.109 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.6952, allocations: 0.9565 MB / 1.11 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009994/0.6962, allocations: 270.7 kB / 1.11 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004147/0.6967, allocations: 130.5 kB / 1.111 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.845e-05/0.6967, allocations: 7.75 kB / 1.111 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005893/0.6973, allocations: 182.7 kB / 1.111 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 3.717e-06/0.6974, allocations: 3.938 kB / 1.111 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32): time 0.001313/0.6987, allocations: 367.4 kB / 1.111 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.6987, allocations: 59.89 kB / 1.111 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.699, allocations: 199.9 kB / 1.111 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.64e-05/0.699, allocations: 42.98 kB / 1.111 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.6992, allocations: 150.8 kB / 1.112 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.251e-05/0.6993, allocations: 87.83 kB / 1.112 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.6993, allocations: 6 kB / 1.112 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.76e-05/0.6994, allocations: 333.4 kB / 1.112 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004457/0.6999, allocations: 113.2 kB / 1.112 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004766/0.7004, allocations: 174.7 kB / 1.112 GB, free: 208 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004197/0.7008, allocations: 133.8 kB / 1.112 GB, free: 208 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.7008, allocations: 3.125 kB / 1.112 GB, free: 208 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001102/0.7019, allocations: 375 kB / 1.113 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.007e-05/0.702, allocations: 32.83 kB / 1.113 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.702, allocations: 0.9688 kB / 1.113 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.702, allocations: 3.094 kB / 1.113 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/0.7024, allocations: 50.45 kB / 1.113 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.7024, allocations: 6.766 kB / 1.113 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004471/0.7029, allocations: 61.06 kB / 1.113 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.153e-05/0.7029, allocations: 19.33 kB / 1.113 GB, free: 207.7 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCHWST.T_start,wseCHWST.T_start,$PRE.wseCHWST.count,wseCHWST.count,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.on.active,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.T2.condition,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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.0002442/0.7032, allocations: 177.6 kB / 1.113 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.217e-05/0.7033, allocations: 21.69 kB / 1.113 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009927/0.7043, allocations: 304.3 kB / 1.113 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.7043, allocations: 7.969 kB / 1.113 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.7043, allocations: 0 / 1.113 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.7043, allocations: 8.375 kB / 1.113 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.706, allocations: 0.7613 MB / 1.114 GB, free: 207 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.7061, allocations: 3.938 kB / 1.114 GB, free: 207 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.7063, allocations: 32.75 kB / 1.114 GB, free: 207 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.7063, allocations: 2.25 kB / 1.114 GB, free: 207 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.7064, allocations: 10.91 kB / 1.114 GB, free: 207 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.7064, allocations: 2.094 kB / 1.114 GB, free: 207 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7064, allocations: 2.375 kB / 1.114 GB, free: 207 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008976/0.7073, allocations: 382.5 kB / 1.115 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.265e-05/0.7074, allocations: 102 kB / 1.115 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.265e-05/0.7075, allocations: 7.234 kB / 1.115 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004085/0.7079, allocations: 41.33 kB / 1.115 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/0.7081, allocations: 43.55 kB / 1.115 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.401e-05/0.7081, allocations: 6.812 kB / 1.115 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001328/0.7083, allocations: 136.1 kB / 1.115 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.21e-07/0.7083, allocations: 2.938 kB / 1.115 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004875/0.7088, allocations: 72.78 kB / 1.115 GB, free: 206.5 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.localActive,wseCon.off.localActive,$cse1,$cse2,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.newActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.active,wseCon.on.newActive,wseCon.on.oldActive,wseCon.T2.condition,wseCon.T2.fire,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 3 (wseCHWST.count,wseCon.off.newActive,wseCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.00117/0.71, allocations: 0.9331 MB / 1.116 GB, free: 205.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.711, allocations: 337.8 kB / 1.116 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.711, allocations: 0 / 1.116 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004766/0.7115, allocations: 146.4 kB / 1.116 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005621/0.7121, allocations: 34.06 kB / 1.116 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003617/0.7157, allocations: 1.43 MB / 1.118 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.7161, allocations: 0.7791 MB / 1.119 GB, free: 204 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002121/0.7163, allocations: 29.78 kB / 1.119 GB, free: 204 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.7165, allocations: 84.64 kB / 1.119 GB, free: 204 MB / 0.7292 GB Notification: Performance of SimCode: time 1.002e-06/0.7165, allocations: 0 / 1.119 GB, free: 204 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03139/0.7479, allocations: 5.064 MB / 1.124 GB, free: 203.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/0.7482, allocations: 219.4 kB / 1.124 GB, free: 203.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.589/3.337, allocations: 0 / 1.124 GB, free: 203.7 MB / 0.7292 GB