Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.568/1.568, allocations: 292.3 MB / 308.1 MB, free: 4.215 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.001217/0.001217, allocations: 188.4 kB / 376.9 MB, free: 1.777 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.399/1.399, allocations: 205 MB / 0.6353 GB, free: 9.762 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009474/0.000948, allocations: 104 kB / 0.748 GB, free: 61.28 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009971/0.0009971, allocations: 63.89 kB / 0.8704 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2259, allocations: 114.5 MB / 0.9822 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002688/0.2286, allocations: 1.495 MB / 0.9837 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006612/0.2293, allocations: 431.9 kB / 0.9841 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.835e-05/0.2293, allocations: 0 / 0.9841 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.577e-05/0.2294, allocations: 0 / 0.9841 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.435e-05/0.2295, allocations: 7.922 kB / 0.9841 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.2296, allocations: 8 kB / 0.9841 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.322e-05/0.2297, allocations: 23.92 kB / 0.9841 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.242e-05/0.2298, allocations: 4 kB / 0.9841 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.88e-05/0.2299, allocations: 11.94 kB / 0.9842 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.476e-05/0.2299, allocations: 11.97 kB / 0.9842 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.23, allocations: 3.938 kB / 0.9842 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.163e-05/0.23, allocations: 4 kB / 0.9842 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.23, allocations: 7.938 kB / 0.9842 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.658e-05/0.23, allocations: 7.922 kB / 0.9842 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 6.867e-05/0.2301, allocations: 19.98 kB / 0.9842 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2301, allocations: 7.938 kB / 0.9842 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.11e-07/0.2301, allocations: 0 / 0.9842 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.2301, allocations: 3.938 kB / 0.9842 GB, free: 8.27 MB / 0.7136 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.0003692/0.2305, allocations: 339.7 kB / 0.9845 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.2305, allocations: 8.031 kB / 0.9846 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.2306, allocations: 4.844 kB / 0.9846 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.2307, allocations: 164.4 kB / 0.9847 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.2307, allocations: 4.375 kB / 0.9847 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.2307, allocations: 384 / 0.9847 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.2309, allocations: 49.98 kB / 0.9848 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.2309, allocations: 0 / 0.9848 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.2309, allocations: 8 kB / 0.9848 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.2309, allocations: 0 / 0.9848 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.487e-05/0.231, allocations: 15.92 kB / 0.9848 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.2313, allocations: 252.9 kB / 0.985 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.586e-05/0.2314, allocations: 30.56 kB / 0.9851 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.785e-05/0.2315, allocations: 16.92 kB / 0.9851 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.2315, allocations: 3.984 kB / 0.9851 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.2315, allocations: 30.56 kB / 0.9851 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.2315, allocations: 0 / 0.9851 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002233/0.2317, allocations: 73.61 kB / 0.9852 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.2318, allocations: 51.41 kB / 0.9852 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.237e-05/0.2319, allocations: 105.8 kB / 0.9853 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.2319, allocations: 25.7 kB / 0.9854 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/0.2319, allocations: 88.14 kB / 0.9854 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.2319, allocations: 7.844 kB / 0.9854 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.232, allocations: 17.7 kB / 0.9855 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.234e-05/0.2321, allocations: 310.8 kB / 0.9858 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.78e-05/0.2321, allocations: 12.03 kB / 0.9858 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.068e-05/0.2322, allocations: 11.98 kB / 0.9858 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.183e-05/0.2322, allocations: 32.72 kB / 0.9858 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2322, allocations: 0 / 0.9858 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001021/0.2324, allocations: 45.69 kB / 0.9859 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.2324, allocations: 8 kB / 0.9859 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2324, allocations: 4.094 kB / 0.9859 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.2324, allocations: 0 / 0.9859 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.874e-05/0.2325, allocations: 11.92 kB / 0.9859 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.2325, allocations: 0 / 0.9859 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.288e-05/0.2325, allocations: 8.25 kB / 0.9859 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.2325, allocations: 4 kB / 0.9859 GB, free: 6.336 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.143e-05/0.2326, allocations: 109.8 kB / 0.986 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.2326, allocations: 4 kB / 0.986 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.045e-05/0.2327, allocations: 3.531 kB / 0.986 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-06/0.2327, allocations: 7.984 kB / 0.986 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.2327, allocations: 3.938 kB / 0.986 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2327, allocations: 0 / 0.986 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.2328, allocations: 165.6 kB / 0.9862 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2329, allocations: 0 / 0.9862 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/0.2329, allocations: 11.92 kB / 0.9862 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2329, allocations: 0 / 0.9862 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.2329, allocations: 0 / 0.9862 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2329, allocations: 0 / 0.9862 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2329, allocations: 0 / 0.9862 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/0.2333, allocations: 0.7044 MB / 0.9869 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.231e-05/0.2334, allocations: 81.09 kB / 0.9869 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.2334, allocations: 0 / 0.9869 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.513e-05/0.2335, allocations: 4 kB / 0.9869 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.2335, allocations: 7.922 kB / 0.987 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.2335, allocations: 4.031 kB / 0.987 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.616e-05/0.2336, allocations: 91.27 kB / 0.987 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.8e-07/0.2336, allocations: 0 / 0.987 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002868/0.2339, allocations: 4 kB / 0.9871 GB, free: 5.004 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.743e-05/0.234, allocations: 97.59 kB / 0.9871 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.2341, allocations: 19.98 kB / 0.9872 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2341, allocations: 64 / 0.9872 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.1e-05/0.2341, allocations: 19.92 kB / 0.9872 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.2343, allocations: 9.688 kB / 0.9872 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.2347, allocations: 231.3 kB / 0.9874 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/0.2349, allocations: 0.677 MB / 0.9881 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.225e-05/0.2349, allocations: 64 / 0.9881 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.104e-05/0.235, allocations: 11.44 kB / 0.9881 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.235, allocations: 4 kB / 0.9881 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of Templates: time 0.001855/0.2368, allocations: 280.6 kB / 0.9884 GB, free: 3.598 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)