Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007475/0.007475, allocations: 105 kB / 15.74 MB, free: 6.02 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.001622/0.001622, allocations: 189.4 kB / 16.67 MB, free: 5.941 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8571/0.8571, allocations: 135.1 MB / 425.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 65.69 kB / 0.5856 GB, free: 21.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1492, allocations: 80.92 MB / 0.6646 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.06827/0.2175, allocations: 61.19 MB / 0.7244 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02039/0.238, allocations: 11.98 MB / 0.7361 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002791/0.2408, allocations: 59.62 kB / 0.7361 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002376/0.2432, allocations: 0.6791 MB / 0.7368 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006709/0.25, allocations: 1.967 MB / 0.7387 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003561/0.2536, allocations: 1.201 MB / 0.7399 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005294/0.2589, allocations: 3.095 MB / 0.7429 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002107/0.261, allocations: 1.124 MB / 0.744 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003513/0.2645, allocations: 1.333 MB / 0.7453 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002129/0.2667, allocations: 0.9179 MB / 0.7462 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004661/0.2672, allocations: 116 kB / 0.7463 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003742/0.2709, allocations: 1.45 MB / 0.7477 GB, free: 364 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005562/0.2715, allocations: 306.8 kB / 0.748 GB, free: 56 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.3589/0.6304, allocations: 0.6978 MB / 0.7487 GB, free: 23.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004196/0.6347, allocations: 2.346 MB / 0.751 GB, free: 23.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.6347, allocations: 0 / 0.751 GB, free: 23.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.315e-06/0.6347, allocations: 1.25 kB / 0.751 GB, free: 23.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.651e-05/0.6347, allocations: 0 / 0.751 GB, free: 23.18 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003821/0.6386, allocations: 1.791 MB / 0.7528 GB, free: 22.21 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 8.216e-05/0.6387, allocations: 12.48 kB / 0.7528 GB, free: 22.21 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002946/0.6416, allocations: 466.3 kB / 0.7532 GB, free: 22.13 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002552/0.6442, allocations: 1.183 MB / 0.7544 GB, free: 21.75 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.827e-05/0.6443, allocations: 63.97 kB / 0.7544 GB, free: 21.75 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.6444, allocations: 79.22 kB / 0.7545 GB, free: 21.75 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/0.6469, allocations: 1.001 MB / 0.7555 GB, free: 21.62 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.6469, allocations: 0.75 kB / 0.7555 GB, free: 21.62 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-05/0.647, allocations: 33.22 kB / 0.7555 GB, free: 21.62 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.647, allocations: 19.06 kB / 0.7555 GB, free: 21.62 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002721/0.6497, allocations: 0.9364 MB / 0.7565 GB, free: 21.59 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.007189/0.6569, allocations: 4.66 MB / 0.761 GB, free: 19.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004543/0.6615, allocations: 0.9924 MB / 0.762 GB, free: 19.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.6626, allocations: 407.6 kB / 0.7624 GB, free: 19.14 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008085/0.6634, allocations: 1.022 MB / 0.7634 GB, free: 18.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.6635, allocations: 36.47 kB / 0.7634 GB, free: 17.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 3.156e-06/0.6635, allocations: 0.5 kB / 0.7634 GB, free: 17.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.007938/0.6714, allocations: 1.91 MB / 0.7653 GB, free: 17.71 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.6715, allocations: 62.97 kB / 0.7653 GB, free: 17.65 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/0.673, allocations: 0.9528 MB / 0.7662 GB, free: 17.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.6731, allocations: 36.83 kB / 0.7663 GB, free: 17.47 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003659/0.6735, allocations: 0.519 MB / 0.7668 GB, free: 17.28 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.6737, allocations: 184.2 kB / 0.767 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002271/0.6739, allocations: 132 kB / 0.7671 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.927e-05/0.674, allocations: 333.8 kB / 0.7674 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009858/0.675, allocations: 351.3 kB / 0.7677 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.6761, allocations: 0.5058 MB / 0.7682 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002092/0.6782, allocations: 0.7505 MB / 0.769 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.6782, allocations: 4 kB / 0.769 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002995/0.6812, allocations: 1.052 MB / 0.77 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.6813, allocations: 7.5 kB / 0.77 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.6813, allocations: 3.203 kB / 0.77 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001207/0.6825, allocations: 313.8 kB / 0.7703 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006203/0.6831, allocations: 129 kB / 0.7704 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.6845, allocations: 0.8921 MB / 0.7713 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.6857, allocations: 124.8 kB / 0.7714 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.203e-05/0.6858, allocations: 34.55 kB / 0.7715 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001399/0.6872, allocations: 0.5535 MB / 0.772 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001076/0.6883, allocations: 0.5014 MB / 0.7725 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001941/0.6902, allocations: 0.7431 MB / 0.7732 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.457e-06/0.6903, allocations: 1.125 kB / 0.7732 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003022/0.6933, allocations: 1.052 MB / 0.7742 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.6933, allocations: 12.62 kB / 0.7743 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.6933, allocations: 3.188 kB / 0.7743 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/0.6944, allocations: 289.3 kB / 0.7745 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006261/0.695, allocations: 136.2 kB / 0.7747 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.6963, allocations: 0.8902 MB / 0.7755 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.6975, allocations: 113.5 kB / 0.7756 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.656e-05/0.6976, allocations: 28.48 kB / 0.7757 GB, free: 14.71 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.0002409/0.6979, allocations: 211.7 kB / 0.7759 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.6981, allocations: 118.6 kB / 0.776 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003217/0.7013, allocations: 1.142 MB / 0.7771 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/0.7014, allocations: 13.19 kB / 0.7771 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.7014, allocations: 1.719 kB / 0.7771 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.7014, allocations: 3.047 kB / 0.7771 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00477/0.7062, allocations: 2.244 MB / 0.7793 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.7062, allocations: 2.375 kB / 0.7793 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005532/0.7068, allocations: 112.7 kB / 0.7794 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009537/0.7077, allocations: 287.5 kB / 0.7797 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-05/0.7078, allocations: 22.61 kB / 0.7797 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001279/0.7091, allocations: 0.929 MB / 0.7806 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.7091, allocations: 4.344 kB / 0.7806 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003532/0.7126, allocations: 1.292 MB / 0.7819 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005236/0.7132, allocations: 283.5 kB / 0.7822 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.7133, allocations: 16.31 kB / 0.7822 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008321/0.7142, allocations: 79.72 kB / 0.7822 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.118e-05/0.7143, allocations: 36.83 kB / 0.7823 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-05/0.7143, allocations: 29.08 kB / 0.7823 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000928/0.7153, allocations: 0.6674 MB / 0.783 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7153, allocations: 0 / 0.783 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001677/0.717, allocations: 0.5815 MB / 0.7835 GB, free: 12.71 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0007936/0.7178, allocations: 384.9 kB / 0.7839 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003696/0.7215, allocations: 1.301 MB / 0.7852 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.7215, allocations: 0 / 0.7852 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.7227, allocations: 457.9 kB / 0.7856 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/0.7251, allocations: 490 kB / 0.7861 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003583/0.7287, allocations: 1.929 MB / 0.788 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004622/0.7292, allocations: 1.07 MB / 0.789 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009442/0.7302, allocations: 234.5 kB / 0.7892 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/0.7304, allocations: 82.78 kB / 0.7893 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of SimCode: time 9.12e-07/0.7304, allocations: 0 / 0.7893 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of Templates: time 0.04139/0.7718, allocations: 24.83 MB / 0.8136 GB, free: 10.58 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)