Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.173/2.173, allocations: 251.1 MB / 266.7 MB, free: 11.58 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.001314/0.001314, allocations: 184.9 kB / 326.3 MB, free: 2.867 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.253/2.253, allocations: 205.4 MB / 0.5772 GB, free: 21.17 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.0009434/0.0009431, allocations: 95.89 kB / 0.6817 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004674/0.0004675, allocations: 15.41 kB / 0.7957 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2101, allocations: 106.3 MB / 0.8995 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001764/0.2119, allocations: 1.153 MB / 0.9006 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007414/0.2127, allocations: 416.1 kB / 0.901 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.766e-05/0.2128, allocations: 0 / 0.901 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.518e-05/0.2128, allocations: 0 / 0.901 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.852e-05/0.2129, allocations: 3.984 kB / 0.901 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.213, allocations: 15.92 kB / 0.901 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.933e-05/0.2131, allocations: 19.94 kB / 0.9011 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.794e-05/0.2132, allocations: 7.984 kB / 0.9011 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.442e-05/0.2133, allocations: 11.94 kB / 0.9011 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.111e-05/0.2134, allocations: 7.984 kB / 0.9011 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.2134, allocations: 0 / 0.9011 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.127e-05/0.2135, allocations: 0 / 0.9011 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.2135, allocations: 11.92 kB / 0.9011 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.2135, allocations: 29.7 kB / 0.9011 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.648e-05/0.2136, allocations: 11.97 kB / 0.9011 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.2136, allocations: 4 kB / 0.9011 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2136, allocations: 0 / 0.9011 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.2136, allocations: 0 / 0.9011 GB, free: 64.32 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000374/0.214, allocations: 333.5 kB / 0.9015 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.2141, allocations: 8.031 kB / 0.9015 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.2141, allocations: 8.844 kB / 0.9015 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.477e-05/0.2142, allocations: 172.3 kB / 0.9016 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.2142, allocations: 384 / 0.9016 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.2143, allocations: 4.375 kB / 0.9016 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.2144, allocations: 50 kB / 0.9017 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.2144, allocations: 3.938 kB / 0.9017 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.2145, allocations: 0 / 0.9017 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.2145, allocations: 3.984 kB / 0.9017 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.2146, allocations: 23.98 kB / 0.9017 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.215, allocations: 248.9 kB / 0.902 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.2151, allocations: 34.61 kB / 0.902 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.531e-05/0.2152, allocations: 20.91 kB / 0.902 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.2153, allocations: 0 / 0.902 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.2153, allocations: 46.44 kB / 0.9021 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.542e-06/0.2153, allocations: 0 / 0.9021 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003111/0.2156, allocations: 57.69 kB / 0.9021 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.197e-05/0.2157, allocations: 55.39 kB / 0.9022 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.986e-05/0.2157, allocations: 101.9 kB / 0.9023 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.2158, allocations: 29.83 kB / 0.9023 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/0.2158, allocations: 88.08 kB / 0.9024 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.2158, allocations: 11.89 kB / 0.9024 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.2159, allocations: 0 / 0.9024 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.976e-05/0.2159, allocations: 314.8 kB / 0.9027 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.487e-05/0.216, allocations: 8 kB / 0.9027 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.124e-05/0.2161, allocations: 19.92 kB / 0.9027 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.942e-05/0.2161, allocations: 12.06 kB / 0.9027 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2162, allocations: 3.938 kB / 0.9027 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001746/0.2163, allocations: 57.58 kB / 0.9028 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.2164, allocations: 8 kB / 0.9028 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2164, allocations: 0 / 0.9028 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.2164, allocations: 0 / 0.9028 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.2165, allocations: 4 kB / 0.9028 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.2166, allocations: 8.016 kB / 0.9028 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.652e-05/0.2166, allocations: 7.984 kB / 0.9028 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.2166, allocations: 0 / 0.9028 GB, free: 62.4 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: 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 7.107e-05/0.2167, allocations: 117.8 kB / 0.9029 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.2168, allocations: 0 / 0.9029 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/0.2168, allocations: 3.531 kB / 0.9029 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2168, allocations: 0 / 0.9029 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2168, allocations: 0 / 0.9029 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.893e-05/0.2169, allocations: 85.11 kB / 0.903 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.2169, allocations: 3.984 kB / 0.903 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.214e-05/0.217, allocations: 4 kB / 0.903 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.217, allocations: 7.875 kB / 0.903 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002281/0.2173, allocations: 137 kB / 0.9031 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002051/0.2175, allocations: 226.8 kB / 0.9034 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.522e-05/0.2176, allocations: 19.92 kB / 0.9034 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.548e-05/0.2177, allocations: 83.53 kB / 0.9035 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of Backend: time 1.774e-06/0.2177, allocations: 0 / 0.9035 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004401/0.2181, allocations: 102.4 kB / 0.9036 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of SimCode: time 0.000393/0.2185, allocations: 0.5772 MB / 0.9041 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of Templates: time 0.002939/0.2215, allocations: 349.5 kB / 0.9045 GB, free: 60.6 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)