Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.433/2.433, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001269/0.001269, allocations: 171.5 kB / 325.8 MB, free: 2.809 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.28/2.28, allocations: 205.4 MB / 0.5767 GB, free: 21.08 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009626/0.0009621, allocations: 92.11 kB / 0.6812 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004908/0.0004912, allocations: 13.23 kB / 0.7953 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2124, allocations: 106.3 MB / 0.899 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001748/0.2142, allocations: 1.145 MB / 0.9002 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007441/0.215, allocations: 420.1 kB / 0.9006 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.605e-05/0.2151, allocations: 0 / 0.9006 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.591e-05/0.2151, allocations: 3.984 kB / 0.9006 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.471e-05/0.2152, allocations: 4 kB / 0.9006 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001287/0.2153, allocations: 7.938 kB / 0.9006 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.266e-05/0.2154, allocations: 19.92 kB / 0.9006 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.909e-05/0.2155, allocations: 8 kB / 0.9006 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.769e-05/0.2156, allocations: 15.92 kB / 0.9006 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.859e-05/0.2156, allocations: 7.984 kB / 0.9006 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.2157, allocations: 0 / 0.9006 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.948e-06/0.2157, allocations: 0 / 0.9006 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.2157, allocations: 11.94 kB / 0.9006 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/0.2157, allocations: 25.7 kB / 0.9007 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.425e-05/0.2158, allocations: 11.97 kB / 0.9007 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2158, allocations: 0 / 0.9007 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2158, allocations: 0 / 0.9007 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2158, allocations: 0 / 0.9007 GB, free: 64.21 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.0004128/0.2163, allocations: 339.5 kB / 0.901 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.2163, allocations: 8.031 kB / 0.901 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.2163, allocations: 8.844 kB / 0.901 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.099e-05/0.2164, allocations: 164.3 kB / 0.9012 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.2165, allocations: 384 / 0.9012 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.2165, allocations: 4.375 kB / 0.9012 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.2167, allocations: 46 kB / 0.9012 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.2167, allocations: 0 / 0.9012 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.2167, allocations: 7.938 kB / 0.9012 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2167, allocations: 0 / 0.9012 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.2169, allocations: 23.98 kB / 0.9013 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.2172, allocations: 248.9 kB / 0.9015 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.799e-05/0.2173, allocations: 34.58 kB / 0.9015 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.991e-05/0.2174, allocations: 24.91 kB / 0.9015 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.2174, allocations: 0 / 0.9015 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.2174, allocations: 38.44 kB / 0.9016 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.2175, allocations: 0 / 0.9016 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003106/0.2178, allocations: 69.67 kB / 0.9017 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.2178, allocations: 51.41 kB / 0.9017 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.507e-05/0.2179, allocations: 105.8 kB / 0.9018 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.2179, allocations: 25.7 kB / 0.9018 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.218, allocations: 84.14 kB / 0.9019 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.218, allocations: 7.844 kB / 0.9019 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.218, allocations: 4 kB / 0.9019 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.47e-05/0.2181, allocations: 315 kB / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.491e-05/0.2181, allocations: 11.98 kB / 0.9022 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.924e-05/0.2182, allocations: 12 kB / 0.9022 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.858e-05/0.2183, allocations: 19.86 kB / 0.9023 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2183, allocations: 0 / 0.9023 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000174/0.2185, allocations: 61.91 kB / 0.9023 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2185, allocations: 4 kB / 0.9023 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.2185, allocations: 0 / 0.9023 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.2186, allocations: 0 / 0.9023 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.2187, allocations: 15.98 kB / 0.9023 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.2187, allocations: 0 / 0.9023 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.112e-05/0.2188, allocations: 0 / 0.9023 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.2188, allocations: 4 kB / 0.9023 GB, free: 62.29 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 6.432e-05/0.2189, allocations: 117.8 kB / 0.9025 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.2189, allocations: 0 / 0.9025 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.2189, allocations: 15.5 kB / 0.9025 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.2189, allocations: 0 / 0.9025 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2189, allocations: 0 / 0.9025 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.219, allocations: 0 / 0.9025 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.2191, allocations: 161.6 kB / 0.9026 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2191, allocations: 0 / 0.9026 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.151e-05/0.2192, allocations: 19.92 kB / 0.9026 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.2192, allocations: 4 kB / 0.9026 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.2193, allocations: 0 / 0.9026 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2193, allocations: 0 / 0.9026 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2193, allocations: 0 / 0.9026 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.2195, allocations: 147.5 kB / 0.9028 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.642e-05/0.2195, allocations: 84.95 kB / 0.9029 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.2195, allocations: 12.02 kB / 0.9029 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.545e-05/0.2196, allocations: 0 / 0.9029 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.2197, allocations: 4 kB / 0.9029 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.2197, allocations: 0 / 0.9029 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.777e-05/0.2197, allocations: 87.27 kB / 0.903 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2198, allocations: 0 / 0.903 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003173/0.2201, allocations: 4 kB / 0.903 GB, free: 61.55 MB / 0.6042 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.0001148/0.2202, allocations: 101.4 kB / 0.9031 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001875/0.2204, allocations: 27.92 kB / 0.9031 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2204, allocations: 0 / 0.9031 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.211e-05/0.2205, allocations: 19.98 kB / 0.9031 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.2208, allocations: 7.875 kB / 0.9031 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003328/0.2211, allocations: 132.8 kB / 0.9032 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.2213, allocations: 0.6809 MB / 0.9039 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.371e-05/0.2213, allocations: 3.938 kB / 0.9039 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.2213, allocations: 7.438 kB / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of SimCode: time 9.92e-07/0.2214, allocations: 0 / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of Templates: time 0.002625/0.224, allocations: 270.5 kB / 0.9042 GB, free: 60.26 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)