Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001325/0.001325, allocations: 104.2 kB / 16.41 MB, free: 6.453 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.001273/0.001273, allocations: 189.7 kB / 17.34 MB, free: 5.711 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.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8561/0.8561, allocations: 135.2 MB / 426.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002729/0.002729, allocations: 67.45 kB / 0.5863 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.171, allocations: 80.93 MB / 0.6653 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.06542/0.2364, allocations: 61.25 MB / 0.7252 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02554/0.262, allocations: 11.99 MB / 0.7369 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002651/0.2646, allocations: 63.62 kB / 0.7369 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003131/0.2678, allocations: 0.6986 MB / 0.7376 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01064/0.2784, allocations: 2.072 MB / 0.7396 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006338/0.2847, allocations: 1.22 MB / 0.7408 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008654/0.2934, allocations: 3.079 MB / 0.7438 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002797/0.2962, allocations: 0.8968 MB / 0.7447 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005976/0.3022, allocations: 1.366 MB / 0.746 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002718/0.3049, allocations: 0.8867 MB / 0.7469 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003872/0.3053, allocations: 120 kB / 0.747 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005262/0.3105, allocations: 1.45 MB / 0.7484 GB, free: 384 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006609/0.3112, allocations: 298.7 kB / 0.7487 GB, free: 84 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.3992/0.7104, allocations: 0.6891 MB / 0.7494 GB, free: 23.02 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00517/0.7156, allocations: 2.32 MB / 0.7517 GB, free: 22.89 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.7156, allocations: 0 / 0.7517 GB, free: 22.89 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.925e-06/0.7156, allocations: 0.9375 kB / 0.7517 GB, free: 22.89 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.492e-05/0.7156, allocations: 1.312 kB / 0.7517 GB, free: 22.89 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.004059/0.7197, allocations: 1.774 MB / 0.7534 GB, free: 21.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.7197, allocations: 11.2 kB / 0.7534 GB, free: 21.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002281/0.722, allocations: 421 kB / 0.7538 GB, free: 21.85 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002423/0.7244, allocations: 1.176 MB / 0.755 GB, free: 21.46 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.099e-05/0.7245, allocations: 66.06 kB / 0.755 GB, free: 21.46 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.7246, allocations: 78.69 kB / 0.7551 GB, free: 21.46 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/0.7269, allocations: 0.9955 MB / 0.7561 GB, free: 21.27 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.7269, allocations: 1.094 kB / 0.7561 GB, free: 21.27 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.388e-05/0.727, allocations: 35.33 kB / 0.7561 GB, free: 21.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.535e-05/0.727, allocations: 19.34 kB / 0.7561 GB, free: 21.27 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00238/0.7294, allocations: 0.8501 MB / 0.757 GB, free: 21.25 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.007051/0.7364, allocations: 5.22 MB / 0.7621 GB, free: 18.14 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003633/0.7401, allocations: 0.7551 MB / 0.7628 GB, free: 18.11 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008282/0.7409, allocations: 282.6 kB / 0.7631 GB, free: 18.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005264/0.7414, allocations: 0.9001 MB / 0.7639 GB, free: 17.06 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.7414, allocations: 40.61 kB / 0.764 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.465e-06/0.7414, allocations: 0.5312 kB / 0.764 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.00739/0.7488, allocations: 1.696 MB / 0.7656 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.7489, allocations: 56.97 kB / 0.7657 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00213/0.751, allocations: 1.084 MB / 0.7667 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.7511, allocations: 36.7 kB / 0.7668 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004187/0.7515, allocations: 0.5337 MB / 0.7673 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.7517, allocations: 157.8 kB / 0.7675 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000265/0.7519, allocations: 141.9 kB / 0.7676 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.063e-05/0.752, allocations: 329.4 kB / 0.7679 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008604/0.7529, allocations: 307.3 kB / 0.7682 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.7539, allocations: 0.5315 MB / 0.7687 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/0.7556, allocations: 0.7088 MB / 0.7694 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.7556, allocations: 2 kB / 0.7694 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002901/0.7585, allocations: 1.005 MB / 0.7704 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.7585, allocations: 11.2 kB / 0.7704 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.7585, allocations: 8.594 kB / 0.7704 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.7598, allocations: 301.3 kB / 0.7707 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005637/0.7604, allocations: 133.9 kB / 0.7708 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.7618, allocations: 0.9029 MB / 0.7717 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.7633, allocations: 158.3 kB / 0.7719 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.7634, allocations: 31.25 kB / 0.7719 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001389/0.7648, allocations: 0.507 MB / 0.7724 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009995/0.7658, allocations: 0.5227 MB / 0.7729 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001486/0.7672, allocations: 0.7034 MB / 0.7736 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.378e-06/0.7672, allocations: 1.125 kB / 0.7736 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002746/0.77, allocations: 1.006 MB / 0.7746 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.77, allocations: 8.094 kB / 0.7746 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.77, allocations: 6.562 kB / 0.7746 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.7711, allocations: 309.6 kB / 0.7749 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005312/0.7716, allocations: 133.2 kB / 0.775 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.7729, allocations: 0.8919 MB / 0.7759 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.7744, allocations: 144 kB / 0.776 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.816e-05/0.7745, allocations: 29.59 kB / 0.776 GB, free: 13.39 MB / 0.5762 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.0002875/0.7747, allocations: 219.9 kB / 0.7762 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/0.775, allocations: 117.8 kB / 0.7764 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002431/0.7774, allocations: 0.9042 MB / 0.7772 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/0.7774, allocations: 5.938 kB / 0.7772 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.7774, allocations: 3.188 kB / 0.7773 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.7774, allocations: 6.438 kB / 0.7773 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005109/0.7825, allocations: 2.136 MB / 0.7793 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.7825, allocations: 1.344 kB / 0.7793 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.7828, allocations: 66.06 kB / 0.7794 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009498/0.7838, allocations: 294.6 kB / 0.7797 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.073e-05/0.7838, allocations: 14.52 kB / 0.7797 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/0.7851, allocations: 0.9269 MB / 0.7806 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.7851, allocations: 2.812 kB / 0.7806 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003496/0.7886, allocations: 1.14 MB / 0.7817 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005835/0.7892, allocations: 273.4 kB / 0.782 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/0.7894, allocations: 18.16 kB / 0.782 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007859/0.7901, allocations: 64.64 kB / 0.7821 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.7903, allocations: 41.84 kB / 0.7821 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.834e-05/0.7903, allocations: 20.27 kB / 0.7821 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001258/0.7916, allocations: 0.761 MB / 0.7829 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7916, allocations: 1.469 kB / 0.7829 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001957/0.7935, allocations: 0.5696 MB / 0.7834 GB, free: 11.4 MB / 0.5762 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.0009059/0.7944, allocations: 385.1 kB / 0.7838 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003226/0.7977, allocations: 1.085 MB / 0.7848 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.7977, allocations: 4.188 kB / 0.7849 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008622/0.7985, allocations: 323.5 kB / 0.7852 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002601/0.8011, allocations: 0.513 MB / 0.7857 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005404/0.8065, allocations: 2.091 MB / 0.7877 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/0.807, allocations: 1.061 MB / 0.7887 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003422/0.8074, allocations: 82.19 kB / 0.7888 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of SimCode: time 1.543e-06/0.8074, allocations: 0 / 0.7888 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of Templates: time 0.03075/0.8381, allocations: 24.17 MB / 0.8124 GB, free: 11.53 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)