Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 104.3 kB / 16.41 MB, free: 6.457 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.001932/0.001932, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7894/0.7894, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.97 kB / 0.582 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1746, allocations: 80.21 MB / 0.6603 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.05691/0.2316, allocations: 61.16 MB / 0.7201 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01724/0.2489, allocations: 11.98 MB / 0.7318 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002814/0.2517, allocations: 59.62 kB / 0.7318 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00235/0.2541, allocations: 0.6791 MB / 0.7325 GB, free: 96 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006568/0.2608, allocations: 1.96 MB / 0.7344 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003575/0.2643, allocations: 1.21 MB / 0.7356 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005052/0.2694, allocations: 3.083 MB / 0.7386 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001798/0.2712, allocations: 1.1 MB / 0.7397 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003445/0.2747, allocations: 1.364 MB / 0.741 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/0.2763, allocations: 0.8945 MB / 0.7419 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002153/0.2765, allocations: 116 kB / 0.742 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003069/0.2796, allocations: 1.458 MB / 0.7434 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003107/0.2799, allocations: 302.8 kB / 0.7437 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000849/0.2808, allocations: 0.6842 MB / 0.7444 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003674/0.2844, allocations: 2.322 MB / 0.7466 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.2845, allocations: 0 / 0.7466 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2845, allocations: 0 / 0.7466 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.883e-05/0.2845, allocations: 0 / 0.7466 GB, free: 1.555 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.3724/0.6569, allocations: 1.73 MB / 0.7483 GB, free: 86.46 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.6569, allocations: 9.531 kB / 0.7483 GB, free: 86.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/0.659, allocations: 345.6 kB / 0.7487 GB, free: 86.4 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002692/0.6617, allocations: 1.158 MB / 0.7498 GB, free: 86.03 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.858e-05/0.6618, allocations: 65.34 kB / 0.7499 GB, free: 86.03 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.6619, allocations: 77.5 kB / 0.7499 GB, free: 86.03 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/0.6639, allocations: 0.9701 MB / 0.7509 GB, free: 85.74 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.6639, allocations: 8.906 kB / 0.7509 GB, free: 85.74 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-05/0.664, allocations: 30.84 kB / 0.7509 GB, free: 85.71 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.664, allocations: 19.69 kB / 0.7509 GB, free: 85.71 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.666, allocations: 0.7966 MB / 0.7517 GB, free: 85.45 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.00791/0.6739, allocations: 5.129 MB / 0.7567 GB, free: 81.49 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.6758, allocations: 0.5671 MB / 0.7573 GB, free: 81.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006398/0.6764, allocations: 263.8 kB / 0.7575 GB, free: 81.21 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/0.6776, allocations: 1.371 MB / 0.7589 GB, free: 79.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/0.6777, allocations: 37.55 kB / 0.7589 GB, free: 79.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.956e-06/0.6777, allocations: 0.9062 kB / 0.7589 GB, free: 79.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.007523/0.6852, allocations: 1.612 MB / 0.7605 GB, free: 79.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.6853, allocations: 55.94 kB / 0.7605 GB, free: 79.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002487/0.6878, allocations: 1.077 MB / 0.7616 GB, free: 78.74 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.688, allocations: 33.67 kB / 0.7616 GB, free: 78.71 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004858/0.6884, allocations: 0.5353 MB / 0.7621 GB, free: 78.29 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.6886, allocations: 157 kB / 0.7623 GB, free: 78.17 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002772/0.6889, allocations: 134.6 kB / 0.7624 GB, free: 78.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.987e-05/0.689, allocations: 330.6 kB / 0.7627 GB, free: 77.78 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008107/0.6898, allocations: 275 kB / 0.763 GB, free: 77.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000997/0.6908, allocations: 0.4921 MB / 0.7635 GB, free: 77.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.6923, allocations: 0.6624 MB / 0.7641 GB, free: 76.95 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.6923, allocations: 3.125 kB / 0.7641 GB, free: 76.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002681/0.695, allocations: 0.9546 MB / 0.7651 GB, free: 76.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.695, allocations: 7.688 kB / 0.7651 GB, free: 76.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.695, allocations: 9 kB / 0.7651 GB, free: 76.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.6963, allocations: 302.2 kB / 0.7654 GB, free: 76.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004633/0.6968, allocations: 122.2 kB / 0.7655 GB, free: 76.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.6981, allocations: 0.8954 MB / 0.7663 GB, free: 75.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.6994, allocations: 148.2 kB / 0.7665 GB, free: 75.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-05/0.6995, allocations: 34.73 kB / 0.7665 GB, free: 75.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001104/0.7006, allocations: 486.9 kB / 0.767 GB, free: 75.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008794/0.7015, allocations: 0.4896 MB / 0.7675 GB, free: 75.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001358/0.7028, allocations: 0.6506 MB / 0.7681 GB, free: 74.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.129e-06/0.7029, allocations: 7.141 kB / 0.7681 GB, free: 74.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002735/0.7056, allocations: 0.9471 MB / 0.769 GB, free: 74.46 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.7056, allocations: 6.906 kB / 0.769 GB, free: 74.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.7056, allocations: 5.531 kB / 0.769 GB, free: 74.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.7068, allocations: 297.2 kB / 0.7693 GB, free: 74.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004762/0.7073, allocations: 122.4 kB / 0.7694 GB, free: 74.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.7085, allocations: 0.9015 MB / 0.7703 GB, free: 73.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.7099, allocations: 119.7 kB / 0.7704 GB, free: 73.69 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.177e-05/0.7099, allocations: 31.23 kB / 0.7705 GB, free: 73.68 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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.0002432/0.7102, allocations: 220.1 kB / 0.7707 GB, free: 73.47 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.7104, allocations: 116.1 kB / 0.7708 GB, free: 73.41 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0028/0.7132, allocations: 0.9943 MB / 0.7718 GB, free: 73.06 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.7132, allocations: 9.156 kB / 0.7718 GB, free: 73.06 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.7132, allocations: 0 / 0.7718 GB, free: 73.06 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.7133, allocations: 4.469 kB / 0.7718 GB, free: 73.06 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004632/0.7179, allocations: 2.072 MB / 0.7738 GB, free: 71.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.7179, allocations: 2.031 kB / 0.7738 GB, free: 71.76 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.7181, allocations: 52.91 kB / 0.7738 GB, free: 71.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009636/0.7191, allocations: 305.5 kB / 0.7741 GB, free: 71.61 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/0.7192, allocations: 11.19 kB / 0.7741 GB, free: 71.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/0.7205, allocations: 0.9225 MB / 0.7751 GB, free: 70.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.7205, allocations: 11.11 kB / 0.7751 GB, free: 70.86 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003357/0.7239, allocations: 1.09 MB / 0.7761 GB, free: 70.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005769/0.7245, allocations: 261 kB / 0.7764 GB, free: 69.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.7246, allocations: 17.64 kB / 0.7764 GB, free: 69.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007312/0.7254, allocations: 58.5 kB / 0.7764 GB, free: 69.94 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.396e-05/0.7255, allocations: 39.81 kB / 0.7765 GB, free: 69.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.896e-05/0.7255, allocations: 23.3 kB / 0.7765 GB, free: 69.91 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001225/0.7267, allocations: 0.7498 MB / 0.7772 GB, free: 69.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7268, allocations: 0 / 0.7772 GB, free: 69.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001914/0.7287, allocations: 0.5785 MB / 0.7778 GB, free: 69.38 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.000841/0.7295, allocations: 422.4 kB / 0.7782 GB, free: 69.19 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002838/0.7324, allocations: 1.023 MB / 0.7792 GB, free: 68.74 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.7324, allocations: 0.8125 kB / 0.7792 GB, free: 68.74 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000746/0.7332, allocations: 318.7 kB / 0.7795 GB, free: 68.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/0.7356, allocations: 0.5064 MB / 0.78 GB, free: 68.35 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003279/0.7389, allocations: 1.843 MB / 0.7818 GB, free: 67.21 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.7394, allocations: 1.064 MB / 0.7828 GB, free: 66.35 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.7396, allocations: 80.86 kB / 0.7829 GB, free: 66.34 MB / 0.5762 GB Notification: Performance of SimCode: time 7.52e-07/0.7396, allocations: 0 / 0.7829 GB, free: 66.34 MB / 0.5762 GB Notification: Performance of Templates: time 0.02606/0.7657, allocations: 24.35 MB / 0.8067 GB, free: 43.95 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)