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.001193/0.001193, allocations: 113.5 kB / 16.37 MB, free: 6.012 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.001238/0.001238, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7766/0.7766, allocations: 135.1 MB / 426.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 63.89 kB / 0.5067 GB, free: 7.703 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3304, allocations: 80.9 MB / 0.5858 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.0505/0.3809, allocations: 61.17 MB / 0.6455 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01734/0.3983, allocations: 11.97 MB / 0.6572 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002503/0.4008, allocations: 59.69 kB / 0.6572 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002093/0.403, allocations: 0.6791 MB / 0.6579 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005567/0.4086, allocations: 1.962 MB / 0.6598 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002933/0.4115, allocations: 1.209 MB / 0.661 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003841/0.4154, allocations: 3.087 MB / 0.664 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.4167, allocations: 1.098 MB / 0.6651 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002678/0.4194, allocations: 1.331 MB / 0.6664 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.4206, allocations: 0.8945 MB / 0.6673 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001967/0.4208, allocations: 112 kB / 0.6674 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002674/0.4235, allocations: 1.454 MB / 0.6688 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003048/0.4238, allocations: 298.8 kB / 0.6691 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007632/0.4246, allocations: 0.688 MB / 0.6697 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003319/0.4279, allocations: 2.318 MB / 0.672 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.428, allocations: 4 kB / 0.672 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.253e-06/0.428, allocations: 0 / 0.672 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.384e-05/0.428, allocations: 0 / 0.672 GB, free: 2.016 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.002779/0.4308, allocations: 1.734 MB / 0.6737 GB, free: 224 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.4308, allocations: 13.11 kB / 0.6737 GB, free: 212 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.4324, allocations: 343 kB / 0.674 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/0.4345, allocations: 1.151 MB / 0.6752 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.165e-05/0.4345, allocations: 70 kB / 0.6752 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.4347, allocations: 80 kB / 0.6753 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.4364, allocations: 0.9664 MB / 0.6763 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.4364, allocations: 0 / 0.6763 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-05/0.4365, allocations: 32 kB / 0.6763 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.4365, allocations: 20 kB / 0.6763 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/0.4384, allocations: 0.8078 MB / 0.6771 GB, free: 12.63 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.00591/0.4443, allocations: 5.141 MB / 0.6821 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.4457, allocations: 0.5619 MB / 0.6827 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005259/0.4462, allocations: 259 kB / 0.6829 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/0.4475, allocations: 1.376 MB / 0.6843 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.4475, allocations: 38.5 kB / 0.6843 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 3.226e-06/0.4475, allocations: 4 kB / 0.6843 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.006138/0.4537, allocations: 1.614 MB / 0.6859 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.4537, allocations: 59.39 kB / 0.6859 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/0.4553, allocations: 1.076 MB / 0.687 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.754e-05/0.4554, allocations: 37.7 kB / 0.687 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004053/0.4558, allocations: 0.5312 MB / 0.6875 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.4559, allocations: 149.8 kB / 0.6877 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002119/0.4561, allocations: 134.1 kB / 0.6878 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.4563, allocations: 330 kB / 0.6881 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006895/0.4569, allocations: 275.3 kB / 0.6884 GB, free: 304 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008733/0.4578, allocations: 0.4892 MB / 0.6889 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.4591, allocations: 0.6674 MB / 0.6895 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-06/0.4592, allocations: 4 kB / 0.6895 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002272/0.4614, allocations: 0.9538 MB / 0.6904 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.4615, allocations: 8 kB / 0.6905 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.4615, allocations: 4 kB / 0.6905 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/0.4627, allocations: 314.2 kB / 0.6908 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/0.4632, allocations: 119.8 kB / 0.6909 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.4646, allocations: 0.8971 MB / 0.6917 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.4657, allocations: 143.2 kB / 0.6919 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.086e-05/0.4658, allocations: 28 kB / 0.6919 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001025/0.4668, allocations: 494.1 kB / 0.6924 GB, free: 12 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008744/0.4677, allocations: 0.4892 MB / 0.6929 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001281/0.469, allocations: 0.651 MB / 0.6935 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.465e-06/0.469, allocations: 0 / 0.6935 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002232/0.4712, allocations: 0.9498 MB / 0.6944 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.4712, allocations: 8 kB / 0.6944 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.4713, allocations: 7.938 kB / 0.6944 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009849/0.4722, allocations: 304.6 kB / 0.6947 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004478/0.4727, allocations: 115.8 kB / 0.6948 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.4741, allocations: 0.9029 MB / 0.6957 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.4752, allocations: 123.5 kB / 0.6958 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.048e-05/0.4753, allocations: 31.98 kB / 0.6959 GB, free: 8.227 MB / 0.5294 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.0002186/0.4755, allocations: 225.9 kB / 0.6961 GB, free: 8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.4757, allocations: 106.7 kB / 0.6962 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/0.4784, allocations: 0.9957 MB / 0.6972 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.4784, allocations: 8 kB / 0.6972 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.4784, allocations: 4 kB / 0.6972 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.4784, allocations: 4 kB / 0.6972 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004619/0.483, allocations: 2.068 MB / 0.6992 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.719e-06/0.4831, allocations: 8.031 kB / 0.6992 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.4833, allocations: 59.84 kB / 0.6993 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009066/0.4842, allocations: 284.6 kB / 0.6995 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/0.4842, allocations: 16 kB / 0.6995 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001377/0.4856, allocations: 0.9258 MB / 0.7005 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.4856, allocations: 4.031 kB / 0.7005 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003096/0.4888, allocations: 1.094 MB / 0.7015 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005187/0.4893, allocations: 263.5 kB / 0.7018 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.4894, allocations: 8 kB / 0.7018 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000685/0.4901, allocations: 63.92 kB / 0.7018 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.686e-05/0.4902, allocations: 39.83 kB / 0.7019 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.911e-05/0.4903, allocations: 23.98 kB / 0.7019 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001152/0.4914, allocations: 0.759 MB / 0.7026 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4914, allocations: 0 / 0.7026 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001511/0.4929, allocations: 0.577 MB / 0.7032 GB, free: 0.5156 MB / 0.5294 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.0007913/0.4937, allocations: 403 kB / 0.7036 GB, free: 128 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00283/0.4966, allocations: 1.038 MB / 0.7046 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.4966, allocations: 0 / 0.7046 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007314/0.4973, allocations: 315.5 kB / 0.7049 GB, free: 14.78 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002143/0.4995, allocations: 0.5156 MB / 0.7054 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003288/0.5028, allocations: 1.801 MB / 0.7072 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006931/0.5035, allocations: 1.061 MB / 0.7082 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008123/0.5043, allocations: 215.2 kB / 0.7084 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.5045, allocations: 79.42 kB / 0.7085 GB, free: 11.06 MB / 0.545 GB Notification: Performance of SimCode: time 9.92e-07/0.5045, allocations: 0 / 0.7085 GB, free: 11.06 MB / 0.545 GB Notification: Performance of Templates: time 0.03935/0.5439, allocations: 25.06 MB / 0.733 GB, free: 2.27 MB / 0.5606 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)