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.679/1.679, allocations: 287.5 MB / 302.6 MB, free: 8.227 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.0009262/0.0009263, allocations: 187.3 kB / 371.2 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.665/1.665, allocations: 205.4 MB / 0.6299 GB, free: 10.57 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.0007937/0.0007937, allocations: 99.78 kB / 0.7432 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004033, allocations: 11.86 kB / 0.8661 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.22, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001691/0.2218, allocations: 1.144 MB / 0.9798 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007034/0.2225, allocations: 400.3 kB / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.71e-05/0.2226, allocations: 0 / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.02e-05/0.2226, allocations: 3.938 kB / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.709e-05/0.2227, allocations: 7.984 kB / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.2229, allocations: 8 kB / 0.9802 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.001e-05/0.2229, allocations: 23.86 kB / 0.9802 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.767e-05/0.223, allocations: 0 / 0.9802 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.2232, allocations: 15.98 kB / 0.9802 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.967e-05/0.2232, allocations: 3.938 kB / 0.9802 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.2232, allocations: 4 kB / 0.9803 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.357e-06/0.2233, allocations: 0 / 0.9803 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.2233, allocations: 7.969 kB / 0.9803 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/0.2233, allocations: 41.64 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.357e-05/0.2234, allocations: 7.984 kB / 0.9803 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2234, allocations: 4 kB / 0.9803 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2234, allocations: 0 / 0.9803 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.2234, allocations: 0 / 0.9803 GB, free: 26.49 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.0003293/0.2237, allocations: 343.7 kB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.2238, allocations: 8.031 kB / 0.9806 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.2238, allocations: 0.9375 kB / 0.9806 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.171e-05/0.2239, allocations: 172.3 kB / 0.9808 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.2239, allocations: 384 / 0.9808 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.224, allocations: 384 / 0.9808 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.2241, allocations: 50 kB / 0.9809 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.2241, allocations: 0 / 0.9809 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.2241, allocations: 7.984 kB / 0.9809 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2242, allocations: 0 / 0.9809 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.864e-05/0.2242, allocations: 35.91 kB / 0.9809 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002872/0.2245, allocations: 244.9 kB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.868e-05/0.2246, allocations: 34.56 kB / 0.9812 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.813e-05/0.2247, allocations: 16.92 kB / 0.9812 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.2247, allocations: 4 kB / 0.9812 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.2247, allocations: 30.56 kB / 0.9812 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2247, allocations: 4 kB / 0.9812 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002435/0.225, allocations: 65.61 kB / 0.9813 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.225, allocations: 51.41 kB / 0.9813 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.912e-05/0.2251, allocations: 117.9 kB / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.2251, allocations: 25.7 kB / 0.9815 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.33e-05/0.2252, allocations: 84.14 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.2252, allocations: 11.84 kB / 0.9816 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.2252, allocations: 0 / 0.9816 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.844e-05/0.2253, allocations: 318.8 kB / 0.9819 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.073e-05/0.2253, allocations: 8 kB / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.388e-05/0.2253, allocations: 15.98 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.006e-05/0.2254, allocations: 32.78 kB / 0.9819 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2254, allocations: 3.938 kB / 0.9819 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001074/0.2255, allocations: 57.59 kB / 0.982 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2256, allocations: 8.094 kB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.2256, allocations: 4 kB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.2256, allocations: 0 / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/0.2257, allocations: 4 kB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2257, allocations: 0 / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.51e-05/0.2257, allocations: 7.984 kB / 0.982 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.2258, allocations: 3.938 kB / 0.982 GB, free: 24.54 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 6.21e-05/0.2258, allocations: 109.8 kB / 0.9821 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.2259, allocations: 8 kB / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.266e-05/0.2259, allocations: 7.531 kB / 0.9821 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2259, allocations: 0 / 0.9821 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.2259, allocations: 0 / 0.9821 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2259, allocations: 0 / 0.9821 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.226, allocations: 165.6 kB / 0.9823 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2261, allocations: 0 / 0.9823 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.285e-05/0.2261, allocations: 4 kB / 0.9823 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2261, allocations: 3.938 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.2261, allocations: 0 / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2261, allocations: 0 / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2261, allocations: 8 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.2263, allocations: 151.5 kB / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.295e-05/0.2263, allocations: 85.02 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.2263, allocations: 0 / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.92e-05/0.2264, allocations: 4.281 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.2264, allocations: 7.984 kB / 0.9825 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.2264, allocations: 4 kB / 0.9825 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.487e-05/0.2265, allocations: 79.28 kB / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2265, allocations: 0 / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002052/0.2267, allocations: 8 kB / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0001112/0.2268, allocations: 99.23 kB / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001301/0.2269, allocations: 35.92 kB / 0.9828 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.227, allocations: 3.938 kB / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.032e-05/0.227, allocations: 8 kB / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.2272, allocations: 3.938 kB / 0.9828 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002663/0.2275, allocations: 136.7 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.2276, allocations: 0.677 MB / 0.9836 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.638e-05/0.2276, allocations: 0 / 0.9836 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.104e-05/0.2277, allocations: 15.42 kB / 0.9836 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of SimCode: time 1.142e-06/0.2277, allocations: 0 / 0.9836 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of Templates: time 0.002044/0.2297, allocations: 267.1 kB / 0.9838 GB, free: 22.52 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)