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/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 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006151/0.006151, allocations: 101.7 kB / 15.73 MB, free: 6.047 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.001321/0.001321, allocations: 199 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7887/0.7887, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 59.91 kB / 0.5813 GB, free: 7.539 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4627/0.4641, allocations: 80.2 MB / 0.6597 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.05963/0.5238, allocations: 61.14 MB / 0.7194 GB, free: 8.895 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0184/0.5423, allocations: 11.99 MB / 0.7311 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002572/0.5449, allocations: 59.62 kB / 0.7311 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002367/0.5473, allocations: 0.6987 MB / 0.7318 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007612/0.555, allocations: 2.063 MB / 0.7338 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00416/0.5592, allocations: 1.215 MB / 0.735 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00632/0.5655, allocations: 3.079 MB / 0.738 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002194/0.5677, allocations: 1.092 MB / 0.7391 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004762/0.5725, allocations: 1.37 MB / 0.7404 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002323/0.5748, allocations: 0.8945 MB / 0.7413 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005187/0.5754, allocations: 116 kB / 0.7414 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004443/0.5798, allocations: 1.439 MB / 0.7428 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005821/0.5804, allocations: 290.9 kB / 0.7431 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001757/0.5822, allocations: 0.692 MB / 0.7438 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006145/0.5883, allocations: 2.312 MB / 0.746 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.5884, allocations: 0 / 0.746 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5884, allocations: 0 / 0.746 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.913e-05/0.5885, allocations: 0 / 0.746 GB, free: 13.5 MB / 0.5762 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.004835/0.5933, allocations: 1.73 MB / 0.7477 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.5934, allocations: 12.02 kB / 0.7477 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002448/0.5958, allocations: 406.6 kB / 0.7481 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003427/0.5993, allocations: 1.159 MB / 0.7492 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.5994, allocations: 70 kB / 0.7493 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/0.5996, allocations: 76 kB / 0.7494 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002549/0.6022, allocations: 0.9937 MB / 0.7504 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/0.6022, allocations: 4 kB / 0.7504 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.064e-05/0.6023, allocations: 39.94 kB / 0.7504 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.6024, allocations: 20 kB / 0.7504 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/0.6047, allocations: 0.8546 MB / 0.7513 GB, free: 7.969 MB / 0.5762 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.007648/0.6123, allocations: 5.223 MB / 0.7564 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003043/0.6154, allocations: 0.7803 MB / 0.7571 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006849/0.6161, allocations: 302.3 kB / 0.7574 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006838/0.6168, allocations: 0.9025 MB / 0.7583 GB, free: 188 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.6169, allocations: 42.56 kB / 0.7583 GB, free: 136 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.935e-06/0.6169, allocations: 0 / 0.7583 GB, free: 136 kB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.006411/0.6233, allocations: 1.689 MB / 0.76 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.6234, allocations: 55.41 kB / 0.76 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002206/0.6256, allocations: 1.08 MB / 0.7611 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.6257, allocations: 37.7 kB / 0.7611 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006239/0.6263, allocations: 0.5311 MB / 0.7616 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.6265, allocations: 149.8 kB / 0.7618 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002799/0.6268, allocations: 134.2 kB / 0.7619 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.627, allocations: 326 kB / 0.7622 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008115/0.6278, allocations: 311.3 kB / 0.7625 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.6288, allocations: 0.529 MB / 0.763 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.6304, allocations: 0.7094 MB / 0.7637 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/0.6304, allocations: 4 kB / 0.7637 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002645/0.633, allocations: 1.004 MB / 0.7647 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.6331, allocations: 11.94 kB / 0.7647 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.6331, allocations: 4 kB / 0.7647 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.6344, allocations: 311.1 kB / 0.765 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005485/0.6349, allocations: 135.7 kB / 0.7652 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.6364, allocations: 0.8996 MB / 0.766 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.6377, allocations: 147.2 kB / 0.7662 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.6379, allocations: 35.98 kB / 0.7662 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001265/0.6391, allocations: 0.5012 MB / 0.7667 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001064/0.6402, allocations: 0.5303 MB / 0.7672 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001565/0.6418, allocations: 0.7024 MB / 0.7679 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.013e-05/0.6418, allocations: 3.938 kB / 0.7679 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002651/0.6445, allocations: 1 MB / 0.7689 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.6445, allocations: 8 kB / 0.7689 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.6445, allocations: 4 kB / 0.7689 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.6456, allocations: 304.6 kB / 0.7692 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005251/0.6461, allocations: 127.8 kB / 0.7693 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.6475, allocations: 0.8988 MB / 0.7702 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.6488, allocations: 131.6 kB / 0.7703 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.949e-05/0.6488, allocations: 35.98 kB / 0.7703 GB, free: 3.332 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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.0002656/0.6491, allocations: 224.9 kB / 0.7706 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000312/0.6494, allocations: 114.5 kB / 0.7707 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.6518, allocations: 0.9146 MB / 0.7716 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.6518, allocations: 4 kB / 0.7716 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.6518, allocations: 0 / 0.7716 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.6518, allocations: 7.984 kB / 0.7716 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005145/0.657, allocations: 2.143 MB / 0.7737 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.657, allocations: 4 kB / 0.7737 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.6573, allocations: 63.83 kB / 0.7737 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009318/0.6582, allocations: 303.3 kB / 0.774 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.333e-05/0.6583, allocations: 12 kB / 0.774 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001343/0.6596, allocations: 0.9192 MB / 0.7749 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.6596, allocations: 7.969 kB / 0.7749 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003247/0.6629, allocations: 1.141 MB / 0.776 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005485/0.6635, allocations: 267.5 kB / 0.7763 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000244/0.6637, allocations: 8 kB / 0.7763 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008672/0.6646, allocations: 75.91 kB / 0.7764 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.072e-05/0.6647, allocations: 47.66 kB / 0.7764 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.094e-05/0.6648, allocations: 23.98 kB / 0.7764 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001314/0.6661, allocations: 0.7512 MB / 0.7772 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6661, allocations: 0 / 0.7772 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00198/0.6681, allocations: 0.5731 MB / 0.7777 GB, free: 11.54 MB / 0.6075 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.00103/0.6691, allocations: 379.9 kB / 0.7781 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003117/0.6722, allocations: 1.117 MB / 0.7792 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.6723, allocations: 0 / 0.7792 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008697/0.6731, allocations: 350.8 kB / 0.7795 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002361/0.6755, allocations: 0.5175 MB / 0.78 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005395/0.6809, allocations: 2.01 MB / 0.782 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007629/0.6817, allocations: 1.065 MB / 0.783 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009023/0.6826, allocations: 226.6 kB / 0.7833 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.6828, allocations: 79.36 kB / 0.7833 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of SimCode: time 1.813e-06/0.6829, allocations: 0 / 0.7833 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of Templates: time 0.04448/0.7273, allocations: 25 MB / 0.8077 GB, free: 13.07 MB / 0.6387 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)