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.0009226/0.0009226, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.000917/0.0009169, allocations: 177.3 kB / 15.94 MB, free: 228 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.487/1.487, allocations: 205.4 MB / 222.1 MB, free: 5.531 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.716/1.716, allocations: 251.9 MB / 0.51 GB, free: 4.816 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.0008442/0.0008442, allocations: 19.44 kB / 0.6241 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7407/0.7416, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001767/0.7434, allocations: 1.14 MB / 0.7291 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000668/0.7441, allocations: 411.9 kB / 0.7295 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.187e-05/0.7442, allocations: 0 / 0.7295 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.419e-05/0.7442, allocations: 0 / 0.7295 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.507e-05/0.7442, allocations: 11.92 kB / 0.7295 GB, free: 9.836 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.7444, allocations: 11.98 kB / 0.7295 GB, free: 9.824 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.475e-05/0.7445, allocations: 11.98 kB / 0.7295 GB, free: 9.812 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.7446, allocations: 7.984 kB / 0.7295 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.51e-05/0.7447, allocations: 4 kB / 0.7295 GB, free: 9.801 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.876e-05/0.7448, allocations: 19.91 kB / 0.7296 GB, free: 9.781 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.7448, allocations: 0 / 0.7296 GB, free: 9.781 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.381e-05/0.7448, allocations: 4 kB / 0.7296 GB, free: 9.777 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.7448, allocations: 0 / 0.7296 GB, free: 9.777 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.7449, allocations: 33.64 kB / 0.7296 GB, free: 9.738 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.068e-05/0.7449, allocations: 15.97 kB / 0.7296 GB, free: 9.723 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.7449, allocations: 0 / 0.7296 GB, free: 9.723 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.745e-06/0.7449, allocations: 3.938 kB / 0.7296 GB, free: 9.719 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.006e-06/0.7449, allocations: 0 / 0.7296 GB, free: 9.719 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.0004562/0.7454, allocations: 333.2 kB / 0.7299 GB, free: 9.348 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.7455, allocations: 8.031 kB / 0.7299 GB, free: 9.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.7455, allocations: 7.906 kB / 0.7299 GB, free: 9.332 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.7456, allocations: 167 kB / 0.7301 GB, free: 9.129 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.7457, allocations: 12 kB / 0.7301 GB, free: 9.117 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.7457, allocations: 3.984 kB / 0.7301 GB, free: 9.113 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.7458, allocations: 37.69 kB / 0.7302 GB, free: 9.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.7459, allocations: 0 / 0.7302 GB, free: 9.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.7459, allocations: 7.938 kB / 0.7302 GB, free: 9.062 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.7459, allocations: 0 / 0.7302 GB, free: 9.062 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.942e-05/0.746, allocations: 23.92 kB / 0.7302 GB, free: 9.039 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.7464, allocations: 252.9 kB / 0.7304 GB, free: 8.742 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.055e-05/0.7465, allocations: 30.61 kB / 0.7305 GB, free: 8.703 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.7465, allocations: 0 / 0.7305 GB, free: 8.703 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.7465, allocations: 34.62 kB / 0.7305 GB, free: 8.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.7465, allocations: 8 kB / 0.7305 GB, free: 8.652 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002435/0.7468, allocations: 65.61 kB / 0.7306 GB, free: 8.582 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.7468, allocations: 51.41 kB / 0.7306 GB, free: 8.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.752e-05/0.7469, allocations: 109.8 kB / 0.7307 GB, free: 8.402 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.747, allocations: 25.7 kB / 0.7307 GB, free: 8.371 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.64e-05/0.747, allocations: 92.17 kB / 0.7308 GB, free: 8.277 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.7471, allocations: 4 kB / 0.7308 GB, free: 8.273 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-06/0.7471, allocations: 0 / 0.7308 GB, free: 8.273 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.7472, allocations: 310.8 kB / 0.7311 GB, free: 7.961 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.34e-05/0.7472, allocations: 15.98 kB / 0.7311 GB, free: 7.945 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.198e-05/0.7473, allocations: 8 kB / 0.7311 GB, free: 7.938 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.713e-05/0.7473, allocations: 16.05 kB / 0.7312 GB, free: 7.922 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7473, allocations: 0 / 0.7312 GB, free: 7.922 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001186/0.7475, allocations: 61.53 kB / 0.7312 GB, free: 7.855 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.7475, allocations: 8 kB / 0.7312 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.7475, allocations: 0 / 0.7312 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.7475, allocations: 0 / 0.7312 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.737e-05/0.7476, allocations: 7.984 kB / 0.7312 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.7476, allocations: 0 / 0.7312 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.51e-05/0.7477, allocations: 15.92 kB / 0.7312 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.7477, allocations: 0 / 0.7312 GB, free: 7.824 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 0.0001026/0.7478, allocations: 109.8 kB / 0.7314 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.7478, allocations: 0 / 0.7314 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.367e-05/0.7478, allocations: 11.52 kB / 0.7314 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.7478, allocations: 0 / 0.7314 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.7479, allocations: 0 / 0.7314 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.7479, allocations: 4 kB / 0.7314 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.748, allocations: 165.6 kB / 0.7315 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.748, allocations: 0 / 0.7315 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.7481, allocations: 8.234 kB / 0.7315 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.7481, allocations: 0 / 0.7315 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.7481, allocations: 4 kB / 0.7315 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.7481, allocations: 4 kB / 0.7315 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.7481, allocations: 3.938 kB / 0.7315 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.7483, allocations: 159.4 kB / 0.7317 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/0.7484, allocations: 84.98 kB / 0.7318 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.7484, allocations: 3.984 kB / 0.7318 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.928e-05/0.7484, allocations: 4 kB / 0.7318 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.7485, allocations: 0 / 0.7318 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.7485, allocations: 0 / 0.7318 GB, free: 7.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.465e-05/0.7485, allocations: 87.27 kB / 0.7319 GB, free: 7.094 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7485, allocations: 4 kB / 0.7319 GB, free: 7.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002114/0.7488, allocations: 4.031 kB / 0.7319 GB, free: 7.086 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 0.0001251/0.7489, allocations: 99.25 kB / 0.732 GB, free: 6.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001311/0.749, allocations: 27.92 kB / 0.732 GB, free: 6.953 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.749, allocations: 0 / 0.732 GB, free: 6.953 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.66e-05/0.7491, allocations: 12.06 kB / 0.732 GB, free: 6.941 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.7492, allocations: 11.94 kB / 0.732 GB, free: 6.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002991/0.7495, allocations: 128.8 kB / 0.7321 GB, free: 6.777 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.7498, allocations: 0.6809 MB / 0.7328 GB, free: 6.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.38e-05/0.7499, allocations: 0 / 0.7328 GB, free: 6.07 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/0.7499, allocations: 7.438 kB / 0.7328 GB, free: 6.062 MB / 0.545 GB Notification: Performance of SimCode: time 4.7e-07/0.7499, allocations: 4.062 kB / 0.7328 GB, free: 6.059 MB / 0.545 GB Notification: Performance of Templates: time 0.002744/0.7527, allocations: 272.4 kB / 0.7331 GB, free: 5.801 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: