Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00131/0.00131, allocations: 192.7 kB / 16.13 MB, free: 6.699 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.552/1.552, allocations: 205.1 MB / 222 MB, free: 4.773 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.611/1.611, allocations: 251.7 MB / 0.5088 GB, free: 3.273 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.001867/0.001868, allocations: 63.91 kB / 0.6216 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6225/0.6243, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.05548/0.6799, allocations: 60.86 MB / 0.7832 GB, free: 92 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01624/0.6962, allocations: 11.92 MB / 0.7949 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002946/0.6992, allocations: 55.62 kB / 0.7949 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00246/0.7017, allocations: 0.5477 MB / 0.7955 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006049/0.7078, allocations: 1.789 MB / 0.7972 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003635/0.7114, allocations: 1.096 MB / 0.7983 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005425/0.7169, allocations: 3.882 MB / 0.8021 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001458/0.7183, allocations: 0.9197 MB / 0.803 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00254/0.7209, allocations: 1.143 MB / 0.8041 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00169/0.7226, allocations: 0.8982 MB / 0.805 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.7228, allocations: 60 kB / 0.805 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003085/0.7259, allocations: 1.317 MB / 0.8063 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002987/0.7262, allocations: 242.8 kB / 0.8065 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008554/0.727, allocations: 0.6411 MB / 0.8072 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003055/0.7301, allocations: 2.236 MB / 0.8094 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.7301, allocations: 0 / 0.8094 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of FrontEnd: time 7.42e-07/0.7301, allocations: 0 / 0.8094 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.646e-05/0.7301, allocations: 0 / 0.8094 GB, free: 5.242 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003043/0.7332, allocations: 1.73 MB / 0.811 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.7332, allocations: 8.031 kB / 0.811 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002124/0.7354, allocations: 406.8 kB / 0.8114 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002007/0.7374, allocations: 1.136 MB / 0.8125 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003462/0.7378, allocations: 121.9 kB / 0.8127 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.7379, allocations: 83.94 kB / 0.8127 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/0.7398, allocations: 0.9761 MB / 0.8137 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.7399, allocations: 0 / 0.8137 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.891e-05/0.7399, allocations: 32 kB / 0.8137 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.74, allocations: 16 kB / 0.8137 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.7422, allocations: 0.8743 MB / 0.8146 GB, free: 15.71 MB / 0.6387 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.006262/0.7484, allocations: 4.592 MB / 0.8191 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003329/0.7518, allocations: 0.8375 MB / 0.8199 GB, free: 9.961 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006904/0.7525, allocations: 314.2 kB / 0.8202 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006258/0.7531, allocations: 0.9068 MB / 0.8211 GB, free: 8.543 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.7532, allocations: 39 kB / 0.8211 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 2.094e-06/0.7532, allocations: 0 / 0.8211 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of matching and sorting (n=47): time 0.006838/0.76, allocations: 1.807 MB / 0.8229 GB, free: 6.66 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.7601, allocations: 55.84 kB / 0.8229 GB, free: 6.594 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001737/0.7618, allocations: 1.067 MB / 0.824 GB, free: 5.512 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.739e-05/0.7619, allocations: 33.7 kB / 0.824 GB, free: 5.473 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004709/0.7624, allocations: 0.5197 MB / 0.8245 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.7626, allocations: 165.6 kB / 0.8247 GB, free: 4.785 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/0.7628, allocations: 138 kB / 0.8248 GB, free: 4.645 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.7629, allocations: 330 kB / 0.8251 GB, free: 4.316 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008455/0.7638, allocations: 310.9 kB / 0.8254 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.7648, allocations: 0.5118 MB / 0.8259 GB, free: 3.422 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/0.7664, allocations: 0.6903 MB / 0.8266 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.7664, allocations: 0 / 0.8266 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002624/0.7691, allocations: 1.015 MB / 0.8276 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.7691, allocations: 4 kB / 0.8276 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.7691, allocations: 8.312 kB / 0.8276 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/0.7704, allocations: 316.6 kB / 0.8279 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005417/0.7709, allocations: 127.8 kB / 0.828 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.7723, allocations: 0.9142 MB / 0.8289 GB, free: 272 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.7737, allocations: 179.2 kB / 0.8291 GB, free: 92 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.477e-05/0.7738, allocations: 27.98 kB / 0.8291 GB, free: 64 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001189/0.775, allocations: 0.5166 MB / 0.8296 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009903/0.776, allocations: 0.5079 MB / 0.8301 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001538/0.7775, allocations: 0.6786 MB / 0.8308 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.905e-06/0.7775, allocations: 0 / 0.8308 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002594/0.7801, allocations: 1.003 MB / 0.8318 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.7802, allocations: 8.062 kB / 0.8318 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.7802, allocations: 4 kB / 0.8318 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.7812, allocations: 320.4 kB / 0.8321 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000532/0.7818, allocations: 123.8 kB / 0.8322 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/0.7833, allocations: 0.9036 MB / 0.8331 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.7847, allocations: 155.5 kB / 0.8332 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.323e-05/0.7848, allocations: 31.98 kB / 0.8332 GB, free: 11.65 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (55): * Single equations (assignments): 54 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002299/0.785, allocations: 220.1 kB / 0.8335 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.7852, allocations: 110.7 kB / 0.8336 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/0.7876, allocations: 0.9909 MB / 0.8345 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.7876, allocations: 4 kB / 0.8345 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.7876, allocations: 3.984 kB / 0.8345 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.7876, allocations: 0 / 0.8345 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005611/0.7932, allocations: 2.352 MB / 0.8368 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.495e-06/0.7933, allocations: 7.938 kB / 0.8368 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003399/0.7936, allocations: 72.16 kB / 0.8369 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001002/0.7946, allocations: 308.6 kB / 0.8372 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.7947, allocations: 15.98 kB / 0.8372 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.796, allocations: 0.9446 MB / 0.8381 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.587e-06/0.7961, allocations: 7.938 kB / 0.8382 GB, free: 6.488 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00354/0.7996, allocations: 1.196 MB / 0.8393 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005513/0.8002, allocations: 271.5 kB / 0.8396 GB, free: 4.961 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.8003, allocations: 12 kB / 0.8396 GB, free: 4.949 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000871/0.8012, allocations: 91.83 kB / 0.8397 GB, free: 4.859 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.275e-05/0.8013, allocations: 43.94 kB / 0.8397 GB, free: 4.816 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.368e-05/0.8014, allocations: 27.92 kB / 0.8397 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001135/0.8025, allocations: 0.7352 MB / 0.8405 GB, free: 4.047 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8025, allocations: 11.88 kB / 0.8405 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001574/0.8041, allocations: 0.5575 MB / 0.841 GB, free: 3.477 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (37): * Single equations (assignments): 32 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008441/0.805, allocations: 359.7 kB / 0.8414 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003121/0.8081, allocations: 1.139 MB / 0.8425 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.8081, allocations: 0 / 0.8425 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000868/0.809, allocations: 370.9 kB / 0.8428 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002281/0.8113, allocations: 0.5223 MB / 0.8433 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005456/0.8167, allocations: 2.451 MB / 0.8457 GB, free: 14.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005767/0.8173, allocations: 1.062 MB / 0.8468 GB, free: 13.51 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009656/0.8183, allocations: 232.8 kB / 0.847 GB, free: 13.28 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.8185, allocations: 87.41 kB / 0.8471 GB, free: 13.19 MB / 0.67 GB Notification: Performance of SimCode: time 3.31e-07/0.8185, allocations: 0 / 0.8471 GB, free: 13.19 MB / 0.67 GB Notification: Performance of Templates: time 0.051/0.8695, allocations: 24.26 MB / 0.8708 GB, free: 5.246 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)