Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.689/1.689, allocations: 287.4 MB / 303.2 MB, free: 8.316 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.001027/0.001027, allocations: 187 kB / 371.8 MB, free: 10.84 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.401/1.401, allocations: 205.4 MB / 0.6305 GB, free: 10.59 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.0009002/0.0009003, allocations: 93.3 kB / 0.7438 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003743, allocations: 15.22 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2034, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001378/0.2048, allocations: 1.14 MB / 0.9804 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006084/0.2054, allocations: 408.3 kB / 0.9808 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.53e-05/0.2055, allocations: 0 / 0.9808 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.2055, allocations: 3.938 kB / 0.9808 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.305e-05/0.2056, allocations: 0 / 0.9808 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.2058, allocations: 4 kB / 0.9808 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.557e-05/0.2058, allocations: 27.86 kB / 0.9808 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.2059, allocations: 8 kB / 0.9808 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.472e-05/0.206, allocations: 11.97 kB / 0.9808 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.908e-05/0.2061, allocations: 11.94 kB / 0.9809 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.2061, allocations: 11.94 kB / 0.9809 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.779e-06/0.2062, allocations: 0 / 0.9809 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.177e-05/0.2062, allocations: 3.984 kB / 0.9809 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.37e-05/0.2062, allocations: 25.7 kB / 0.9809 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.921e-05/0.2063, allocations: 15.98 kB / 0.9809 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2063, allocations: 0 / 0.9809 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2063, allocations: 7.938 kB / 0.9809 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.2063, allocations: 0 / 0.9809 GB, free: 26.53 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003189/0.2066, allocations: 331.7 kB / 0.9812 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.2067, allocations: 15.97 kB / 0.9812 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.2067, allocations: 0.9375 kB / 0.9812 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.343e-05/0.2068, allocations: 172.3 kB / 0.9814 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.2068, allocations: 384 / 0.9814 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.2068, allocations: 4.375 kB / 0.9814 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.207, allocations: 42 kB / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.207, allocations: 0 / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.207, allocations: 7.984 kB / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.207, allocations: 4 kB / 0.9815 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.133e-05/0.2071, allocations: 19.98 kB / 0.9815 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002826/0.2074, allocations: 256.9 kB / 0.9817 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.022e-05/0.2075, allocations: 26.56 kB / 0.9818 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.789e-05/0.2075, allocations: 24.92 kB / 0.9818 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.2076, allocations: 0 / 0.9818 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.2076, allocations: 30.56 kB / 0.9818 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.2076, allocations: 0 / 0.9818 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002236/0.2078, allocations: 77.7 kB / 0.9819 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.015e-05/0.2078, allocations: 51.41 kB / 0.9819 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.404e-05/0.2079, allocations: 109.8 kB / 0.982 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.763e-06/0.2079, allocations: 25.7 kB / 0.9821 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.767e-05/0.208, allocations: 80.14 kB / 0.9821 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.208, allocations: 15.83 kB / 0.9822 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.208, allocations: 0 / 0.9822 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.096e-05/0.208, allocations: 318.8 kB / 0.9825 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.756e-05/0.2081, allocations: 12.03 kB / 0.9825 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.014e-05/0.2081, allocations: 11.98 kB / 0.9825 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.838e-05/0.2082, allocations: 24.86 kB / 0.9825 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.2082, allocations: 7.922 kB / 0.9825 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001058/0.2083, allocations: 65.59 kB / 0.9826 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2083, allocations: 4 kB / 0.9826 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2084, allocations: 0 / 0.9826 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.2084, allocations: 0 / 0.9826 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.123e-05/0.2084, allocations: 11.98 kB / 0.9826 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.2085, allocations: 3.938 kB / 0.9826 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.408e-05/0.2085, allocations: 7.984 kB / 0.9826 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.2085, allocations: 0 / 0.9826 GB, free: 24.58 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.814e-05/0.2086, allocations: 121.8 kB / 0.9827 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.2086, allocations: 4 kB / 0.9827 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.853e-05/0.2086, allocations: 3.531 kB / 0.9827 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2086, allocations: 0 / 0.9827 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2086, allocations: 0 / 0.9827 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.839e-05/0.2087, allocations: 77.11 kB / 0.9828 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.2087, allocations: 3.984 kB / 0.9828 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.916e-05/0.2087, allocations: 4 kB / 0.9828 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.2088, allocations: 7.938 kB / 0.9828 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001258/0.2089, allocations: 140.9 kB / 0.9829 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001293/0.2091, allocations: 226.8 kB / 0.9832 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.494e-05/0.2091, allocations: 15.98 kB / 0.9832 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.241e-05/0.2092, allocations: 87.53 kB / 0.9833 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of Backend: time 2.81e-07/0.2092, allocations: 0 / 0.9833 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003114/0.2095, allocations: 94.33 kB / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of SimCode: time 0.000293/0.2098, allocations: 0.5761 MB / 0.9839 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of Templates: time 0.001971/0.2118, allocations: 347.6 kB / 0.9842 GB, free: 22.8 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)