Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.606/1.606, allocations: 288.4 MB / 304.3 MB, free: 8.113 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009761/0.0009762, allocations: 187.2 kB / 372.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.273/1.273, allocations: 205.4 MB / 0.6316 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006846/0.0006848, allocations: 90.91 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004935/0.0004936, allocations: 11.41 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2011, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.001459/0.2026, allocations: 1.374 MB / 0.9821 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005848/0.2032, allocations: 455.9 kB / 0.9825 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.512e-05/0.2033, allocations: 0 / 0.9825 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.898e-05/0.2033, allocations: 7.984 kB / 0.9825 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.482e-05/0.2034, allocations: 15.86 kB / 0.9825 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.2036, allocations: 23.97 kB / 0.9826 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.638e-05/0.2037, allocations: 79.7 kB / 0.9826 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.2038, allocations: 19.98 kB / 0.9827 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.832e-05/0.2039, allocations: 27.86 kB / 0.9827 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.204, allocations: 31.86 kB / 0.9827 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.204, allocations: 0 / 0.9827 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.228e-05/0.204, allocations: 4 kB / 0.9827 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.465e-05/0.204, allocations: 11.97 kB / 0.9827 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.2041, allocations: 57.5 kB / 0.9828 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.807e-05/0.2041, allocations: 60.09 kB / 0.9828 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2041, allocations: 0 / 0.9828 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2041, allocations: 0 / 0.9828 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.2042, allocations: 0 / 0.9828 GB, free: 25.19 MB / 0.6198 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.0003768/0.2045, allocations: 383.2 kB / 0.9832 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.2046, allocations: 8.031 kB / 0.9832 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.2046, allocations: 8.844 kB / 0.9832 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.981e-05/0.2047, allocations: 188.1 kB / 0.9834 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.2047, allocations: 4.375 kB / 0.9834 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.2048, allocations: 4.375 kB / 0.9834 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.2049, allocations: 99.62 kB / 0.9835 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.205, allocations: 3.938 kB / 0.9835 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.205, allocations: 8 kB / 0.9835 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.205, allocations: 0 / 0.9835 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.2051, allocations: 63.89 kB / 0.9836 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/0.2055, allocations: 320.7 kB / 0.9839 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.2056, allocations: 66.58 kB / 0.9839 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.345e-05/0.2057, allocations: 28.94 kB / 0.984 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.2058, allocations: 0 / 0.984 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.2058, allocations: 34.56 kB / 0.984 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.2058, allocations: 4 kB / 0.984 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002898/0.2061, allocations: 105.6 kB / 0.9841 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.962e-05/0.2061, allocations: 81.11 kB / 0.9842 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.583e-05/0.2062, allocations: 134 kB / 0.9843 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.2062, allocations: 33.7 kB / 0.9843 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.086e-05/0.2062, allocations: 99.98 kB / 0.9844 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.2062, allocations: 15.8 kB / 0.9845 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/0.2063, allocations: 0 / 0.9845 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.74e-05/0.2063, allocations: 322.8 kB / 0.9848 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.396e-05/0.2064, allocations: 23.98 kB / 0.9848 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.425e-05/0.2065, allocations: 45.69 kB / 0.9848 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.2066, allocations: 52.84 kB / 0.9849 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2066, allocations: 0 / 0.9849 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001719/0.2068, allocations: 97.59 kB / 0.985 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.2068, allocations: 8 kB / 0.985 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.2068, allocations: 7.922 kB / 0.985 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.2068, allocations: 0 / 0.985 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.278e-05/0.2069, allocations: 11.98 kB / 0.985 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.2069, allocations: 0 / 0.985 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.954e-05/0.207, allocations: 23.98 kB / 0.985 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.207, allocations: 0 / 0.985 GB, free: 22.71 MB / 0.6198 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 5.453e-05/0.2071, allocations: 122 kB / 0.9851 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.2071, allocations: 7.906 kB / 0.9852 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.606e-05/0.2072, allocations: 16.23 kB / 0.9852 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2072, allocations: 0 / 0.9852 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2072, allocations: 7.922 kB / 0.9852 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.03e-05/0.2072, allocations: 81.11 kB / 0.9853 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.2072, allocations: 11.88 kB / 0.9853 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.2073, allocations: 16.17 kB / 0.9853 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.2074, allocations: 15.98 kB / 0.9853 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002476/0.2076, allocations: 176.8 kB / 0.9855 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001887/0.2078, allocations: 266.7 kB / 0.9857 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.467e-05/0.2079, allocations: 27.92 kB / 0.9857 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.551e-05/0.208, allocations: 100.7 kB / 0.9858 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of Backend: time 5.41e-07/0.208, allocations: 0 / 0.9858 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003533/0.2083, allocations: 121.4 kB / 0.986 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0003353/0.2087, allocations: 0.6403 MB / 0.9866 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of Templates: time 0.002411/0.2111, allocations: 0.8576 MB / 0.9874 GB, free: 20.2 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1)