Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 109.9 kB / 16.37 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 190.8 kB / 17.31 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.805/1.805, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 72.23 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2421, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.003405/0.2455, allocations: 1.67 MB / 0.7864 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009912/0.2465, allocations: 491.7 kB / 0.7869 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.188e-05/0.2466, allocations: 0 / 0.7869 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.062e-05/0.2467, allocations: 3.938 kB / 0.7869 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.809e-05/0.2468, allocations: 23.78 kB / 0.7869 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.247, allocations: 23.97 kB / 0.787 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.2472, allocations: 87.66 kB / 0.787 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.2473, allocations: 31.97 kB / 0.7871 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.2474, allocations: 31.86 kB / 0.7871 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.2476, allocations: 39.84 kB / 0.7871 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.2476, allocations: 8 kB / 0.7872 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.598e-05/0.2476, allocations: 4 kB / 0.7872 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.1e-05/0.2477, allocations: 23.91 kB / 0.7872 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.12e-05/0.2477, allocations: 31.86 kB / 0.7872 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.2479, allocations: 91.62 kB / 0.7873 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2479, allocations: 0 / 0.7873 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2479, allocations: 0 / 0.7873 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.2479, allocations: 0 / 0.7873 GB, free: 0.582 MB / 0.6544 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.0005974/0.2485, allocations: 391.1 kB / 0.7877 GB, free: 156 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.2485, allocations: 12.02 kB / 0.7877 GB, free: 144 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.2486, allocations: 8.844 kB / 0.7877 GB, free: 136 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4303/0.6789, allocations: 176.2 kB / 0.7879 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.6789, allocations: 2.281 kB / 0.7879 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.679, allocations: 3.562 kB / 0.7879 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.6793, allocations: 95.88 kB / 0.788 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.6793, allocations: 0.8438 kB / 0.788 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.6793, allocations: 2.719 kB / 0.788 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.6793, allocations: 5.906 kB / 0.788 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.6795, allocations: 52.27 kB / 0.788 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004824/0.68, allocations: 321 kB / 0.7883 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.6801, allocations: 53.23 kB / 0.7884 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.073e-05/0.6802, allocations: 32.73 kB / 0.7884 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.6802, allocations: 0 / 0.7884 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.6803, allocations: 35.09 kB / 0.7884 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.6803, allocations: 0 / 0.7884 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0003375/0.6806, allocations: 105.4 kB / 0.7885 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.6807, allocations: 82.67 kB / 0.7886 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.873e-05/0.6808, allocations: 127.8 kB / 0.7887 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.6808, allocations: 30.11 kB / 0.7888 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/0.6808, allocations: 103.9 kB / 0.7889 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.6808, allocations: 3.906 kB / 0.7889 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.6809, allocations: 21.84 kB / 0.7889 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.316e-05/0.681, allocations: 318.2 kB / 0.7892 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.321e-05/0.681, allocations: 27.41 kB / 0.7892 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.408e-05/0.6811, allocations: 36.72 kB / 0.7893 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.6812, allocations: 54.31 kB / 0.7893 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.6813, allocations: 3.375 kB / 0.7893 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001696/0.6814, allocations: 89.5 kB / 0.7894 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.6815, allocations: 5.594 kB / 0.7894 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.6815, allocations: 1.016 kB / 0.7894 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.6815, allocations: 3.141 kB / 0.7894 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.6816, allocations: 15.48 kB / 0.7894 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.6816, allocations: 0 / 0.7894 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.401e-05/0.6817, allocations: 11.3 kB / 0.7894 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.6817, allocations: 3.375 kB / 0.7894 GB, free: 47.82 MB / 0.6544 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 (chiSwi.hysteresis.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.076e-05/0.6818, allocations: 121.2 kB / 0.7895 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.6818, allocations: 6.75 kB / 0.7896 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.334e-05/0.6819, allocations: 9.906 kB / 0.7896 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.6819, allocations: 4.172 kB / 0.7896 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.6819, allocations: 0 / 0.7896 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-05/0.6819, allocations: 86.3 kB / 0.7896 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.682, allocations: 8.531 kB / 0.7897 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.6821, allocations: 9.578 kB / 0.7897 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.6821, allocations: 10.31 kB / 0.7897 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002265/0.6824, allocations: 170.9 kB / 0.7898 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001887/0.6826, allocations: 248.4 kB / 0.7901 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.84e-05/0.6826, allocations: 26.38 kB / 0.7901 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.212e-05/0.6827, allocations: 103.3 kB / 0.7902 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of Backend: time 5.92e-07/0.6827, allocations: 0.5469 kB / 0.7902 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004001/0.6831, allocations: 116.1 kB / 0.7903 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of SimCode: time 0.00053/0.6837, allocations: 0.6167 MB / 0.7909 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of Templates: time 0.003257/0.6869, allocations: 1.032 MB / 0.7919 GB, free: 46.55 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile (rm -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1)