Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.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_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, 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.7372/0.7372, allocations: 132.2 MB / 148.9 MB, free: 12.14 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.387/1.387, allocations: 222.9 MB / 403.3 MB, free: 7.047 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.0009899/0.0009899, allocations: 119.8 kB / 484.3 MB, free: 8.688 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001042, allocations: 51.92 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1372, allocations: 80.21 MB / 0.6402 GB, free: 6.781 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.3804/0.5176, allocations: 74.66 MB / 0.7131 GB, free: 22.75 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01963/0.5373, allocations: 12.8 MB / 0.7256 GB, free: 19.46 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003504/0.5409, allocations: 63.75 kB / 0.7256 GB, free: 19.43 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002298/0.5432, allocations: 0.6711 MB / 0.7263 GB, free: 19.04 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007354/0.5506, allocations: 2.266 MB / 0.7285 GB, free: 17.67 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003395/0.554, allocations: 1.267 MB / 0.7297 GB, free: 16.91 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.007528/0.5615, allocations: 5.563 MB / 0.7352 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002612/0.5642, allocations: 1.187 MB / 0.7363 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004171/0.5684, allocations: 1.367 MB / 0.7377 GB, free: 13.63 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002614/0.571, allocations: 1.182 MB / 0.7388 GB, free: 13.04 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002695/0.5713, allocations: 73.81 kB / 0.7389 GB, free: 13.04 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004052/0.5754, allocations: 1.253 MB / 0.7401 GB, free: 12.35 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003846/0.5758, allocations: 319.7 kB / 0.7404 GB, free: 12.11 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001366/0.5771, allocations: 0.8077 MB / 0.7412 GB, free: 11.6 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004327/0.5815, allocations: 2.777 MB / 0.7439 GB, free: 9.719 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/0.5815, allocations: 0 / 0.7439 GB, free: 9.719 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5815, allocations: 0 / 0.7439 GB, free: 9.719 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.893e-05/0.5816, allocations: 0 / 0.7439 GB, free: 9.719 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004024/0.5856, allocations: 2.086 MB / 0.746 GB, free: 8.129 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.5857, allocations: 10.88 kB / 0.746 GB, free: 8.129 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008096/0.5865, allocations: 228.9 kB / 0.7462 GB, free: 8.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/0.5887, allocations: 1.492 MB / 0.7476 GB, free: 6.828 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.742e-05/0.5888, allocations: 77.53 kB / 0.7477 GB, free: 6.793 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.5889, allocations: 109.4 kB / 0.7478 GB, free: 6.754 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.5907, allocations: 1.099 MB / 0.7489 GB, free: 6.074 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.5907, allocations: 2.531 kB / 0.7489 GB, free: 6.074 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.546e-05/0.5908, allocations: 40.47 kB / 0.7489 GB, free: 6.043 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.27e-05/0.5908, allocations: 30.11 kB / 0.749 GB, free: 6.039 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/0.5927, allocations: 0.8846 MB / 0.7498 GB, free: 5.59 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.005736/0.5985, allocations: 4.901 MB / 0.7546 GB, free: 1.363 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.5998, allocations: 0.6242 MB / 0.7552 GB, free: 1.059 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006912/0.6005, allocations: 354.3 kB / 0.7556 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005251/0.601, allocations: 0.8265 MB / 0.7564 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.6011, allocations: 40.59 kB / 0.7564 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=61): time 2.876e-06/0.6011, allocations: 4 kB / 0.7564 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=61): time 0.007471/0.6085, allocations: 1.68 MB / 0.7581 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.6086, allocations: 55.97 kB / 0.7581 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/0.6102, allocations: 1.21 MB / 0.7593 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.464e-05/0.6103, allocations: 37.7 kB / 0.7593 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004827/0.6108, allocations: 0.6103 MB / 0.7599 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001993/0.611, allocations: 216.9 kB / 0.7601 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/0.6113, allocations: 154.5 kB / 0.7603 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.6114, allocations: 334 kB / 0.7606 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007259/0.6121, allocations: 292.7 kB / 0.7609 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008664/0.613, allocations: 495.8 kB / 0.7613 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.6145, allocations: 0.709 MB / 0.762 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.6145, allocations: 7.875 kB / 0.762 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004989/0.6195, allocations: 1.257 MB / 0.7633 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.6196, allocations: 11.98 kB / 0.7633 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.6196, allocations: 4.375 kB / 0.7633 GB, free: 8.668 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006502/0.6203, allocations: 132.8 kB / 0.7634 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006144/0.6209, allocations: 167.7 kB / 0.7636 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008041/0.6217, allocations: 0.6889 MB / 0.7642 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.6229, allocations: 155.1 kB / 0.7644 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-05/0.623, allocations: 43.92 kB / 0.7644 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001171/0.6242, allocations: 0.5448 MB / 0.765 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008383/0.6251, allocations: 0.4893 MB / 0.7654 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001399/0.6265, allocations: 0.7012 MB / 0.7661 GB, free: 5.594 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.769e-06/0.6265, allocations: 4.703 kB / 0.7661 GB, free: 5.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004993/0.6315, allocations: 1.261 MB / 0.7674 GB, free: 4.316 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.6315, allocations: 8 kB / 0.7674 GB, free: 4.309 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.6315, allocations: 4 kB / 0.7674 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005449/0.6321, allocations: 145.1 kB / 0.7675 GB, free: 4.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006015/0.6327, allocations: 155.8 kB / 0.7677 GB, free: 4.008 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007883/0.6335, allocations: 0.6966 MB / 0.7683 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.6348, allocations: 135.5 kB / 0.7685 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.012e-05/0.6349, allocations: 31.98 kB / 0.7685 GB, free: 3.121 MB / 0.4948 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.0002561/0.6351, allocations: 228.7 kB / 0.7687 GB, free: 2.891 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000321/0.6355, allocations: 138.2 kB / 0.7689 GB, free: 2.754 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004931/0.6404, allocations: 1.262 MB / 0.7701 GB, free: 1.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.6404, allocations: 8 kB / 0.7701 GB, free: 1.473 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.6404, allocations: 4 kB / 0.7701 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004349/0.6448, allocations: 1.099 MB / 0.7712 GB, free: 340 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006999/0.6518, allocations: 2.602 MB / 0.7737 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.6518, allocations: 4 kB / 0.7737 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005048/0.6524, allocations: 115.8 kB / 0.7738 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005074/0.6529, allocations: 137.2 kB / 0.774 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.485e-05/0.6529, allocations: 27.86 kB / 0.774 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004825/0.6578, allocations: 2.33 MB / 0.7763 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.6578, allocations: 4 kB / 0.7763 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03674/0.6945, allocations: 10.65 MB / 0.7867 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007581/0.6954, allocations: 303.2 kB / 0.7869 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002684/0.6956, allocations: 19.98 kB / 0.787 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.6967, allocations: 83.89 kB / 0.787 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/0.6969, allocations: 60.23 kB / 0.7871 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-05/0.697, allocations: 31.98 kB / 0.7871 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001651/0.6987, allocations: 0.8699 MB / 0.788 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.01e-07/0.6987, allocations: 0 / 0.788 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003761/0.7025, allocations: 1.088 MB / 0.789 GB, free: 13.37 MB / 0.5261 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.001011/0.7035, allocations: 442.8 kB / 0.7895 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002755/0.7063, allocations: 1.113 MB / 0.7906 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.7063, allocations: 0 / 0.7906 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001609/0.7079, allocations: 0.5608 MB / 0.7911 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004094/0.712, allocations: 0.7675 MB / 0.7919 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00657/0.7186, allocations: 3.478 MB / 0.7953 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009583/0.7196, allocations: 1.195 MB / 0.7964 GB, free: 5.707 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001595/0.7212, allocations: 307 kB / 0.7967 GB, free: 5.402 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003395/0.7215, allocations: 107.4 kB / 0.7968 GB, free: 5.297 MB / 0.5261 GB Notification: Performance of SimCode: time 1.052e-06/0.7216, allocations: 3.938 kB / 0.7968 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of Templates: time 0.05215/0.7737, allocations: 33.33 MB / 0.8294 GB, free: 4.27 MB / 0.5573 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.sim & ./IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)