Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.134/2.134, allocations: 251.1 MB / 266.7 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001293/0.001293, allocations: 173.5 kB / 326.2 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.277/2.277, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008709/0.0008708, allocations: 94.8 kB / 0.6817 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004654, allocations: 12.06 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2063, allocations: 106.3 MB / 0.8995 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002037/0.2084, allocations: 1.37 MB / 0.9008 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000843/0.2093, allocations: 471.9 kB / 0.9013 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.37e-05/0.2094, allocations: 0 / 0.9013 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.2094, allocations: 7.922 kB / 0.9013 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.2095, allocations: 15.86 kB / 0.9013 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.2097, allocations: 23.97 kB / 0.9013 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.2099, allocations: 75.66 kB / 0.9014 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.21, allocations: 23.97 kB / 0.9014 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.2101, allocations: 23.92 kB / 0.9015 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.435e-05/0.2102, allocations: 27.86 kB / 0.9015 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.2102, allocations: 0 / 0.9015 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.762e-05/0.2103, allocations: 8 kB / 0.9015 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.2103, allocations: 11.92 kB / 0.9015 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.2103, allocations: 33.7 kB / 0.9015 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.2104, allocations: 59.86 kB / 0.9016 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2105, allocations: 3.938 kB / 0.9016 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2105, allocations: 0 / 0.9016 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.2105, allocations: 0 / 0.9016 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.000559/0.211, allocations: 389.5 kB / 0.902 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.2111, allocations: 8.031 kB / 0.902 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.2112, allocations: 12.84 kB / 0.902 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.2113, allocations: 169.3 kB / 0.9022 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.2113, allocations: 4.375 kB / 0.9022 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.2113, allocations: 12.31 kB / 0.9022 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.2116, allocations: 103.6 kB / 0.9023 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2116, allocations: 4 kB / 0.9023 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.2117, allocations: 0 / 0.9023 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2117, allocations: 0 / 0.9023 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002629/0.212, allocations: 55.97 kB / 0.9023 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005447/0.2125, allocations: 336.6 kB / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.2127, allocations: 50.56 kB / 0.9027 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.2129, allocations: 40.92 kB / 0.9027 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.2129, allocations: 0 / 0.9027 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.2129, allocations: 30.56 kB / 0.9028 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.532e-06/0.2129, allocations: 0 / 0.9028 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0004962/0.2134, allocations: 121.6 kB / 0.9029 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.2135, allocations: 81.11 kB / 0.903 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.2136, allocations: 136 kB / 0.9031 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.2137, allocations: 25.7 kB / 0.9031 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.2137, allocations: 100 kB / 0.9032 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.2138, allocations: 3.906 kB / 0.9032 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.605e-06/0.2138, allocations: 7.938 kB / 0.9032 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.039e-05/0.2138, allocations: 326.8 kB / 0.9035 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.214, allocations: 27.98 kB / 0.9036 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.2141, allocations: 41.7 kB / 0.9036 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.2143, allocations: 24.02 kB / 0.9036 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2143, allocations: 4 kB / 0.9036 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003148/0.2146, allocations: 97.52 kB / 0.9037 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.2147, allocations: 4 kB / 0.9037 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.2147, allocations: 0 / 0.9037 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.2147, allocations: 4 kB / 0.9037 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.2149, allocations: 11.98 kB / 0.9037 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2149, allocations: 4 kB / 0.9037 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.215, allocations: 15.92 kB / 0.9038 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.2151, allocations: 4 kB / 0.9038 GB, free: 60.86 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.304e-05/0.2152, allocations: 121.8 kB / 0.9039 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.2152, allocations: 11.89 kB / 0.9039 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.497e-05/0.2153, allocations: 8.25 kB / 0.9039 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.2153, allocations: 3.938 kB / 0.9039 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2153, allocations: 0 / 0.9039 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/0.2153, allocations: 85.02 kB / 0.904 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.2154, allocations: 3.938 kB / 0.904 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.2156, allocations: 19.98 kB / 0.904 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.2156, allocations: 15.92 kB / 0.904 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004188/0.2161, allocations: 168.9 kB / 0.9042 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003372/0.2164, allocations: 262.9 kB / 0.9044 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001423/0.2166, allocations: 39.84 kB / 0.9045 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.904e-05/0.2166, allocations: 101.5 kB / 0.9046 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of Backend: time 1.152e-06/0.2167, allocations: 4 kB / 0.9046 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000511/0.2172, allocations: 110.4 kB / 0.9047 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005345/0.2177, allocations: 0.6443 MB / 0.9053 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of Templates: time 0.003849/0.2216, allocations: 0.8595 MB / 0.9061 GB, free: 58.33 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)