Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.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_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 103 kB / 16.35 MB, free: 5.824 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.0009538/0.0009538, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.235/1.235, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7603/0.7603, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 63.89 kB / 0.5067 GB, free: 7.656 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3094, allocations: 80.9 MB / 0.5857 GB, free: 25.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.04777/0.3572, allocations: 61.21 MB / 0.6455 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01475/0.372, allocations: 12 MB / 0.6572 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/0.3738, allocations: 59.62 kB / 0.6573 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001494/0.3753, allocations: 0.6791 MB / 0.658 GB, free: 448 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004402/0.3798, allocations: 1.965 MB / 0.6599 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.3824, allocations: 1.209 MB / 0.6611 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003483/0.3859, allocations: 3.108 MB / 0.6641 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001308/0.3872, allocations: 1.112 MB / 0.6652 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002615/0.3898, allocations: 1.329 MB / 0.6665 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.3911, allocations: 0.9061 MB / 0.6674 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001475/0.3912, allocations: 119.9 kB / 0.6675 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002441/0.3937, allocations: 1.447 MB / 0.6689 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002559/0.3939, allocations: 294.8 kB / 0.6692 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006343/0.3946, allocations: 0.7075 MB / 0.6699 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002568/0.3971, allocations: 2.31 MB / 0.6721 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3972, allocations: 4 kB / 0.6721 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3972, allocations: 0 / 0.6721 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.353e-05/0.3972, allocations: 0 / 0.6721 GB, free: 1.871 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002845/0.4, allocations: 1.746 MB / 0.6738 GB, free: 68 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.4001, allocations: 13.11 kB / 0.6738 GB, free: 56 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/0.4021, allocations: 414.8 kB / 0.6742 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002055/0.4042, allocations: 1.171 MB / 0.6754 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.726e-05/0.4042, allocations: 65.94 kB / 0.6754 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.4044, allocations: 88 kB / 0.6755 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/0.4062, allocations: 1.017 MB / 0.6765 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.4062, allocations: 4 kB / 0.6765 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.041e-05/0.4063, allocations: 32 kB / 0.6766 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.4063, allocations: 20 kB / 0.6766 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/0.4085, allocations: 0.8742 MB / 0.6774 GB, free: 12.26 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.005891/0.4144, allocations: 5.261 MB / 0.6826 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003115/0.4175, allocations: 0.7803 MB / 0.6833 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007043/0.4182, allocations: 310.8 kB / 0.6836 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005889/0.4188, allocations: 0.9102 MB / 0.6845 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.4188, allocations: 34.56 kB / 0.6845 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 2.204e-06/0.4189, allocations: 4 kB / 0.6845 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.005594/0.4245, allocations: 1.598 MB / 0.6861 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.4245, allocations: 55.41 kB / 0.6862 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.426, allocations: 1.084 MB / 0.6872 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.079e-05/0.426, allocations: 41.7 kB / 0.6873 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003795/0.4264, allocations: 0.5312 MB / 0.6878 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.4265, allocations: 157.7 kB / 0.6879 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.4268, allocations: 134.2 kB / 0.6881 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.4269, allocations: 337.9 kB / 0.6884 GB, free: 372 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000844/0.4277, allocations: 319.2 kB / 0.6887 GB, free: 48 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.4288, allocations: 0.5369 MB / 0.6892 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/0.4304, allocations: 0.7426 MB / 0.6899 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.4304, allocations: 0 / 0.6899 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0025/0.4329, allocations: 1.036 MB / 0.6909 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.433, allocations: 12.03 kB / 0.691 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.433, allocations: 15.92 kB / 0.691 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.4342, allocations: 300.6 kB / 0.6913 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005512/0.4347, allocations: 135.8 kB / 0.6914 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.4361, allocations: 0.9016 MB / 0.6923 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.4372, allocations: 159.2 kB / 0.6924 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.216e-05/0.4373, allocations: 31.98 kB / 0.6925 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001163/0.4384, allocations: 0.5246 MB / 0.693 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009896/0.4394, allocations: 0.5485 MB / 0.6935 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001559/0.441, allocations: 0.726 MB / 0.6942 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.519e-06/0.441, allocations: 4 kB / 0.6942 GB, free: 10 MB / 0.5294 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.002459/0.4435, allocations: 1.036 MB / 0.6952 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.4435, allocations: 12.03 kB / 0.6952 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.4435, allocations: 4 kB / 0.6952 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009602/0.4445, allocations: 296.5 kB / 0.6955 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005339/0.445, allocations: 139.7 kB / 0.6957 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.4463, allocations: 0.9012 MB / 0.6965 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.4474, allocations: 139.5 kB / 0.6967 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.566e-05/0.4475, allocations: 28 kB / 0.6967 GB, free: 7.422 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (58): * Single equations (assignments): 57 * 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.0002541/0.4478, allocations: 228.9 kB / 0.6969 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.448, allocations: 110.6 kB / 0.697 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00305/0.451, allocations: 1.074 MB / 0.6981 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.4511, allocations: 15.98 kB / 0.6981 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4511, allocations: 0 / 0.6981 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.4511, allocations: 4.078 kB / 0.6981 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004787/0.4559, allocations: 2.187 MB / 0.7002 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.4559, allocations: 8 kB / 0.7002 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002954/0.4562, allocations: 67.89 kB / 0.7003 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008506/0.457, allocations: 292.9 kB / 0.7006 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/0.4571, allocations: 11.98 kB / 0.7006 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001337/0.4584, allocations: 0.9369 MB / 0.7015 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.4585, allocations: 3.938 kB / 0.7015 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003304/0.4618, allocations: 1.189 MB / 0.7027 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004027/0.4622, allocations: 263.5 kB / 0.7029 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.4623, allocations: 15.94 kB / 0.7029 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007789/0.4631, allocations: 75.91 kB / 0.703 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.002e-05/0.4632, allocations: 39.88 kB / 0.703 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.065e-05/0.4632, allocations: 23.98 kB / 0.7031 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001077/0.4643, allocations: 0.7594 MB / 0.7038 GB, free: 15.94 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.6e-07/0.4643, allocations: 0 / 0.7038 GB, free: 15.94 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001366/0.4657, allocations: 0.5693 MB / 0.7044 GB, free: 15.37 MB / 0.545 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 (34): * Single equations (assignments): 29 * 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.000688/0.4664, allocations: 387.1 kB / 0.7047 GB, free: 15 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002945/0.4694, allocations: 1.175 MB / 0.7059 GB, free: 13.83 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.4694, allocations: 0 / 0.7059 GB, free: 13.83 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008714/0.4703, allocations: 370.4 kB / 0.7062 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/0.4721, allocations: 0.5102 MB / 0.7067 GB, free: 12.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00435/0.4765, allocations: 2.028 MB / 0.7087 GB, free: 10.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005519/0.477, allocations: 1.069 MB / 0.7098 GB, free: 9.789 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006803/0.4777, allocations: 230.4 kB / 0.71 GB, free: 9.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.4779, allocations: 79.42 kB / 0.7101 GB, free: 9.492 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.4779, allocations: 0 / 0.7101 GB, free: 9.492 MB / 0.545 GB Notification: Performance of Templates: time 0.03515/0.5131, allocations: 25.13 MB / 0.7346 GB, free: 0.6445 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1)