Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.668/1.668, allocations: 288.4 MB / 304.3 MB, free: 8.121 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.0009322/0.0009324, allocations: 170.2 kB / 372.9 MB, free: 10.14 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.547/1.547, allocations: 205.4 MB / 0.6316 GB, free: 9.891 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.0007845/0.0007847, allocations: 86.41 kB / 0.745 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.000397, allocations: 11.41 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2214, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001375/0.2228, allocations: 1.141 MB / 0.9819 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005334/0.2234, allocations: 412.9 kB / 0.9823 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.78e-05/0.2234, allocations: 0 / 0.9823 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.525e-05/0.2234, allocations: 0 / 0.9823 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.936e-05/0.2235, allocations: 0 / 0.9823 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00014/0.2236, allocations: 19.91 kB / 0.9823 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.586e-05/0.2237, allocations: 15.94 kB / 0.9823 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.51e-05/0.2238, allocations: 11.98 kB / 0.9823 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.258e-05/0.2239, allocations: 11.94 kB / 0.9823 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.481e-05/0.2239, allocations: 11.98 kB / 0.9823 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.224, allocations: 4 kB / 0.9823 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.125e-06/0.224, allocations: 0 / 0.9823 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.046e-05/0.224, allocations: 7.938 kB / 0.9823 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.224, allocations: 29.69 kB / 0.9824 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.296e-05/0.2241, allocations: 15.97 kB / 0.9824 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.2241, allocations: 0 / 0.9824 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2241, allocations: 3.938 kB / 0.9824 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.2241, allocations: 3.938 kB / 0.9824 GB, free: 25.63 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.0003042/0.2244, allocations: 335.7 kB / 0.9827 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.2245, allocations: 8.031 kB / 0.9827 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.316e-05/0.2245, allocations: 4.938 kB / 0.9827 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.34e-05/0.2246, allocations: 172.3 kB / 0.9829 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-06/0.2246, allocations: 4.375 kB / 0.9829 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.2246, allocations: 4.312 kB / 0.9829 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.2247, allocations: 46 kB / 0.9829 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.2247, allocations: 0 / 0.9829 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.2248, allocations: 0 / 0.9829 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2248, allocations: 0 / 0.9829 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.443e-05/0.2248, allocations: 23.98 kB / 0.983 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002511/0.2251, allocations: 260.8 kB / 0.9832 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.513e-05/0.2252, allocations: 30.61 kB / 0.9832 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.593e-05/0.2252, allocations: 24.91 kB / 0.9833 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.2253, allocations: 0 / 0.9833 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.2253, allocations: 30.56 kB / 0.9833 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.2253, allocations: 0 / 0.9833 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002257/0.2255, allocations: 73.7 kB / 0.9834 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.432e-05/0.2256, allocations: 55.41 kB / 0.9834 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.428e-05/0.2256, allocations: 97.86 kB / 0.9835 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.585e-06/0.2256, allocations: 25.7 kB / 0.9835 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.644e-05/0.2256, allocations: 92.12 kB / 0.9836 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.131e-05/0.2257, allocations: 7.844 kB / 0.9836 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-06/0.2257, allocations: 0 / 0.9836 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.112e-05/0.2257, allocations: 310.8 kB / 0.9839 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.872e-05/0.2258, allocations: 20.02 kB / 0.9839 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.853e-05/0.2258, allocations: 8 kB / 0.9839 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.52e-05/0.2259, allocations: 28.84 kB / 0.984 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2259, allocations: 3.938 kB / 0.984 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.79e-05/0.226, allocations: 65.59 kB / 0.984 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.226, allocations: 4 kB / 0.984 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.226, allocations: 0 / 0.984 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.226, allocations: 0 / 0.984 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.848e-05/0.2261, allocations: 11.98 kB / 0.9841 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.2261, allocations: 0 / 0.9841 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.181e-05/0.2262, allocations: 3.938 kB / 0.9841 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/0.2262, allocations: 4 kB / 0.9841 GB, free: 23.69 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.792e-05/0.2262, allocations: 121.8 kB / 0.9842 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.2262, allocations: 0 / 0.9842 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.815e-05/0.2263, allocations: 11.52 kB / 0.9842 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2263, allocations: 0 / 0.9842 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2263, allocations: 0 / 0.9842 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/0.2263, allocations: 77.11 kB / 0.9843 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.2263, allocations: 0 / 0.9843 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.14e-05/0.2264, allocations: 8 kB / 0.9843 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.2264, allocations: 7.922 kB / 0.9843 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001271/0.2266, allocations: 140.9 kB / 0.9844 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001199/0.2267, allocations: 234.7 kB / 0.9846 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.088e-05/0.2267, allocations: 12 kB / 0.9846 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.068e-05/0.2268, allocations: 87.27 kB / 0.9847 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of Backend: time 2.6e-07/0.2268, allocations: 0 / 0.9847 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003163/0.2271, allocations: 94.33 kB / 0.9848 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0002732/0.2274, allocations: 0.5761 MB / 0.9854 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of Templates: time 0.001901/0.2293, allocations: 347.9 kB / 0.9857 GB, free: 21.91 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)