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.ChillerSwitch.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: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004265/0.004269, allocations: 238 kB / 15.8 MB, free: 6.316 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.00109/0.00109, allocations: 180 kB / 16.68 MB, free: 5.469 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 4.032/4.032, allocations: 389.1 MB / 406.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.132/4.132, allocations: 472.3 MB / 0.9023 GB, free: 18.8 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004791/0.0004793, allocations: 12.94 kB / 1.008 GB, free: 13.39 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2466, allocations: 98.72 MB / 1.105 GB, free: 10.72 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002406/0.2491, allocations: 1.353 MB / 1.106 GB, free: 9.355 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.2501, allocations: 451.5 kB / 1.106 GB, free: 8.91 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.134e-05/0.2502, allocations: 4 kB / 1.106 GB, free: 8.906 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 2.627e-05/0.2502, allocations: 7.922 kB / 1.106 GB, free: 8.898 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 8.642e-05/0.2503, allocations: 9.125 kB / 1.106 GB, free: 8.891 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.2505, allocations: 23.95 kB / 1.106 GB, free: 8.867 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.2507, allocations: 76.38 kB / 1.106 GB, free: 8.793 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.2508, allocations: 17.7 kB / 1.106 GB, free: 8.777 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.2509, allocations: 27.8 kB / 1.107 GB, free: 8.75 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.2511, allocations: 40.39 kB / 1.107 GB, free: 8.711 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.2511, allocations: 1.562 kB / 1.107 GB, free: 8.711 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 2.107e-05/0.2511, allocations: 4 kB / 1.107 GB, free: 8.707 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.915e-05/0.2511, allocations: 4 kB / 1.107 GB, free: 8.703 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 4.145e-05/0.2512, allocations: 37.64 kB / 1.107 GB, free: 8.66 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.2513, allocations: 56.77 kB / 1.107 GB, free: 8.605 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2513, allocations: 0 / 1.107 GB, free: 8.605 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2513, allocations: 0.8438 kB / 1.107 GB, free: 8.605 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.2514, allocations: 0 / 1.107 GB, free: 8.605 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006548/0.252, allocations: 389.1 kB / 1.107 GB, free: 8.18 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.2521, allocations: 9.312 kB / 1.107 GB, free: 8.172 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/0.2521, allocations: 8.688 kB / 1.107 GB, free: 8.164 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.2523, allocations: 178.5 kB / 1.107 GB, free: 7.953 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.2523, allocations: 9.031 kB / 1.107 GB, free: 7.945 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.2524, allocations: 4 kB / 1.107 GB, free: 7.941 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.2527, allocations: 96.84 kB / 1.107 GB, free: 7.836 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2527, allocations: 1.281 kB / 1.107 GB, free: 7.836 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.2527, allocations: 3.953 kB / 1.107 GB, free: 7.832 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.2528, allocations: 3.984 kB / 1.107 GB, free: 7.828 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002875/0.253, allocations: 65.69 kB / 1.107 GB, free: 7.766 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000646/0.2537, allocations: 331.9 kB / 1.108 GB, free: 7.395 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.2539, allocations: 55.84 kB / 1.108 GB, free: 7.332 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.2541, allocations: 34.09 kB / 1.108 GB, free: 7.297 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.2541, allocations: 1.219 kB / 1.108 GB, free: 7.297 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.2542, allocations: 40.45 kB / 1.108 GB, free: 7.25 MB / 0.573 GB Notification: Performance of pre-optimization done (n=4): time 1.733e-06/0.2542, allocations: 0 / 1.108 GB, free: 7.25 MB / 0.573 GB Notification: Performance of matching and sorting (n=4): time 0.000525/0.2547, allocations: 110.7 kB / 1.108 GB, free: 7.137 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.2548, allocations: 77.89 kB / 1.108 GB, free: 7.043 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.2549, allocations: 130.5 kB / 1.108 GB, free: 6.906 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.255, allocations: 31.11 kB / 1.108 GB, free: 6.871 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 7.946e-05/0.2551, allocations: 100 kB / 1.108 GB, free: 6.77 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.2551, allocations: 11.78 kB / 1.108 GB, free: 6.758 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-06/0.2551, allocations: 1.844 kB / 1.108 GB, free: 6.758 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.2553, allocations: 322.8 kB / 1.109 GB, free: 6.434 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.2554, allocations: 29.23 kB / 1.109 GB, free: 6.406 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.2556, allocations: 42.33 kB / 1.109 GB, free: 6.359 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.2557, allocations: 25.52 kB / 1.109 GB, free: 6.336 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.2558, allocations: 3.953 kB / 1.109 GB, free: 6.332 MB / 0.573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003414/0.2561, allocations: 92.67 kB / 1.109 GB, free: 6.238 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.2562, allocations: 7.984 kB / 1.109 GB, free: 6.23 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.2562, allocations: 0 / 1.109 GB, free: 6.23 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.2562, allocations: 0 / 1.109 GB, free: 6.23 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.2564, allocations: 16.91 kB / 1.109 GB, free: 6.215 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.2564, allocations: 5.172 kB / 1.109 GB, free: 6.211 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.2565, allocations: 24.02 kB / 1.109 GB, free: 6.188 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.2566, allocations: 0 / 1.109 GB, free: 6.188 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.chiSwi.hysteresis.y,chiSwi.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001235/0.2567, allocations: 121.1 kB / 1.109 GB, free: 6.062 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.2567, allocations: 11.86 kB / 1.109 GB, free: 6.051 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.002e-05/0.2568, allocations: 8.25 kB / 1.109 GB, free: 6.039 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2568, allocations: 0 / 1.109 GB, free: 6.039 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2568, allocations: 4 kB / 1.109 GB, free: 6.035 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.2569, allocations: 81.02 kB / 1.109 GB, free: 5.938 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.2569, allocations: 0 / 1.109 GB, free: 5.938 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.2571, allocations: 19.98 kB / 1.109 GB, free: 5.918 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.604e-05/0.2572, allocations: 15.97 kB / 1.109 GB, free: 5.902 MB / 0.573 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004631/0.2577, allocations: 188.8 kB / 1.109 GB, free: 5.711 MB / 0.573 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004092/0.2581, allocations: 258.7 kB / 1.109 GB, free: 5.441 MB / 0.573 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001526/0.2583, allocations: 32.27 kB / 1.11 GB, free: 5.41 MB / 0.573 GB Notification: Performance of sorting global known variables: time 7.951e-05/0.2583, allocations: 99.27 kB / 1.11 GB, free: 5.312 MB / 0.573 GB Notification: Performance of Backend: time 7.51e-07/0.2584, allocations: 0 / 1.11 GB, free: 5.312 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.000554/0.2589, allocations: 118.4 kB / 1.11 GB, free: 5.188 MB / 0.573 GB Notification: Performance of SimCode: time 0.0006916/0.2596, allocations: 0.6483 MB / 1.11 GB, free: 4.492 MB / 0.573 GB Notification: Performance of Templates: time 0.00427/0.2639, allocations: 0.8494 MB / 1.111 GB, free: 3.652 MB / 0.573 GB