Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.conf.json 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/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001145, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7006/0.7006, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 403.4 MB, free: 7.102 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 93.98 kB / 484.3 MB, free: 8.727 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 59.92 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1291, allocations: 80.2 MB / 0.6402 GB, free: 6.793 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.3455/0.4746, allocations: 60.77 MB / 0.6995 GB, free: 25.93 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01633/0.491, allocations: 12.05 MB / 0.7113 GB, free: 25.7 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002388/0.4934, allocations: 59.16 kB / 0.7113 GB, free: 25.69 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002171/0.4956, allocations: 0.5488 MB / 0.7119 GB, free: 25.68 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006288/0.502, allocations: 1.804 MB / 0.7136 GB, free: 25.39 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004008/0.506, allocations: 1.067 MB / 0.7147 GB, free: 25.24 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.005939/0.5119, allocations: 3.916 MB / 0.7185 GB, free: 23.8 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001914/0.5139, allocations: 0.9266 MB / 0.7194 GB, free: 23.4 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002796/0.5167, allocations: 1.171 MB / 0.7206 GB, free: 22.93 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001994/0.5187, allocations: 0.8909 MB / 0.7214 GB, free: 22.61 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003659/0.5191, allocations: 56.5 kB / 0.7215 GB, free: 22.61 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003751/0.5228, allocations: 1.345 MB / 0.7228 GB, free: 22.23 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004794/0.5233, allocations: 237.9 kB / 0.723 GB, free: 22.11 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001513/0.5249, allocations: 0.6323 MB / 0.7236 GB, free: 21.74 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004464/0.5293, allocations: 2.24 MB / 0.7258 GB, free: 21.01 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.5294, allocations: 0 / 0.7258 GB, free: 21.01 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.5294, allocations: 1.5 kB / 0.7258 GB, free: 21.01 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.293e-05/0.5294, allocations: 4 kB / 0.7258 GB, free: 21 MB / 490.7 MB 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.004474/0.5339, allocations: 1.721 MB / 0.7275 GB, free: 19.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.534, allocations: 9.594 kB / 0.7275 GB, free: 19.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00242/0.5364, allocations: 411.3 kB / 0.7279 GB, free: 19.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003085/0.5395, allocations: 1.128 MB / 0.729 GB, free: 19.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003809/0.5399, allocations: 116.1 kB / 0.7291 GB, free: 19.04 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00027/0.5402, allocations: 89.61 kB / 0.7292 GB, free: 19.01 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002356/0.5426, allocations: 0.9704 MB / 0.7302 GB, free: 18.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.5426, allocations: 1.125 kB / 0.7302 GB, free: 18.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.928e-05/0.5427, allocations: 32.19 kB / 0.7302 GB, free: 18.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.985e-05/0.5428, allocations: 27.34 kB / 0.7302 GB, free: 18.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00259/0.5453, allocations: 0.8564 MB / 0.731 GB, free: 18 MB / 490.7 MB 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.006466/0.5518, allocations: 4.842 MB / 0.7358 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003479/0.5553, allocations: 0.7859 MB / 0.7365 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007189/0.5561, allocations: 300 kB / 0.7368 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004526/0.5565, allocations: 0.9081 MB / 0.7377 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.5566, allocations: 40.91 kB / 0.7378 GB, free: 12.06 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 2.895e-06/0.5566, allocations: 0 / 0.7378 GB, free: 12.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=43): time 0.007284/0.5639, allocations: 1.768 MB / 0.7395 GB, free: 11.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.5639, allocations: 60.84 kB / 0.7395 GB, free: 11.08 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/0.5656, allocations: 1.047 MB / 0.7406 GB, free: 10.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.622e-05/0.5657, allocations: 42.7 kB / 0.7406 GB, free: 10.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003223/0.566, allocations: 0.5166 MB / 0.7411 GB, free: 9.996 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.5661, allocations: 158 kB / 0.7413 GB, free: 9.863 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002347/0.5664, allocations: 124.5 kB / 0.7414 GB, free: 9.789 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.01e-05/0.5664, allocations: 327.2 kB / 0.7417 GB, free: 9.469 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008421/0.5673, allocations: 306.1 kB / 0.742 GB, free: 9.316 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.5683, allocations: 0.5004 MB / 0.7425 GB, free: 8.918 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/0.5699, allocations: 0.6818 MB / 0.7431 GB, free: 8.473 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.57, allocations: 0 / 0.7431 GB, free: 8.473 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003619/0.5736, allocations: 1.133 MB / 0.7442 GB, free: 7.906 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.5736, allocations: 6.469 kB / 0.7442 GB, free: 7.906 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.5736, allocations: 5.469 kB / 0.7443 GB, free: 7.906 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/0.5749, allocations: 309.9 kB / 0.7445 GB, free: 7.766 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005024/0.5754, allocations: 118.2 kB / 0.7447 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.5768, allocations: 0.9102 MB / 0.7455 GB, free: 7.012 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.5783, allocations: 179.4 kB / 0.7457 GB, free: 6.918 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.118e-05/0.5784, allocations: 27.78 kB / 0.7457 GB, free: 6.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001179/0.5796, allocations: 0.5062 MB / 0.7462 GB, free: 6.605 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009655/0.5806, allocations: 0.5021 MB / 0.7467 GB, free: 6.199 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001517/0.5821, allocations: 0.6711 MB / 0.7474 GB, free: 5.758 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.951e-06/0.5821, allocations: 2.688 kB / 0.7474 GB, free: 5.758 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.003525/0.5857, allocations: 1.117 MB / 0.7485 GB, free: 4.902 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.5857, allocations: 4 kB / 0.7485 GB, free: 4.898 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.5857, allocations: 15.55 kB / 0.7485 GB, free: 4.887 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/0.5868, allocations: 308.8 kB / 0.7488 GB, free: 4.582 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004788/0.5873, allocations: 123.8 kB / 0.7489 GB, free: 4.461 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.5886, allocations: 0.898 MB / 0.7498 GB, free: 3.539 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/0.5901, allocations: 159.5 kB / 0.7499 GB, free: 3.383 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.897e-05/0.5902, allocations: 35.92 kB / 0.75 GB, free: 3.348 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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.0002283/0.5905, allocations: 216.1 kB / 0.7502 GB, free: 3.129 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004138/0.5909, allocations: 106.7 kB / 0.7503 GB, free: 3.023 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/0.5933, allocations: 0.9324 MB / 0.7512 GB, free: 2.078 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/0.5934, allocations: 4 kB / 0.7512 GB, free: 2.074 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.5934, allocations: 7.938 kB / 0.7512 GB, free: 2.066 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.5934, allocations: 3.984 kB / 0.7512 GB, free: 2.062 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005759/0.5991, allocations: 2.161 MB / 0.7533 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.5992, allocations: 4 kB / 0.7533 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/0.5995, allocations: 63.89 kB / 0.7534 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001089/0.6006, allocations: 294.5 kB / 0.7537 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.554e-05/0.6007, allocations: 19.98 kB / 0.7537 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/0.6022, allocations: 0.9482 MB / 0.7546 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.6022, allocations: 0 / 0.7546 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005248/0.6074, allocations: 2.252 MB / 0.7568 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006143/0.6081, allocations: 267.5 kB / 0.7571 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/0.6083, allocations: 11.98 kB / 0.7571 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.6094, allocations: 95.89 kB / 0.7572 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.545e-05/0.6095, allocations: 35.89 kB / 0.7572 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.844e-05/0.6096, allocations: 23.98 kB / 0.7572 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001205/0.6108, allocations: 0.7352 MB / 0.7579 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6108, allocations: 0 / 0.7579 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002058/0.6129, allocations: 0.5731 MB / 0.7585 GB, free: 10.38 MB / 0.4948 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 (33): * Single equations (assignments): 28 * 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.0008981/0.6138, allocations: 375.5 kB / 0.7589 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003302/0.6171, allocations: 1.091 MB / 0.7599 GB, free: 8.945 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6171, allocations: 4 kB / 0.7599 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009596/0.6181, allocations: 350.3 kB / 0.7603 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002796/0.6209, allocations: 0.4938 MB / 0.7607 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00604/0.6269, allocations: 2.745 MB / 0.7634 GB, free: 5.309 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00079/0.6277, allocations: 1.077 MB / 0.7645 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001312/0.6291, allocations: 224.6 kB / 0.7647 GB, free: 3.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/0.6294, allocations: 71.42 kB / 0.7648 GB, free: 3.91 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.6294, allocations: 4 kB / 0.7648 GB, free: 3.906 MB / 0.4948 GB Notification: Performance of Templates: time 0.03968/0.6691, allocations: 24.34 MB / 0.7885 GB, free: 11.87 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)