Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.591/1.591, allocations: 287.4 MB / 303.2 MB, free: 8.109 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.00104/0.00104, allocations: 182.3 kB / 371.8 MB, free: 10.82 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.411/1.411, allocations: 205.4 MB / 0.6305 GB, free: 10.6 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.000719/0.0007189, allocations: 85.02 kB / 0.7438 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004074/0.0004074, allocations: 12.61 kB / 0.8667 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2213, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.001632/0.223, allocations: 1.373 MB / 0.9806 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006411/0.2236, allocations: 457.1 kB / 0.9811 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.395e-05/0.2237, allocations: 0 / 0.9811 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.751e-05/0.2237, allocations: 7.938 kB / 0.9811 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.218e-05/0.2238, allocations: 15.86 kB / 0.9811 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001488/0.2239, allocations: 19.97 kB / 0.9811 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.715e-05/0.224, allocations: 71.72 kB / 0.9812 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.2242, allocations: 23.97 kB / 0.9812 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.353e-05/0.2243, allocations: 35.86 kB / 0.9812 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.004e-05/0.2243, allocations: 27.86 kB / 0.9813 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.2244, allocations: 0 / 0.9813 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.405e-05/0.2244, allocations: 4 kB / 0.9813 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.2244, allocations: 11.97 kB / 0.9813 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.2244, allocations: 37.64 kB / 0.9813 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.86e-05/0.2245, allocations: 56.09 kB / 0.9814 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2245, allocations: 0 / 0.9814 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2245, allocations: 0 / 0.9814 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.2246, allocations: 0 / 0.9814 GB, free: 26.05 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.0004486/0.225, allocations: 391.1 kB / 0.9817 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.2251, allocations: 8.031 kB / 0.9817 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.2251, allocations: 8.844 kB / 0.9817 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.2252, allocations: 186.8 kB / 0.9819 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.2252, allocations: 8.312 kB / 0.9819 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.2253, allocations: 4.375 kB / 0.9819 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.2255, allocations: 103.7 kB / 0.982 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.2255, allocations: 0 / 0.982 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.2255, allocations: 0 / 0.982 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2255, allocations: 0 / 0.982 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.2257, allocations: 63.91 kB / 0.9821 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.2261, allocations: 328.6 kB / 0.9824 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.2262, allocations: 58.59 kB / 0.9825 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.261e-05/0.2263, allocations: 32.94 kB / 0.9825 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.2263, allocations: 0 / 0.9825 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.2263, allocations: 30.56 kB / 0.9825 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.2263, allocations: 0 / 0.9825 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0003025/0.2266, allocations: 113.6 kB / 0.9826 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.2267, allocations: 81.11 kB / 0.9827 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.282e-05/0.2267, allocations: 126.1 kB / 0.9828 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.2268, allocations: 33.7 kB / 0.9829 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.2268, allocations: 104 kB / 0.983 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.2268, allocations: 11.75 kB / 0.983 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.2268, allocations: 0 / 0.983 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.944e-05/0.2269, allocations: 326.8 kB / 0.9833 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.225e-05/0.227, allocations: 27.98 kB / 0.9833 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.238e-05/0.227, allocations: 45.7 kB / 0.9834 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.2272, allocations: 48.83 kB / 0.9834 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.2272, allocations: 0 / 0.9834 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001771/0.2274, allocations: 101.6 kB / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.2274, allocations: 4 kB / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2274, allocations: 0 / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.2274, allocations: 3.984 kB / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.748e-05/0.2275, allocations: 11.94 kB / 0.9835 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2275, allocations: 192 / 0.9835 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.596e-05/0.2276, allocations: 28.11 kB / 0.9835 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.2276, allocations: 4 kB / 0.9836 GB, free: 23.57 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 6.216e-05/0.2277, allocations: 129.7 kB / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.2277, allocations: 7.906 kB / 0.9837 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.2278, allocations: 8.25 kB / 0.9837 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2278, allocations: 0 / 0.9837 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.2278, allocations: 0 / 0.9837 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.2278, allocations: 81.11 kB / 0.9838 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.2278, allocations: 11.94 kB / 0.9838 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.2279, allocations: 15.98 kB / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.228, allocations: 11.97 kB / 0.9838 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002183/0.2282, allocations: 172.9 kB / 0.984 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001866/0.2284, allocations: 262.6 kB / 0.9842 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.511e-05/0.2285, allocations: 39.91 kB / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.518e-05/0.2285, allocations: 96.39 kB / 0.9844 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of Backend: time 3.01e-07/0.2285, allocations: 0 / 0.9844 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003585/0.2289, allocations: 114.4 kB / 0.9845 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0004162/0.2293, allocations: 0.6403 MB / 0.9851 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of Templates: time 0.002674/0.232, allocations: 0.8604 MB / 0.9859 GB, free: 21.05 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1)