Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.0008997/0.0009045, allocations: 91.84 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 181.6 kB / 16.92 MB, free: 6.652 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.326/1.326, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9152/0.9152, allocations: 135.3 MB / 427.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003115/0.0003116, allocations: 12 kB / 0.5082 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1364, allocations: 82.31 MB / 0.5886 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.322/0.4585, allocations: 59.69 MB / 0.6469 GB, free: 17.36 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01241/0.4709, allocations: 11.91 MB / 0.6585 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001992/0.473, allocations: 54.38 kB / 0.6586 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001678/0.4746, allocations: 0.5485 MB / 0.6591 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004689/0.4794, allocations: 1.795 MB / 0.6609 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002843/0.4822, allocations: 1.08 MB / 0.6619 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004524/0.4867, allocations: 3.901 MB / 0.6657 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001599/0.4884, allocations: 0.8923 MB / 0.6666 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002923/0.4913, allocations: 1.124 MB / 0.6677 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00193/0.4933, allocations: 0.8552 MB / 0.6685 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002134/0.4935, allocations: 42.5 kB / 0.6686 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002969/0.4965, allocations: 1.348 MB / 0.6699 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003174/0.4968, allocations: 212.9 kB / 0.6701 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009023/0.4977, allocations: 0.6274 MB / 0.6707 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002754/0.5005, allocations: 1.701 MB / 0.6724 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.5005, allocations: 5 kB / 0.6724 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.035e-06/0.5005, allocations: 0.7969 kB / 0.6724 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.21e-05/0.5006, allocations: 0 / 0.6724 GB, free: 2.578 MB / 0.4981 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.003108/0.5037, allocations: 1.487 MB / 0.6738 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.5037, allocations: 9.125 kB / 0.6738 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001888/0.5056, allocations: 384 kB / 0.6742 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002403/0.508, allocations: 1.124 MB / 0.6753 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003837/0.5084, allocations: 132.5 kB / 0.6754 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.5086, allocations: 82.44 kB / 0.6755 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/0.5108, allocations: 0.9784 MB / 0.6765 GB, free: 252 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.5108, allocations: 0 / 0.6765 GB, free: 252 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.88e-05/0.5109, allocations: 32.62 kB / 0.6765 GB, free: 228 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-05/0.5109, allocations: 19.31 kB / 0.6765 GB, free: 228 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002275/0.5132, allocations: 0.8448 MB / 0.6773 GB, free: 15.95 MB / 0.5137 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.007115/0.5203, allocations: 4.8 MB / 0.682 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.522, allocations: 0.6015 MB / 0.6826 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006453/0.5227, allocations: 284 kB / 0.6829 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00144/0.5241, allocations: 1.394 MB / 0.6843 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.5242, allocations: 45.84 kB / 0.6843 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.455e-06/0.5242, allocations: 0 / 0.6843 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.007581/0.5318, allocations: 1.842 MB / 0.6861 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.5318, allocations: 60.47 kB / 0.6862 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001798/0.5337, allocations: 1.058 MB / 0.6872 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.586e-05/0.5338, allocations: 37.61 kB / 0.6872 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004524/0.5342, allocations: 0.5267 MB / 0.6877 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.5344, allocations: 153.1 kB / 0.6879 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.575e-05/0.5345, allocations: 55.62 kB / 0.6879 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.5346, allocations: 329.5 kB / 0.6882 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008403/0.5354, allocations: 286.5 kB / 0.6885 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009946/0.5365, allocations: 498.5 kB / 0.689 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001692/0.5382, allocations: 0.6603 MB / 0.6896 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.5382, allocations: 1.375 kB / 0.6896 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002937/0.5411, allocations: 0.9728 MB / 0.6906 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001402/0.5413, allocations: 210.7 kB / 0.6908 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.5413, allocations: 3.781 kB / 0.6908 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001353/0.5426, allocations: 336.8 kB / 0.6911 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004661/0.5431, allocations: 115.4 kB / 0.6912 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.5447, allocations: 0.9451 MB / 0.6922 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.5462, allocations: 181.6 kB / 0.6923 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.331e-05/0.5463, allocations: 29.44 kB / 0.6924 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.5463, allocations: 6.594 kB / 0.6924 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002412/0.5488, allocations: 0.8425 MB / 0.6932 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.5488, allocations: 4.781 kB / 0.6932 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/0.55, allocations: 328.2 kB / 0.6935 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/0.5505, allocations: 119 kB / 0.6936 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.552, allocations: 0.934 MB / 0.6945 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.5534, allocations: 151.7 kB / 0.6947 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.3e-05/0.5535, allocations: 35.95 kB / 0.6947 GB, free: 5.281 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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.0006528/0.5542, allocations: 345.9 kB / 0.695 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002867/0.5545, allocations: 110.8 kB / 0.6951 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003371/0.5578, allocations: 1.085 MB / 0.6962 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/0.5579, allocations: 6.922 kB / 0.6962 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.5579, allocations: 0 / 0.6962 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.5579, allocations: 2.672 kB / 0.6962 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005827/0.5637, allocations: 2.165 MB / 0.6983 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/0.5638, allocations: 2.156 kB / 0.6983 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.564, allocations: 63.8 kB / 0.6984 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001129/0.5651, allocations: 330.2 kB / 0.6987 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.344e-05/0.5652, allocations: 18.05 kB / 0.6987 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/0.5667, allocations: 0.9679 MB / 0.6997 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.5668, allocations: 2.812 kB / 0.6997 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003705/0.5705, allocations: 1.194 MB / 0.7008 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006576/0.5711, allocations: 276.4 kB / 0.7011 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/0.5713, allocations: 12 kB / 0.7011 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008909/0.5722, allocations: 100.3 kB / 0.7012 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.613e-05/0.5723, allocations: 48.19 kB / 0.7012 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.227e-05/0.5724, allocations: 23.95 kB / 0.7013 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001305/0.5737, allocations: 0.7492 MB / 0.702 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5737, allocations: 0 / 0.702 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00185/0.5756, allocations: 0.5628 MB / 0.7026 GB, free: 1.613 MB / 0.5137 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.0009018/0.5765, allocations: 402.3 kB / 0.7029 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002905/0.5794, allocations: 1.05 MB / 0.704 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.5794, allocations: 2.062 kB / 0.704 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007641/0.5802, allocations: 335.1 kB / 0.7043 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003003/0.5832, allocations: 0.5014 MB / 0.7048 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00367/0.5869, allocations: 2.294 MB / 0.707 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005778/0.5875, allocations: 1.057 MB / 0.708 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/0.5877, allocations: 85.42 kB / 0.7081 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of SimCode: time 7.62e-07/0.5878, allocations: 0 / 0.7081 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of Templates: time 0.02989/0.6176, allocations: 23.74 MB / 0.7313 GB, free: 9.02 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)