Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.327/2.327, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001523/0.001522, allocations: 180.8 kB / 325.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.652/2.652, allocations: 205.4 MB / 0.5766 GB, free: 20.68 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 100 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004748/0.000475, allocations: 11.91 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2255, allocations: 106.3 MB / 0.8989 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002061/0.2276, allocations: 1.35 MB / 0.9002 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008608/0.2285, allocations: 480.8 kB / 0.9007 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.794e-05/0.2286, allocations: 4 kB / 0.9007 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.173e-05/0.2286, allocations: 7.922 kB / 0.9007 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.2287, allocations: 11.97 kB / 0.9007 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001666/0.2289, allocations: 23.97 kB / 0.9007 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.863e-05/0.229, allocations: 47.88 kB / 0.9008 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.2291, allocations: 19.98 kB / 0.9008 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.2293, allocations: 27.91 kB / 0.9008 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.03e-05/0.2294, allocations: 27.84 kB / 0.9008 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.2294, allocations: 4 kB / 0.9008 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.891e-05/0.2294, allocations: 4 kB / 0.9008 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.2295, allocations: 15.92 kB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.2295, allocations: 37.64 kB / 0.9009 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.736e-05/0.2296, allocations: 59.88 kB / 0.901 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2296, allocations: 0 / 0.901 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2296, allocations: 0 / 0.901 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.2297, allocations: 0 / 0.901 GB, free: 63.3 MB / 0.6042 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.000572/0.2302, allocations: 383.3 kB / 0.9013 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.2303, allocations: 15.97 kB / 0.9013 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/0.2303, allocations: 11.86 kB / 0.9013 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.2305, allocations: 171 kB / 0.9015 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.2305, allocations: 8 kB / 0.9015 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.2305, allocations: 0 / 0.9015 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.2308, allocations: 99.25 kB / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.2308, allocations: 0 / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.2309, allocations: 4 kB / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.2309, allocations: 4 kB / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/0.2312, allocations: 51.97 kB / 0.9017 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005405/0.2317, allocations: 336.6 kB / 0.902 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.2319, allocations: 54.55 kB / 0.902 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.232, allocations: 11.98 kB / 0.902 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.232, allocations: 34.52 kB / 0.9021 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 2.524e-06/0.232, allocations: 96 / 0.9021 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0004912/0.2325, allocations: 117.6 kB / 0.9022 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.2326, allocations: 81.09 kB / 0.9023 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.2327, allocations: 128.6 kB / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.2327, allocations: 29.7 kB / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.2328, allocations: 100 kB / 0.9025 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.2328, allocations: 7.906 kB / 0.9025 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/0.2328, allocations: 0 / 0.9025 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.175e-05/0.2329, allocations: 318.8 kB / 0.9028 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.233, allocations: 31.98 kB / 0.9029 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.2332, allocations: 41.7 kB / 0.9029 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.2333, allocations: 27.92 kB / 0.9029 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2333, allocations: 0 / 0.9029 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003033/0.2337, allocations: 101.6 kB / 0.903 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.2337, allocations: 7.953 kB / 0.903 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2337, allocations: 4 kB / 0.903 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.2337, allocations: 0 / 0.903 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.2339, allocations: 11.98 kB / 0.903 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.2339, allocations: 4 kB / 0.9031 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.2341, allocations: 20.11 kB / 0.9031 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.2341, allocations: 0 / 0.9031 GB, free: 60.89 MB / 0.6042 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 9.237e-05/0.2342, allocations: 117.8 kB / 0.9032 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.2342, allocations: 11.84 kB / 0.9032 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.677e-05/0.2343, allocations: 16.2 kB / 0.9032 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.2343, allocations: 0 / 0.9032 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2343, allocations: 7.938 kB / 0.9032 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2343, allocations: 0 / 0.9032 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.2345, allocations: 189.6 kB / 0.9034 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2346, allocations: 0 / 0.9034 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.2347, allocations: 15.92 kB / 0.9034 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2347, allocations: 0 / 0.9034 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.2347, allocations: 0 / 0.9034 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.2347, allocations: 3.953 kB / 0.9034 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2347, allocations: 4 kB / 0.9034 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/0.2351, allocations: 183.4 kB / 0.9036 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.2351, allocations: 85.02 kB / 0.9037 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.2352, allocations: 3.984 kB / 0.9037 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.2353, allocations: 16 kB / 0.9037 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.981e-05/0.2354, allocations: 19.92 kB / 0.9037 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.2354, allocations: 0 / 0.9037 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.197e-05/0.2355, allocations: 99.2 kB / 0.9038 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2355, allocations: 0 / 0.9038 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003018/0.2358, allocations: 16 kB / 0.9038 GB, free: 60.02 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (chiSwi.hysteresis.y) * Number of discrete states: 1 (chiSwi.hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001132/0.2359, allocations: 97.36 kB / 0.9039 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003209/0.2363, allocations: 67.95 kB / 0.904 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2363, allocations: 0 / 0.904 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.2364, allocations: 31.98 kB / 0.904 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.2367, allocations: 6 kB / 0.904 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004975/0.2372, allocations: 202.8 kB / 0.9042 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.2374, allocations: 0.7007 MB / 0.9049 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.678e-05/0.2375, allocations: 11.98 kB / 0.9049 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.967e-05/0.2375, allocations: 11.44 kB / 0.9049 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of SimCode: time 6.42e-07/0.2375, allocations: 0 / 0.9049 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of Templates: time 0.003585/0.2411, allocations: 0.7126 MB / 0.9056 GB, free: 58.15 MB / 0.6042 GB