Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.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.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.745/1.745, allocations: 288.3 MB / 303.2 MB, free: 8.082 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.001177/0.001177, allocations: 183.8 kB / 371.8 MB, free: 10.29 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.812/1.812, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.0008622/0.0008622, allocations: 89.58 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004042/0.0004042, allocations: 11.59 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2517, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.05643/0.3082, allocations: 62.95 MB / 1.041 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01748/0.3257, allocations: 10.88 MB / 1.052 GB, free: 1.711 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002709/0.3284, allocations: 51.62 kB / 1.052 GB, free: 1.66 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002819/0.3313, allocations: 0.7501 MB / 1.052 GB, free: 0.9062 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.0113/0.3426, allocations: 2.253 MB / 1.054 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005056/0.3477, allocations: 1.529 MB / 1.056 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005041/0.3527, allocations: 2.48 MB / 1.058 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002199/0.355, allocations: 1.021 MB / 1.059 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002732/0.3577, allocations: 1.156 MB / 1.061 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002194/0.3599, allocations: 0.77 MB / 1.061 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004389/0.3604, allocations: 56 kB / 1.061 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003581/0.364, allocations: 0.8386 MB / 1.062 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004966/0.3645, allocations: 254.9 kB / 1.062 GB, free: 6.539 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007831/0.3653, allocations: 356.9 kB / 1.063 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003317/0.3686, allocations: 2.018 MB / 1.065 GB, free: 4.16 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3686, allocations: 4 kB / 1.065 GB, free: 4.156 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.885e-06/0.3686, allocations: 0 / 1.065 GB, free: 4.156 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.721e-05/0.3687, allocations: 0 / 1.065 GB, free: 4.156 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004177/0.3729, allocations: 1.772 MB / 1.066 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.373, allocations: 8.031 kB / 1.066 GB, free: 2.312 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000998/0.374, allocations: 245.9 kB / 1.067 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00311/0.3771, allocations: 1.365 MB / 1.068 GB, free: 0.6484 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.841e-05/0.3772, allocations: 70 kB / 1.068 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002594/0.3775, allocations: 104 kB / 1.068 GB, free: 492 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5335/0.911, allocations: 1.104 MB / 1.069 GB, free: 91.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.26e-05/0.9111, allocations: 1.406 kB / 1.069 GB, free: 91.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002022/0.9113, allocations: 40.88 kB / 1.069 GB, free: 91.32 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-05/0.9114, allocations: 32.27 kB / 1.069 GB, free: 91.32 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0028/0.9142, allocations: 0.9216 MB / 1.07 GB, free: 91.19 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008829/0.9231, allocations: 4.961 MB / 1.075 GB, free: 87.93 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.9248, allocations: 0.6373 MB / 1.076 GB, free: 87.71 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005936/0.9254, allocations: 0.8248 MB / 1.077 GB, free: 86.76 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.9255, allocations: 39.16 kB / 1.077 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 4.819e-06/0.9255, allocations: 0 / 1.077 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.008097/0.9336, allocations: 1.874 MB / 1.078 GB, free: 86.26 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.9337, allocations: 58.75 kB / 1.078 GB, free: 86.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002751/0.9364, allocations: 1.244 MB / 1.08 GB, free: 85.68 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.9366, allocations: 39.78 kB / 1.08 GB, free: 85.64 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005702/0.9371, allocations: 0.6027 MB / 1.08 GB, free: 85.19 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.9374, allocations: 214.6 kB / 1.08 GB, free: 85.02 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.9374, allocations: 16.25 kB / 1.08 GB, free: 85.01 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.793e-05/0.9375, allocations: 336.7 kB / 1.081 GB, free: 84.69 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007812/0.9383, allocations: 295.5 kB / 1.081 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000937/0.9392, allocations: 0.5011 MB / 1.082 GB, free: 84.29 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008669/0.9401, allocations: 357.6 kB / 1.082 GB, free: 84.17 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.9401, allocations: 1.344 kB / 1.082 GB, free: 84.17 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005287/0.9454, allocations: 1.394 MB / 1.083 GB, free: 83.78 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002888/0.9457, allocations: 1.425 MB / 1.085 GB, free: 82.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.9457, allocations: 7.625 kB / 1.085 GB, free: 82.28 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006415/0.9464, allocations: 145 kB / 1.085 GB, free: 82.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006842/0.9471, allocations: 170.3 kB / 1.085 GB, free: 82.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007944/0.9479, allocations: 0.7067 MB / 1.086 GB, free: 81.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.9493, allocations: 176 kB / 1.086 GB, free: 81.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.837e-05/0.9494, allocations: 31 kB / 1.086 GB, free: 81.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.9494, allocations: 3 kB / 1.086 GB, free: 81.57 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004751/0.9542, allocations: 1.252 MB / 1.087 GB, free: 81.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.9542, allocations: 3.312 kB / 1.087 GB, free: 81.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006588/0.9549, allocations: 141 kB / 1.087 GB, free: 81.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007292/0.9556, allocations: 170.1 kB / 1.087 GB, free: 81.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000888/0.9565, allocations: 0.7027 MB / 1.088 GB, free: 80.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.9582, allocations: 164.7 kB / 1.088 GB, free: 80.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.9584, allocations: 29.95 kB / 1.088 GB, free: 80.54 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.001005/0.9594, allocations: 422.7 kB / 1.089 GB, free: 80.22 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004962/0.9599, allocations: 139.1 kB / 1.089 GB, free: 80.15 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005198/0.9651, allocations: 1.401 MB / 1.09 GB, free: 79.73 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/0.9651, allocations: 7.531 kB / 1.09 GB, free: 79.73 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.9651, allocations: 0.6094 kB / 1.09 GB, free: 79.73 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004325/0.9695, allocations: 1.232 MB / 1.091 GB, free: 79.32 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/0.9799, allocations: 2.759 MB / 1.094 GB, free: 78.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.538e-05/0.9799, allocations: 9.344 kB / 1.094 GB, free: 78.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005521/0.9805, allocations: 119.3 kB / 1.094 GB, free: 78.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005271/0.981, allocations: 138 kB / 1.094 GB, free: 78.06 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.805e-05/0.9811, allocations: 27.88 kB / 1.094 GB, free: 78.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004869/0.986, allocations: 2.497 MB / 1.097 GB, free: 76.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.986, allocations: 4.672 kB / 1.097 GB, free: 76.28 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00558/0.9916, allocations: 2.069 MB / 1.099 GB, free: 75.16 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007868/0.9924, allocations: 342.1 kB / 1.099 GB, free: 74.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003012/0.9927, allocations: 14.53 kB / 1.099 GB, free: 74.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009893/0.9937, allocations: 93.33 kB / 1.099 GB, free: 74.89 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.9938, allocations: 62 kB / 1.099 GB, free: 74.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.211e-05/0.9939, allocations: 32.48 kB / 1.099 GB, free: 74.87 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001556/0.9955, allocations: 0.8925 MB / 1.1 GB, free: 74.48 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9955, allocations: 0 / 1.1 GB, free: 74.48 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002356/0.9978, allocations: 0.7218 MB / 1.101 GB, free: 74.36 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009136/0.9988, allocations: 449.5 kB / 1.101 GB, free: 74.16 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002704/1.001, allocations: 1.163 MB / 1.102 GB, free: 73.66 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.002, allocations: 8.031 kB / 1.102 GB, free: 73.66 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/1.003, allocations: 0.5882 MB / 1.103 GB, free: 73.33 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00309/1.006, allocations: 0.7608 MB / 1.104 GB, free: 72.98 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003918/1.01, allocations: 2.751 MB / 1.106 GB, free: 71.09 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007545/1.011, allocations: 1.196 MB / 1.108 GB, free: 70.15 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001351/1.012, allocations: 313.1 kB / 1.108 GB, free: 70 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/1.012, allocations: 108.8 kB / 1.108 GB, free: 69.97 MB / 0.6823 GB Notification: Performance of SimCode: time 4.61e-07/1.012, allocations: 0 / 1.108 GB, free: 69.97 MB / 0.6823 GB Notification: Performance of Templates: time 0.04652/1.059, allocations: 30.2 MB / 1.138 GB, free: 47.91 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)