Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_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.00118/0.001181, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.609/1.609, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.698/1.698, allocations: 251.7 MB / 0.5092 GB, free: 3.16 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.001874/0.001875, allocations: 68.47 kB / 0.6223 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6089/0.6108, allocations: 104.7 MB / 0.7245 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.1101/0.721, allocations: 75.17 MB / 0.7979 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02037/0.7414, allocations: 12.59 MB / 0.8102 GB, free: 4.867 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003715/0.7452, allocations: 63.62 kB / 0.8103 GB, free: 4.805 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003043/0.7483, allocations: 0.8345 MB / 0.8111 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008976/0.7573, allocations: 2.432 MB / 0.8135 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004132/0.7615, allocations: 1.359 MB / 0.8148 GB, free: 180 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007304/0.7688, allocations: 4.33 MB / 0.819 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00287/0.7717, allocations: 1.429 MB / 0.8204 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004532/0.7762, allocations: 1.613 MB / 0.822 GB, free: 8.75 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002545/0.7788, allocations: 1.19 MB / 0.8232 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005967/0.7794, allocations: 160 kB / 0.8233 GB, free: 7.398 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003803/0.7832, allocations: 1.404 MB / 0.8247 GB, free: 5.992 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007034/0.784, allocations: 386.7 kB / 0.8251 GB, free: 5.613 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001996/0.786, allocations: 0.8982 MB / 0.8259 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005904/0.7919, allocations: 2.82 MB / 0.8287 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.7919, allocations: 4 kB / 0.8287 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.286e-06/0.7919, allocations: 4 kB / 0.8287 GB, free: 1.875 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.246e-05/0.792, allocations: 0 / 0.8287 GB, free: 1.875 MB / 0.6387 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.00579/0.7978, allocations: 2.074 MB / 0.8307 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.366e-05/0.7979, allocations: 12.03 kB / 0.8307 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.7991, allocations: 234.8 kB / 0.831 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003251/0.8023, allocations: 1.438 MB / 0.8324 GB, free: 14 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.408e-05/0.8024, allocations: 78 kB / 0.8324 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002239/0.8027, allocations: 100 kB / 0.8325 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/0.8052, allocations: 1.092 MB / 0.8336 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/0.8052, allocations: 0 / 0.8336 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-05/0.8053, allocations: 36 kB / 0.8336 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-05/0.8054, allocations: 31.98 kB / 0.8337 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002121/0.8075, allocations: 0.89 MB / 0.8345 GB, free: 11.74 MB / 0.6544 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.00792/0.8155, allocations: 4.927 MB / 0.8393 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.817, allocations: 0.6194 MB / 0.8399 GB, free: 5.898 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007438/0.8177, allocations: 346.3 kB / 0.8403 GB, free: 5.559 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00079/0.8185, allocations: 0.8355 MB / 0.8411 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.348e-05/0.8186, allocations: 39.12 kB / 0.8411 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=61): time 6.693e-06/0.8186, allocations: 3.984 kB / 0.8411 GB, free: 4.488 MB / 0.6544 GB Notification: Performance of matching and sorting (n=61): time 0.007764/0.8264, allocations: 1.67 MB / 0.8428 GB, free: 2.793 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.778e-05/0.8265, allocations: 63.97 kB / 0.8428 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003272/0.8298, allocations: 1.221 MB / 0.844 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000225/0.8301, allocations: 37.7 kB / 0.844 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000855/0.831, allocations: 0.6064 MB / 0.8446 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003495/0.8313, allocations: 220.8 kB / 0.8449 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004972/0.8318, allocations: 162.5 kB / 0.845 GB, free: 448 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.832, allocations: 326 kB / 0.8453 GB, free: 116 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007783/0.8328, allocations: 292.7 kB / 0.8456 GB, free: 15.82 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009696/0.8338, allocations: 499.8 kB / 0.8461 GB, free: 15.26 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.8354, allocations: 0.7129 MB / 0.8468 GB, free: 14.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.8354, allocations: 0 / 0.8468 GB, free: 14.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005282/0.8407, allocations: 1.277 MB / 0.848 GB, free: 13.21 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.8407, allocations: 8 kB / 0.848 GB, free: 13.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.8407, allocations: 4 kB / 0.848 GB, free: 13.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000668/0.8414, allocations: 137 kB / 0.8482 GB, free: 13.06 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006668/0.8421, allocations: 155.8 kB / 0.8483 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009847/0.8431, allocations: 0.6928 MB / 0.849 GB, free: 12.19 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.8445, allocations: 127 kB / 0.8491 GB, free: 12.07 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.8446, allocations: 35.98 kB / 0.8491 GB, free: 12.03 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001371/0.846, allocations: 0.5526 MB / 0.8497 GB, free: 11.48 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009318/0.8469, allocations: 491.8 kB / 0.8501 GB, free: 10.92 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001551/0.8485, allocations: 0.7088 MB / 0.8508 GB, free: 10.16 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.085e-06/0.8485, allocations: 4 kB / 0.8508 GB, free: 10.16 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005034/0.8535, allocations: 1.265 MB / 0.8521 GB, free: 8.883 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.8536, allocations: 8 kB / 0.8521 GB, free: 8.875 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.8536, allocations: 4 kB / 0.8521 GB, free: 8.871 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005384/0.8541, allocations: 136.9 kB / 0.8522 GB, free: 8.734 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006001/0.8548, allocations: 151.8 kB / 0.8524 GB, free: 8.586 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008266/0.8556, allocations: 0.7006 MB / 0.8531 GB, free: 7.859 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.8569, allocations: 107.5 kB / 0.8532 GB, free: 7.754 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-05/0.857, allocations: 31.98 kB / 0.8532 GB, free: 7.723 MB / 0.67 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.0002749/0.8572, allocations: 228 kB / 0.8534 GB, free: 7.492 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000433/0.8577, allocations: 134.3 kB / 0.8535 GB, free: 7.359 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004901/0.8626, allocations: 1.26 MB / 0.8548 GB, free: 6.078 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.791e-05/0.8626, allocations: 8 kB / 0.8548 GB, free: 6.07 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.8626, allocations: 3.938 kB / 0.8548 GB, free: 6.066 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004261/0.8669, allocations: 1.099 MB / 0.8558 GB, free: 4.934 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007387/0.8743, allocations: 2.61 MB / 0.8584 GB, free: 2.211 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.8743, allocations: 4 kB / 0.8584 GB, free: 2.207 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004966/0.8749, allocations: 111.9 kB / 0.8585 GB, free: 2.098 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000512/0.8754, allocations: 136.7 kB / 0.8586 GB, free: 1.961 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.574e-05/0.8755, allocations: 27.92 kB / 0.8587 GB, free: 1.934 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005486/0.881, allocations: 2.567 MB / 0.8612 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.898e-06/0.881, allocations: 11.88 kB / 0.8612 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005899/0.8869, allocations: 1.695 MB / 0.8628 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008644/0.8878, allocations: 303.2 kB / 0.8631 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004107/0.8882, allocations: 20 kB / 0.8631 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.8893, allocations: 59.89 kB / 0.8632 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.8895, allocations: 60.23 kB / 0.8633 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-05/0.8896, allocations: 27.98 kB / 0.8633 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001675/0.8913, allocations: 0.8853 MB / 0.8641 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8913, allocations: 0 / 0.8641 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002244/0.8935, allocations: 0.7135 MB / 0.8648 GB, free: 11.36 MB / 0.6856 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.001186/0.8947, allocations: 468.2 kB / 0.8653 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002959/0.8977, allocations: 1.152 MB / 0.8664 GB, free: 9.746 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.106e-06/0.8977, allocations: 5.125 kB / 0.8664 GB, free: 9.742 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001657/0.8994, allocations: 0.5641 MB / 0.867 GB, free: 9.168 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004036/0.9034, allocations: 0.8165 MB / 0.8678 GB, free: 8.375 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004219/0.9077, allocations: 2.276 MB / 0.87 GB, free: 6.027 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008462/0.9085, allocations: 1.18 MB / 0.8711 GB, free: 4.82 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001304/0.9098, allocations: 299 kB / 0.8714 GB, free: 4.523 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003313/0.9102, allocations: 103.4 kB / 0.8715 GB, free: 4.422 MB / 0.6856 GB Notification: Performance of SimCode: time 8.72e-07/0.9102, allocations: 0 / 0.8715 GB, free: 4.422 MB / 0.6856 GB Notification: Performance of Templates: time 0.0559/0.9661, allocations: 32.24 MB / 0.903 GB, free: 4.59 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)