Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.006492/0.006492, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001176/0.001176, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8642/0.8642, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 65.89 kB / 0.5813 GB, free: 23.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1884, allocations: 80.22 MB / 0.6597 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.06242/0.2508, allocations: 61.18 MB / 0.7194 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01898/0.2699, allocations: 11.99 MB / 0.7311 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003446/0.2734, allocations: 63.56 kB / 0.7312 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002402/0.2759, allocations: 0.6947 MB / 0.7319 GB, free: 200 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006735/0.2826, allocations: 2.071 MB / 0.7339 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003395/0.286, allocations: 1.212 MB / 0.7351 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005271/0.2913, allocations: 3.087 MB / 0.7381 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002101/0.2935, allocations: 1.12 MB / 0.7392 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003669/0.2972, allocations: 1.362 MB / 0.7405 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00172/0.2989, allocations: 0.914 MB / 0.7414 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002023/0.2991, allocations: 120 kB / 0.7415 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002909/0.302, allocations: 1.45 MB / 0.7429 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003148/0.3023, allocations: 306.8 kB / 0.7432 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008617/0.3032, allocations: 0.7036 MB / 0.7439 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00391/0.3071, allocations: 2.329 MB / 0.7462 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3072, allocations: 4 kB / 0.7462 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3072, allocations: 4 kB / 0.7462 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.091e-05/0.3072, allocations: 0 / 0.7462 GB, free: 1.457 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.4252/0.7324, allocations: 1.738 MB / 0.7479 GB, free: 86.46 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.7325, allocations: 9.938 kB / 0.7479 GB, free: 86.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003096/0.7356, allocations: 457.9 kB / 0.7483 GB, free: 86.39 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003178/0.7388, allocations: 1.173 MB / 0.7495 GB, free: 86.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.153e-05/0.7389, allocations: 63.22 kB / 0.7495 GB, free: 86.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.7391, allocations: 79.81 kB / 0.7496 GB, free: 86.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002295/0.7414, allocations: 1.003 MB / 0.7506 GB, free: 85.69 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.7414, allocations: 7.875 kB / 0.7506 GB, free: 85.68 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.747e-05/0.7415, allocations: 31.34 kB / 0.7506 GB, free: 85.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/0.7415, allocations: 18.84 kB / 0.7507 GB, free: 85.66 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002556/0.7441, allocations: 0.9314 MB / 0.7516 GB, free: 85.37 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.00843/0.7525, allocations: 4.651 MB / 0.7561 GB, free: 82.01 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005066/0.7576, allocations: 0.9908 MB / 0.7571 GB, free: 81.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.759, allocations: 406.7 kB / 0.7575 GB, free: 81.63 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/0.76, allocations: 1.019 MB / 0.7585 GB, free: 80.49 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.7601, allocations: 37.53 kB / 0.7585 GB, free: 80.45 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 3.597e-06/0.7601, allocations: 0 / 0.7585 GB, free: 80.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.009227/0.7693, allocations: 1.917 MB / 0.7604 GB, free: 79.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.7694, allocations: 57.19 kB / 0.7604 GB, free: 79.85 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001612/0.771, allocations: 0.9474 MB / 0.7613 GB, free: 79.45 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.132e-05/0.7711, allocations: 37.89 kB / 0.7614 GB, free: 79.41 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003727/0.7715, allocations: 0.5043 MB / 0.7619 GB, free: 79.01 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/0.7717, allocations: 187 kB / 0.762 GB, free: 78.87 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/0.7719, allocations: 125.5 kB / 0.7622 GB, free: 78.81 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.712e-05/0.772, allocations: 334.4 kB / 0.7625 GB, free: 78.49 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.7732, allocations: 353 kB / 0.7628 GB, free: 78.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/0.7745, allocations: 0.5029 MB / 0.7633 GB, free: 78.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002085/0.7766, allocations: 0.7531 MB / 0.7641 GB, free: 77.76 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.7767, allocations: 4.906 kB / 0.7641 GB, free: 77.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003187/0.7798, allocations: 1.052 MB / 0.7651 GB, free: 77.37 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.7799, allocations: 7.344 kB / 0.7651 GB, free: 77.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.7799, allocations: 4.359 kB / 0.7651 GB, free: 77.37 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/0.7813, allocations: 310.9 kB / 0.7654 GB, free: 77.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006764/0.782, allocations: 130.5 kB / 0.7655 GB, free: 77.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.7833, allocations: 0.8987 MB / 0.7664 GB, free: 76.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.7845, allocations: 116.4 kB / 0.7665 GB, free: 76.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.964e-05/0.7846, allocations: 32.75 kB / 0.7665 GB, free: 76.58 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001573/0.7862, allocations: 0.5522 MB / 0.7671 GB, free: 76.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001144/0.7873, allocations: 0.5082 MB / 0.7676 GB, free: 76.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002016/0.7894, allocations: 0.743 MB / 0.7683 GB, free: 75.71 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.849e-06/0.7894, allocations: 2.422 kB / 0.7683 GB, free: 75.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003103/0.7925, allocations: 1.045 MB / 0.7693 GB, free: 75.26 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.7925, allocations: 5.906 kB / 0.7693 GB, free: 75.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.7925, allocations: 2.719 kB / 0.7693 GB, free: 75.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/0.7936, allocations: 299.6 kB / 0.7696 GB, free: 75.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006301/0.7942, allocations: 132.9 kB / 0.7697 GB, free: 75.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.7955, allocations: 0.8824 MB / 0.7706 GB, free: 74.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.7966, allocations: 117 kB / 0.7707 GB, free: 74.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.577e-05/0.7967, allocations: 31.83 kB / 0.7707 GB, free: 74.29 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.0002641/0.797, allocations: 213.9 kB / 0.7709 GB, free: 74.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000195/0.7972, allocations: 111.4 kB / 0.7711 GB, free: 74.03 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003178/0.8003, allocations: 1.144 MB / 0.7722 GB, free: 73.41 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/0.8004, allocations: 11.58 kB / 0.7722 GB, free: 73.41 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.8004, allocations: 1.406 kB / 0.7722 GB, free: 73.41 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.8004, allocations: 0 / 0.7722 GB, free: 73.41 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004734/0.8051, allocations: 2.243 MB / 0.7744 GB, free: 71.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.8052, allocations: 1.438 kB / 0.7744 GB, free: 71.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005638/0.8057, allocations: 109.6 kB / 0.7745 GB, free: 71.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009843/0.8067, allocations: 280.9 kB / 0.7747 GB, free: 71.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.988e-05/0.8068, allocations: 23.36 kB / 0.7748 GB, free: 71.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001361/0.8082, allocations: 0.9329 MB / 0.7757 GB, free: 70.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.8082, allocations: 1.375 kB / 0.7757 GB, free: 70.97 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00369/0.8119, allocations: 1.289 MB / 0.7769 GB, free: 70.22 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005007/0.8124, allocations: 277.6 kB / 0.7772 GB, free: 69.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.8126, allocations: 12.06 kB / 0.7772 GB, free: 69.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008796/0.8134, allocations: 80.62 kB / 0.7773 GB, free: 69.93 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.8136, allocations: 41.73 kB / 0.7773 GB, free: 69.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.604e-05/0.8136, allocations: 28.41 kB / 0.7774 GB, free: 69.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009587/0.8146, allocations: 0.6694 MB / 0.778 GB, free: 69.51 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8146, allocations: 0 / 0.778 GB, free: 69.51 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001689/0.8163, allocations: 0.5653 MB / 0.7786 GB, free: 69.41 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.000817/0.8171, allocations: 398.8 kB / 0.7789 GB, free: 69.23 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003755/0.8209, allocations: 1.299 MB / 0.7802 GB, free: 68.64 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.8209, allocations: 0 / 0.7802 GB, free: 68.64 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001172/0.8221, allocations: 459.1 kB / 0.7807 GB, free: 68.43 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/0.8243, allocations: 499.8 kB / 0.7811 GB, free: 68.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003392/0.8277, allocations: 1.895 MB / 0.783 GB, free: 67.06 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.8281, allocations: 1.071 MB / 0.784 GB, free: 66.19 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008693/0.829, allocations: 229.2 kB / 0.7842 GB, free: 66.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/0.8292, allocations: 82.16 kB / 0.7843 GB, free: 66.07 MB / 0.5762 GB Notification: Performance of SimCode: time 8.72e-07/0.8292, allocations: 4 kB / 0.7843 GB, free: 66.07 MB / 0.5762 GB Notification: Performance of Templates: time 0.03437/0.8636, allocations: 24.82 MB / 0.8086 GB, free: 41.86 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)