Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.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.7.0.x_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.0009374/0.0009425, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001096/0.001096, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.4 MB / 222.1 MB, free: 5.898 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.519/1.519, allocations: 252 MB / 0.5102 GB, free: 4.828 MB / 414.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.0008346/0.0008347, allocations: 16 kB / 0.6243 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5918/0.5926, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001519/0.5942, allocations: 1.149 MB / 0.7293 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005948/0.5948, allocations: 419.9 kB / 0.7297 GB, free: 9.855 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.131e-05/0.5948, allocations: 0 / 0.7297 GB, free: 9.855 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.243e-05/0.5949, allocations: 7.922 kB / 0.7297 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.377e-05/0.5949, allocations: 0 / 0.7297 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.5951, allocations: 4 kB / 0.7297 GB, free: 9.844 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.802e-05/0.5952, allocations: 35.84 kB / 0.7297 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.466e-05/0.5952, allocations: 0 / 0.7297 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.75e-05/0.5953, allocations: 11.98 kB / 0.7297 GB, free: 9.797 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.076e-05/0.5954, allocations: 7.938 kB / 0.7297 GB, free: 9.789 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.5954, allocations: 4 kB / 0.7297 GB, free: 9.785 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.468e-06/0.5954, allocations: 0 / 0.7297 GB, free: 9.785 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.5954, allocations: 3.984 kB / 0.7297 GB, free: 9.781 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.059e-05/0.5955, allocations: 25.7 kB / 0.7297 GB, free: 9.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 5.294e-05/0.5955, allocations: 11.98 kB / 0.7298 GB, free: 9.738 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.5956, allocations: 8 kB / 0.7298 GB, free: 9.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5956, allocations: 3.938 kB / 0.7298 GB, free: 9.727 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.5956, allocations: 0 / 0.7298 GB, free: 9.727 MB / 0.545 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.0003751/0.596, allocations: 337.2 kB / 0.7301 GB, free: 9.352 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.596, allocations: 8.031 kB / 0.7301 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.596, allocations: 3.906 kB / 0.7301 GB, free: 9.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.5962, allocations: 171 kB / 0.7303 GB, free: 9.133 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.5962, allocations: 4 kB / 0.7303 GB, free: 9.129 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.5962, allocations: 3.938 kB / 0.7303 GB, free: 9.125 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.5963, allocations: 45.69 kB / 0.7303 GB, free: 9.074 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.5964, allocations: 0 / 0.7303 GB, free: 9.074 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.5964, allocations: 4 kB / 0.7303 GB, free: 9.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.5964, allocations: 0 / 0.7303 GB, free: 9.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.4e-05/0.5965, allocations: 23.97 kB / 0.7303 GB, free: 9.047 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.5968, allocations: 260.9 kB / 0.7306 GB, free: 8.742 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.597e-05/0.5969, allocations: 30.52 kB / 0.7306 GB, free: 8.703 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.314e-05/0.597, allocations: 20.91 kB / 0.7306 GB, free: 8.68 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.597, allocations: 0 / 0.7306 GB, free: 8.68 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.597, allocations: 34.56 kB / 0.7307 GB, free: 8.637 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.5971, allocations: 4 kB / 0.7307 GB, free: 8.633 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002372/0.5973, allocations: 69.61 kB / 0.7307 GB, free: 8.559 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.5973, allocations: 55.36 kB / 0.7308 GB, free: 8.492 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.151e-05/0.5974, allocations: 105.8 kB / 0.7309 GB, free: 8.379 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.5974, allocations: 25.7 kB / 0.7309 GB, free: 8.348 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.5975, allocations: 92.17 kB / 0.731 GB, free: 8.254 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.41e-05/0.5975, allocations: 4 kB / 0.731 GB, free: 8.25 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.5975, allocations: 0 / 0.731 GB, free: 8.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.5976, allocations: 310.8 kB / 0.7313 GB, free: 7.938 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.198e-05/0.5977, allocations: 15.98 kB / 0.7313 GB, free: 7.922 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.043e-05/0.5977, allocations: 8 kB / 0.7313 GB, free: 7.914 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.386e-05/0.5978, allocations: 16.05 kB / 0.7314 GB, free: 7.898 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.5978, allocations: 0 / 0.7314 GB, free: 7.898 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001312/0.5979, allocations: 61.53 kB / 0.7314 GB, free: 7.832 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.5979, allocations: 8 kB / 0.7314 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.598, allocations: 0 / 0.7314 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.598, allocations: 0 / 0.7314 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.161e-05/0.598, allocations: 8.234 kB / 0.7314 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.5981, allocations: 8.016 kB / 0.7314 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.457e-05/0.5981, allocations: 11.95 kB / 0.7314 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.5981, allocations: 0 / 0.7314 GB, free: 7.797 MB / 0.545 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.512e-05/0.5982, allocations: 109.8 kB / 0.7315 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.5982, allocations: 0 / 0.7315 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.048e-05/0.5982, allocations: 11.52 kB / 0.7316 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.5982, allocations: 0 / 0.7316 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5983, allocations: 3.938 kB / 0.7316 GB, free: 7.664 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.5983, allocations: 4 kB / 0.7316 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.5984, allocations: 161.6 kB / 0.7317 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5984, allocations: 0 / 0.7317 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.249e-05/0.5985, allocations: 7.984 kB / 0.7317 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.5985, allocations: 0 / 0.7317 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.5985, allocations: 0 / 0.7317 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5985, allocations: 4 kB / 0.7317 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.5985, allocations: 0 / 0.7317 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.5987, allocations: 163.3 kB / 0.7319 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/0.5987, allocations: 85.03 kB / 0.732 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.5987, allocations: 0 / 0.732 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.87e-05/0.5988, allocations: 4 kB / 0.732 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.5988, allocations: 3.938 kB / 0.732 GB, free: 7.156 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-06/0.5988, allocations: 0 / 0.732 GB, free: 7.156 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.864e-05/0.5989, allocations: 83.27 kB / 0.7321 GB, free: 7.074 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5989, allocations: 8.031 kB / 0.7321 GB, free: 7.066 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002065/0.5991, allocations: 4 kB / 0.7321 GB, free: 7.062 MB / 0.545 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 9.961e-05/0.5992, allocations: 101.3 kB / 0.7322 GB, free: 6.957 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00012/0.5993, allocations: 23.98 kB / 0.7322 GB, free: 6.934 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5993, allocations: 3.938 kB / 0.7322 GB, free: 6.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.196e-05/0.5994, allocations: 16.05 kB / 0.7322 GB, free: 6.914 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.5996, allocations: 10.77 kB / 0.7322 GB, free: 6.906 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002709/0.5999, allocations: 120.9 kB / 0.7323 GB, free: 6.762 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.6002, allocations: 0.677 MB / 0.733 GB, free: 6.059 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.371e-05/0.6002, allocations: 4 kB / 0.733 GB, free: 6.055 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.218e-05/0.6002, allocations: 15.44 kB / 0.733 GB, free: 6.039 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.6002, allocations: 0 / 0.733 GB, free: 6.039 MB / 0.545 GB Notification: Performance of Templates: time 0.001861/0.6021, allocations: 267.4 kB / 0.7333 GB, free: 5.785 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) Environment - environmentSimulation: