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 loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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") 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.214/2.214, allocations: 251.3 MB / 266.2 MB, free: 11.52 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.001292/0.001292, allocations: 176.4 kB / 325.8 MB, free: 2.809 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.33/2.33, allocations: 205.4 MB / 0.5767 GB, free: 20.73 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.000948/0.0009473, allocations: 88.23 kB / 0.6812 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000518/0.0005183, allocations: 13.16 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.221, allocations: 106.3 MB / 0.899 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002178/0.2232, allocations: 1.373 MB / 0.9004 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008967/0.2241, allocations: 475.9 kB / 0.9008 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.059e-05/0.2242, allocations: 4 kB / 0.9008 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.891e-05/0.2243, allocations: 3.938 kB / 0.9008 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.463e-05/0.2244, allocations: 3.938 kB / 0.9009 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.2246, allocations: 27.89 kB / 0.9009 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.2247, allocations: 71.72 kB / 0.9009 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.2249, allocations: 31.92 kB / 0.901 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.225, allocations: 23.92 kB / 0.901 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.137e-05/0.2251, allocations: 31.83 kB / 0.901 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.2251, allocations: 4 kB / 0.901 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.738e-05/0.2252, allocations: 0 / 0.901 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.2252, allocations: 11.94 kB / 0.901 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.2252, allocations: 37.64 kB / 0.9011 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.2253, allocations: 59.86 kB / 0.9011 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2254, allocations: 0 / 0.9011 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2254, allocations: 8 kB / 0.9011 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.2254, allocations: 0 / 0.9011 GB, free: 63.25 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.0005764/0.226, allocations: 383.4 kB / 0.9015 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.226, allocations: 8.031 kB / 0.9015 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.966e-05/0.2261, allocations: 16.84 kB / 0.9015 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.2262, allocations: 174.8 kB / 0.9017 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.2263, allocations: 4.375 kB / 0.9017 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.2263, allocations: 8.375 kB / 0.9017 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/0.2266, allocations: 95.62 kB / 0.9018 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2266, allocations: 0 / 0.9018 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.2266, allocations: 4 kB / 0.9018 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.2266, allocations: 4 kB / 0.9018 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002624/0.2269, allocations: 55.97 kB / 0.9019 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005469/0.2275, allocations: 332.6 kB / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.2277, allocations: 50.56 kB / 0.9022 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.2278, allocations: 28.94 kB / 0.9023 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.2279, allocations: 7.984 kB / 0.9023 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.2279, allocations: 34.56 kB / 0.9023 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.2279, allocations: 0 / 0.9023 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0005262/0.2284, allocations: 113.6 kB / 0.9024 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.2285, allocations: 81.11 kB / 0.9025 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.2286, allocations: 134 kB / 0.9026 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.2286, allocations: 25.7 kB / 0.9026 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.2287, allocations: 100 kB / 0.9027 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.2287, allocations: 11.91 kB / 0.9027 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-06/0.2287, allocations: 3.938 kB / 0.9027 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.432e-05/0.2288, allocations: 322.8 kB / 0.9031 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.2289, allocations: 27.98 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.2291, allocations: 41.7 kB / 0.9031 GB, free: 61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.2292, allocations: 27.98 kB / 0.9031 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2293, allocations: 0 / 0.9031 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003091/0.2296, allocations: 101.5 kB / 0.9032 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.2296, allocations: 13.97 kB / 0.9033 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2296, allocations: 0 / 0.9033 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.2296, allocations: 0 / 0.9033 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.2298, allocations: 11.98 kB / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2298, allocations: 0 / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.23, allocations: 19.94 kB / 0.9033 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.23, allocations: 7.922 kB / 0.9033 GB, free: 60.82 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.077e-05/0.2301, allocations: 114 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.2301, allocations: 11.89 kB / 0.9034 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.2302, allocations: 16.25 kB / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2302, allocations: 0 / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2302, allocations: 0 / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-06/0.2302, allocations: 4 kB / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.2304, allocations: 193.5 kB / 0.9036 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2304, allocations: 192 / 0.9036 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.2306, allocations: 19.92 kB / 0.9036 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.2306, allocations: 0 / 0.9036 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.2306, allocations: 0 / 0.9036 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.2306, allocations: 0 / 0.9036 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2306, allocations: 4 kB / 0.9036 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.231, allocations: 187.4 kB / 0.9038 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/0.231, allocations: 85.02 kB / 0.9039 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.2311, allocations: 7.984 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.2312, allocations: 12 kB / 0.9039 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.012e-05/0.2313, allocations: 15.97 kB / 0.9039 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.2313, allocations: 0 / 0.9039 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.023e-05/0.2314, allocations: 105.3 kB / 0.904 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2314, allocations: 0 / 0.904 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002899/0.2317, allocations: 12 kB / 0.9041 GB, free: 59.95 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.0001077/0.2318, allocations: 103.1 kB / 0.9041 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003256/0.2322, allocations: 71.95 kB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.789e-05/0.2322, allocations: 0 / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.2324, allocations: 27.98 kB / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.2327, allocations: 7.938 kB / 0.9043 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004431/0.2332, allocations: 202.7 kB / 0.9044 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001464/0.2333, allocations: 0.6926 MB / 0.9051 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.344e-05/0.2334, allocations: 8 kB / 0.9051 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.973e-05/0.2335, allocations: 15.42 kB / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of SimCode: time 7.11e-07/0.2335, allocations: 0 / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of Templates: time 0.003683/0.2372, allocations: 0.7131 MB / 0.9058 GB, free: 58.07 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile (rm -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1)