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.005662/0.005662, allocations: 101.3 kB / 15.73 MB, free: 6.039 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.001103/0.001103, allocations: 199.9 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8054/0.8054, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.39 kB / 0.5814 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.214, allocations: 80.21 MB / 0.6597 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.06305/0.2771, allocations: 61.18 MB / 0.7194 GB, free: 100 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01761/0.2947, allocations: 11.97 MB / 0.7311 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002304/0.297, allocations: 59.62 kB / 0.7312 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.2989, allocations: 0.7026 MB / 0.7319 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005827/0.3048, allocations: 2.064 MB / 0.7339 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003354/0.3082, allocations: 1.209 MB / 0.7351 GB, free: 56 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004327/0.3125, allocations: 3.087 MB / 0.7381 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001661/0.3142, allocations: 1.088 MB / 0.7391 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003439/0.3176, allocations: 1.376 MB / 0.7405 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.3192, allocations: 0.8991 MB / 0.7414 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001784/0.3194, allocations: 116 kB / 0.7415 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003145/0.3225, allocations: 1.454 MB / 0.7429 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003048/0.3228, allocations: 298.8 kB / 0.7432 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008974/0.3238, allocations: 0.6958 MB / 0.7438 GB, free: 7 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004182/0.3279, allocations: 2.318 MB / 0.7461 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.328, allocations: 0 / 0.7461 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.353e-06/0.328, allocations: 0 / 0.7461 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.269e-05/0.328, allocations: 4 kB / 0.7461 GB, free: 4.672 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.003505/0.3315, allocations: 1.73 MB / 0.7478 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.3316, allocations: 12.03 kB / 0.7478 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.3333, allocations: 346.7 kB / 0.7481 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002307/0.3356, allocations: 1.155 MB / 0.7493 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.997e-05/0.3357, allocations: 62 kB / 0.7493 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.3358, allocations: 88 kB / 0.7494 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/0.3378, allocations: 0.9624 MB / 0.7504 GB, free: 152 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.3378, allocations: 3.938 kB / 0.7504 GB, free: 148 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.563e-05/0.3379, allocations: 36 kB / 0.7504 GB, free: 112 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.3379, allocations: 20 kB / 0.7504 GB, free: 92 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/0.3399, allocations: 0.8 MB / 0.7512 GB, free: 15.29 MB / 0.5919 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.0069/0.3468, allocations: 5.133 MB / 0.7562 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.3484, allocations: 0.5625 MB / 0.7568 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005908/0.349, allocations: 264.6 kB / 0.757 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001653/0.3506, allocations: 1.365 MB / 0.7583 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001344/0.3508, allocations: 34.56 kB / 0.7584 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.655e-06/0.3508, allocations: 0 / 0.7584 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.006704/0.3575, allocations: 1.603 MB / 0.7599 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.3576, allocations: 59.41 kB / 0.76 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/0.3594, allocations: 1.084 MB / 0.7611 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.883e-05/0.3594, allocations: 37.64 kB / 0.7611 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004512/0.3599, allocations: 0.5311 MB / 0.7616 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.36, allocations: 157.8 kB / 0.7618 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.3603, allocations: 130.2 kB / 0.7619 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.3604, allocations: 330 kB / 0.7622 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000762/0.3612, allocations: 275.3 kB / 0.7625 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009791/0.3621, allocations: 0.4931 MB / 0.7629 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.3636, allocations: 0.6723 MB / 0.7636 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3636, allocations: 0 / 0.7636 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002507/0.3661, allocations: 0.95 MB / 0.7645 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.3662, allocations: 8 kB / 0.7645 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.3662, allocations: 4 kB / 0.7645 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/0.3675, allocations: 312.6 kB / 0.7648 GB, free: 380 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004772/0.368, allocations: 115.8 kB / 0.7649 GB, free: 264 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.3695, allocations: 0.8996 MB / 0.7658 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.3707, allocations: 143.2 kB / 0.766 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-05/0.3708, allocations: 35.98 kB / 0.766 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001208/0.372, allocations: 493.2 kB / 0.7665 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001021/0.3731, allocations: 0.4934 MB / 0.7669 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00145/0.3745, allocations: 0.6471 MB / 0.7676 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.857e-06/0.3746, allocations: 0 / 0.7676 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002443/0.377, allocations: 0.9576 MB / 0.7685 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.377, allocations: 10.34 kB / 0.7685 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.377, allocations: 4 kB / 0.7685 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.3781, allocations: 292.7 kB / 0.7688 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004705/0.3786, allocations: 123.8 kB / 0.7689 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.38, allocations: 0.8957 MB / 0.7698 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.3812, allocations: 123.5 kB / 0.7699 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.658e-05/0.3812, allocations: 31.98 kB / 0.77 GB, free: 10.91 MB / 0.6075 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.0002254/0.3815, allocations: 226 kB / 0.7702 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002264/0.3817, allocations: 110.6 kB / 0.7703 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002957/0.3847, allocations: 0.9949 MB / 0.7712 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.3847, allocations: 7.984 kB / 0.7713 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3847, allocations: 0 / 0.7713 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.3847, allocations: 4 kB / 0.7713 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004968/0.3897, allocations: 2.076 MB / 0.7733 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.3897, allocations: 8.219 kB / 0.7733 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.3899, allocations: 55.91 kB / 0.7733 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009763/0.3909, allocations: 292.5 kB / 0.7736 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.723e-05/0.391, allocations: 12 kB / 0.7736 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/0.3924, allocations: 0.929 MB / 0.7745 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.932e-06/0.3925, allocations: 7.969 kB / 0.7745 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003377/0.3958, allocations: 1.086 MB / 0.7756 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004653/0.3963, allocations: 267.5 kB / 0.7759 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002038/0.3965, allocations: 12 kB / 0.7759 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000833/0.3974, allocations: 59.92 kB / 0.7759 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.251e-05/0.3975, allocations: 43.83 kB / 0.776 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-05/0.3975, allocations: 23.98 kB / 0.776 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001365/0.3989, allocations: 0.7589 MB / 0.7767 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3989, allocations: 0 / 0.7767 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001746/0.4007, allocations: 0.5732 MB / 0.7773 GB, free: 3.184 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.0009383/0.4016, allocations: 401.8 kB / 0.7777 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002922/0.4046, allocations: 1.026 MB / 0.7787 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.4046, allocations: 0 / 0.7787 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007899/0.4054, allocations: 319.8 kB / 0.779 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/0.4079, allocations: 0.5056 MB / 0.7795 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004882/0.4128, allocations: 1.805 MB / 0.7812 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008434/0.4137, allocations: 1.065 MB / 0.7823 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008816/0.4146, allocations: 223.2 kB / 0.7825 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.4148, allocations: 79.42 kB / 0.7826 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.4148, allocations: 0 / 0.7826 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of Templates: time 0.04292/0.4577, allocations: 25.23 MB / 0.8072 GB, free: 4.82 MB / 0.6387 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)