Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.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.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 101 kB / 16.29 MB, free: 6.43 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.001316/0.001316, allocations: 185 kB / 17.22 MB, free: 5.934 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.701/1.701, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.857/1.857, allocations: 292.3 MB / 0.5495 GB, free: 17.43 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.002627/0.002627, allocations: 67.91 kB / 0.6722 GB, free: 6.477 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3227, allocations: 114.6 MB / 0.7841 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.6124/0.9352, allocations: 75.16 MB / 0.8575 GB, free: 15.05 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02582/0.9611, allocations: 12.64 MB / 0.8698 GB, free: 5.992 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004858/0.966, allocations: 69.16 kB / 0.8699 GB, free: 5.965 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003699/0.9697, allocations: 0.8259 MB / 0.8707 GB, free: 5.441 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01062/0.9804, allocations: 2.436 MB / 0.8731 GB, free: 3.973 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004888/0.9853, allocations: 1.405 MB / 0.8744 GB, free: 3.176 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009176/0.9945, allocations: 4.343 MB / 0.8787 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003238/0.9977, allocations: 1.438 MB / 0.8801 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005832/1.004, allocations: 1.626 MB / 0.8817 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003943/1.008, allocations: 1.198 MB / 0.8828 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006053/1.008, allocations: 163.8 kB / 0.883 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005903/1.014, allocations: 1.406 MB / 0.8844 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008184/1.015, allocations: 401.5 kB / 0.8848 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002684/1.018, allocations: 0.9046 MB / 0.8856 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007395/1.025, allocations: 2.868 MB / 0.8884 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/1.025, allocations: 0.9688 kB / 0.8884 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.444e-06/1.025, allocations: 0 / 0.8884 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.282e-05/1.025, allocations: 0 / 0.8884 GB, free: 10.46 MB / 0.6856 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.006356/1.032, allocations: 2.081 MB / 0.8905 GB, free: 8.887 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/1.032, allocations: 10.34 kB / 0.8905 GB, free: 8.887 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/1.033, allocations: 230.7 kB / 0.8907 GB, free: 8.777 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002959/1.036, allocations: 1.428 MB / 0.8921 GB, free: 7.633 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.896e-05/1.036, allocations: 83.7 kB / 0.8922 GB, free: 7.594 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/1.036, allocations: 109.3 kB / 0.8923 GB, free: 7.555 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002412/1.038, allocations: 1.097 MB / 0.8934 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.132e-05/1.038, allocations: 1.094 kB / 0.8934 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/1.038, allocations: 40.59 kB / 0.8934 GB, free: 6.844 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.866e-05/1.039, allocations: 25.12 kB / 0.8934 GB, free: 6.844 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/1.041, allocations: 0.8873 MB / 0.8943 GB, free: 6.402 MB / 0.6856 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.007635/1.048, allocations: 4.909 MB / 0.8991 GB, free: 2.168 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/1.05, allocations: 0.6182 MB / 0.8997 GB, free: 1.867 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007828/1.051, allocations: 350 kB / 0.9 GB, free: 1.699 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007466/1.051, allocations: 0.8288 MB / 0.9008 GB, free: 0.7305 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.162e-05/1.051, allocations: 39.03 kB / 0.9009 GB, free: 0.6875 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=61): time 3.046e-06/1.051, allocations: 3.938 kB / 0.9009 GB, free: 0.6836 MB / 0.6856 GB Notification: Performance of matching and sorting (n=61): time 0.007443/1.059, allocations: 1.674 MB / 0.9025 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/1.059, allocations: 59 kB / 0.9026 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003225/1.062, allocations: 1.22 MB / 0.9037 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001755/1.062, allocations: 44.55 kB / 0.9038 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00068/1.063, allocations: 0.6007 MB / 0.9044 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000337/1.063, allocations: 222.1 kB / 0.9046 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004107/1.064, allocations: 152.8 kB / 0.9047 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001538/1.064, allocations: 337.4 kB / 0.9051 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00077/1.065, allocations: 286.6 kB / 0.9053 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/1.066, allocations: 0.4899 MB / 0.9058 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/1.067, allocations: 0.7183 MB / 0.9065 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/1.067, allocations: 0 / 0.9065 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005014/1.072, allocations: 1.273 MB / 0.9078 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/1.072, allocations: 8 kB / 0.9078 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/1.072, allocations: 4 kB / 0.9078 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006471/1.073, allocations: 141.9 kB / 0.9079 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006506/1.074, allocations: 155.8 kB / 0.908 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008861/1.075, allocations: 0.7027 MB / 0.9087 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/1.076, allocations: 120.4 kB / 0.9088 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/1.076, allocations: 32 kB / 0.9089 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001343/1.078, allocations: 0.5526 MB / 0.9094 GB, free: 9.602 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009912/1.079, allocations: 491.8 kB / 0.9099 GB, free: 9.047 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001462/1.08, allocations: 0.7051 MB / 0.9106 GB, free: 8.289 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.898e-06/1.08, allocations: 0 / 0.9106 GB, free: 8.289 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004814/1.085, allocations: 1.261 MB / 0.9118 GB, free: 7.016 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/1.085, allocations: 12.06 kB / 0.9118 GB, free: 7.004 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/1.085, allocations: 4 kB / 0.9118 GB, free: 7 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006739/1.086, allocations: 136.7 kB / 0.912 GB, free: 6.863 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005952/1.086, allocations: 159.7 kB / 0.9121 GB, free: 6.707 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009489/1.087, allocations: 0.6936 MB / 0.9128 GB, free: 5.988 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/1.089, allocations: 107.5 kB / 0.9129 GB, free: 5.883 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/1.089, allocations: 28.62 kB / 0.9129 GB, free: 5.855 MB / 0.7012 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003878/1.09, allocations: 224.1 kB / 0.9131 GB, free: 5.629 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007146/1.09, allocations: 142.3 kB / 0.9133 GB, free: 5.488 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004857/1.095, allocations: 1.26 MB / 0.9145 GB, free: 4.211 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.122e-05/1.095, allocations: 8 kB / 0.9145 GB, free: 4.203 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/1.095, allocations: 0 / 0.9145 GB, free: 4.203 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003921/1.099, allocations: 1.103 MB / 0.9156 GB, free: 3.066 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007898/1.107, allocations: 2.619 MB / 0.9181 GB, free: 344 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/1.107, allocations: 0 / 0.9181 GB, free: 344 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005244/1.108, allocations: 111.9 kB / 0.9182 GB, free: 232 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004984/1.108, allocations: 137 kB / 0.9184 GB, free: 92 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.461e-05/1.108, allocations: 23.98 kB / 0.9184 GB, free: 68 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005117/1.113, allocations: 2.575 MB / 0.9209 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/1.113, allocations: 4 kB / 0.9209 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005579/1.119, allocations: 1.695 MB / 0.9226 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/1.12, allocations: 311.2 kB / 0.9229 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005213/1.121, allocations: 12 kB / 0.9229 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/1.122, allocations: 61.59 kB / 0.9229 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/1.122, allocations: 60.36 kB / 0.923 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.943e-05/1.122, allocations: 27.98 kB / 0.923 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002125/1.124, allocations: 0.8814 MB / 0.9239 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.6e-07/1.124, allocations: 0 / 0.9239 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003515/1.128, allocations: 0.7213 MB / 0.9246 GB, free: 9.492 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001353/1.129, allocations: 453.8 kB / 0.925 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003029/1.132, allocations: 1.131 MB / 0.9261 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/1.132, allocations: 0 / 0.9261 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001571/1.134, allocations: 0.5643 MB / 0.9267 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004377/1.138, allocations: 0.7969 MB / 0.9275 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004918/1.143, allocations: 2.244 MB / 0.9296 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/1.144, allocations: 1.18 MB / 0.9308 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001444/1.146, allocations: 311.4 kB / 0.9311 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003557/1.146, allocations: 111.3 kB / 0.9312 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of SimCode: time 1.583e-06/1.146, allocations: 0 / 0.9312 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of Templates: time 0.06418/1.21, allocations: 32.35 MB / 0.9628 GB, free: 2.809 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)