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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 106.2 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 201.5 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.1 MB / 222.8 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.663/1.663, allocations: 292.3 MB / 0.5492 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 72.55 kB / 0.6717 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2141, allocations: 114.5 MB / 0.7835 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002847/0.217, allocations: 1.498 MB / 0.785 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007332/0.2178, allocations: 437.1 kB / 0.7854 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.893e-05/0.2179, allocations: 3.938 kB / 0.7854 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.594e-05/0.2179, allocations: 0 / 0.7854 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.018e-05/0.218, allocations: 3.984 kB / 0.7854 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.2182, allocations: 7.938 kB / 0.7854 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.367e-05/0.2183, allocations: 23.92 kB / 0.7854 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.2184, allocations: 7.938 kB / 0.7854 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.625e-05/0.2185, allocations: 11.98 kB / 0.7855 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.326e-05/0.2185, allocations: 19.92 kB / 0.7855 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.2186, allocations: 4 kB / 0.7855 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-06/0.2186, allocations: 0 / 0.7855 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.2186, allocations: 0 / 0.7855 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.002e-05/0.2186, allocations: 15.92 kB / 0.7855 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.325e-05/0.2187, allocations: 11.98 kB / 0.7855 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2187, allocations: 0 / 0.7855 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2187, allocations: 0 / 0.7855 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.748e-06/0.2187, allocations: 0 / 0.7855 GB, free: 11.81 MB / 0.6075 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.000402/0.2191, allocations: 343.7 kB / 0.7858 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.2192, allocations: 8.031 kB / 0.7858 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.2192, allocations: 4.938 kB / 0.7858 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.2193, allocations: 168.3 kB / 0.786 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.2194, allocations: 4.375 kB / 0.786 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.2194, allocations: 384 / 0.786 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.2195, allocations: 49.94 kB / 0.7861 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.2195, allocations: 3.938 kB / 0.7861 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.2196, allocations: 0 / 0.7861 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2196, allocations: 0 / 0.7861 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.493e-05/0.2197, allocations: 27.97 kB / 0.7861 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.22, allocations: 244.9 kB / 0.7863 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.56e-05/0.2201, allocations: 30.52 kB / 0.7864 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/0.2201, allocations: 20.91 kB / 0.7864 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.2202, allocations: 4 kB / 0.7864 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.2202, allocations: 34.56 kB / 0.7864 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.2202, allocations: 0 / 0.7864 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002291/0.2204, allocations: 57.67 kB / 0.7865 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.2205, allocations: 51.41 kB / 0.7865 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.343e-05/0.2206, allocations: 105.8 kB / 0.7866 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.2206, allocations: 25.83 kB / 0.7866 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.774e-05/0.2206, allocations: 96.03 kB / 0.7867 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.2207, allocations: 3.938 kB / 0.7867 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.2207, allocations: 17.66 kB / 0.7867 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.2208, allocations: 322.8 kB / 0.7871 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.467e-05/0.2209, allocations: 8 kB / 0.7871 GB, free: 10 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.291e-05/0.2209, allocations: 11.98 kB / 0.7871 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.428e-05/0.221, allocations: 32.84 kB / 0.7871 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.221, allocations: 0 / 0.7871 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000108/0.2211, allocations: 53.59 kB / 0.7872 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2211, allocations: 4 kB / 0.7872 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2211, allocations: 0 / 0.7872 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.2212, allocations: 0 / 0.7872 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.766e-05/0.2212, allocations: 4 kB / 0.7872 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.2213, allocations: 11.92 kB / 0.7872 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.052e-05/0.2213, allocations: 32 / 0.7872 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.2213, allocations: 4 kB / 0.7872 GB, free: 9.871 MB / 0.6075 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.35e-05/0.2214, allocations: 114.4 kB / 0.7873 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.2214, allocations: 0 / 0.7873 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.317e-05/0.2214, allocations: 7.531 kB / 0.7873 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.2214, allocations: 0 / 0.7873 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2215, allocations: 4 kB / 0.7873 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2215, allocations: 0 / 0.7873 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.2216, allocations: 165.5 kB / 0.7875 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2216, allocations: 0 / 0.7875 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.287e-05/0.2217, allocations: 8.25 kB / 0.7875 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2217, allocations: 0 / 0.7875 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.2217, allocations: 4 kB / 0.7875 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.2217, allocations: 3.984 kB / 0.7875 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2217, allocations: 4 kB / 0.7875 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.2219, allocations: 159.3 kB / 0.7876 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.2219, allocations: 77.11 kB / 0.7877 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.222, allocations: 4.031 kB / 0.7877 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.988e-05/0.222, allocations: 7.984 kB / 0.7877 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.2221, allocations: 0 / 0.7877 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.2221, allocations: 0 / 0.7877 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.74e-05/0.2221, allocations: 83.28 kB / 0.7878 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2221, allocations: 0 / 0.7878 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000218/0.2223, allocations: 4 kB / 0.7878 GB, free: 9.141 MB / 0.6075 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 0.0001116/0.2224, allocations: 103.2 kB / 0.7879 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.2226, allocations: 23.98 kB / 0.7879 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2226, allocations: 0 / 0.7879 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.966e-05/0.2226, allocations: 11.94 kB / 0.7879 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.2229, allocations: 11.88 kB / 0.7879 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003003/0.2232, allocations: 156.4 kB / 0.7881 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.2234, allocations: 0.6767 MB / 0.7888 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/0.2234, allocations: 15.42 kB / 0.7888 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2234, allocations: 0 / 0.7888 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of Templates: time 0.001567/0.225, allocations: 0.5001 MB / 0.7893 GB, free: 7.578 MB / 0.6075 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)