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.00116/0.00116, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009601/0.009601, allocations: 170 kB / 16.26 MB, free: 6.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.459/1.459, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7756/0.7756, allocations: 132.4 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003757/0.0003757, allocations: 8 kB / 0.504 GB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5294/0.5298, allocations: 81.58 MB / 0.5837 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.06409/0.594, allocations: 59.73 MB / 0.642 GB, free: 4.508 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01815/0.6122, allocations: 11.88 MB / 0.6536 GB, free: 8.598 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002716/0.615, allocations: 55.62 kB / 0.6537 GB, free: 8.543 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002196/0.6172, allocations: 0.5438 MB / 0.6542 GB, free: 7.996 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006371/0.6236, allocations: 1.803 MB / 0.6559 GB, free: 6.188 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003628/0.6272, allocations: 1.075 MB / 0.657 GB, free: 5.121 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006081/0.6333, allocations: 3.906 MB / 0.6608 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00197/0.6353, allocations: 0.898 MB / 0.6617 GB, free: 280 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003171/0.6385, allocations: 1.128 MB / 0.6628 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001625/0.6401, allocations: 0.8514 MB / 0.6636 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001733/0.6403, allocations: 44 kB / 0.6637 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002956/0.6433, allocations: 1.349 MB / 0.665 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003538/0.6437, allocations: 202.9 kB / 0.6652 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009625/0.6447, allocations: 0.6389 MB / 0.6658 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003505/0.6482, allocations: 2.204 MB / 0.6679 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6482, allocations: 0 / 0.6679 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.285e-06/0.6482, allocations: 0 / 0.6679 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.906e-05/0.6482, allocations: 0 / 0.6679 GB, free: 9.832 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.002991/0.6512, allocations: 1.493 MB / 0.6694 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.6513, allocations: 11.97 kB / 0.6694 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001825/0.6531, allocations: 387 kB / 0.6698 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002217/0.6554, allocations: 1.124 MB / 0.6709 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004061/0.6558, allocations: 133.9 kB / 0.671 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.6559, allocations: 79.98 kB / 0.6711 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.658, allocations: 0.9661 MB / 0.672 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.658, allocations: 3.938 kB / 0.672 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.026e-05/0.6581, allocations: 32 kB / 0.6721 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.6581, allocations: 20 kB / 0.6721 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002238/0.6604, allocations: 0.847 MB / 0.6729 GB, free: 4.586 MB / 0.4981 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.006809/0.6672, allocations: 4.811 MB / 0.6776 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.6689, allocations: 0.5986 MB / 0.6782 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006805/0.6697, allocations: 292.6 kB / 0.6785 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001509/0.6712, allocations: 1.392 MB / 0.6798 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.6712, allocations: 38.56 kB / 0.6799 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 3.487e-06/0.6712, allocations: 4 kB / 0.6799 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.007687/0.6789, allocations: 1.845 MB / 0.6817 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.679, allocations: 55.41 kB / 0.6817 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.6807, allocations: 1.059 MB / 0.6828 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.001e-05/0.6808, allocations: 37.7 kB / 0.6828 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004477/0.6812, allocations: 0.5235 MB / 0.6833 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.6814, allocations: 153.8 kB / 0.6835 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.829e-05/0.6815, allocations: 45.7 kB / 0.6835 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.6816, allocations: 330 kB / 0.6838 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008298/0.6825, allocations: 288.9 kB / 0.6841 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.6835, allocations: 497.9 kB / 0.6846 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/0.685, allocations: 0.655 MB / 0.6852 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.6851, allocations: 4 kB / 0.6852 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002671/0.6877, allocations: 0.9727 MB / 0.6862 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.6879, allocations: 220.2 kB / 0.6864 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.6879, allocations: 4 kB / 0.6864 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001426/0.6894, allocations: 332.7 kB / 0.6867 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004898/0.6899, allocations: 119.8 kB / 0.6868 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001852/0.6917, allocations: 0.9421 MB / 0.6877 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.6932, allocations: 182.6 kB / 0.6879 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-05/0.6933, allocations: 27.98 kB / 0.6879 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.6933, allocations: 14.12 kB / 0.6879 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002426/0.6957, allocations: 0.8396 MB / 0.6888 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.6958, allocations: 4 kB / 0.6888 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/0.697, allocations: 333 kB / 0.6891 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004851/0.6975, allocations: 119.8 kB / 0.6892 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.6991, allocations: 0.9308 MB / 0.6901 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.7004, allocations: 159.3 kB / 0.6903 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-05/0.7005, allocations: 27.98 kB / 0.6903 GB, free: 1.785 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.0006108/0.7011, allocations: 353 kB / 0.6906 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002769/0.7014, allocations: 106.7 kB / 0.6907 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003305/0.7047, allocations: 1.074 MB / 0.6918 GB, free: 240 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.7047, allocations: 4 kB / 0.6918 GB, free: 236 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.7047, allocations: 0 / 0.6918 GB, free: 236 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/0.7047, allocations: 7.922 kB / 0.6918 GB, free: 228 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005583/0.7103, allocations: 2.167 MB / 0.6939 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.7104, allocations: 4 kB / 0.6939 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.7106, allocations: 55.91 kB / 0.694 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001158/0.7118, allocations: 328.7 kB / 0.6943 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.747e-05/0.7118, allocations: 19.98 kB / 0.6943 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/0.7135, allocations: 0.9544 MB / 0.6952 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.7135, allocations: 8.062 kB / 0.6952 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003872/0.7174, allocations: 1.199 MB / 0.6964 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006566/0.7181, allocations: 275.4 kB / 0.6967 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002426/0.7183, allocations: 16 kB / 0.6967 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.7194, allocations: 103.8 kB / 0.6968 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.7195, allocations: 43.89 kB / 0.6968 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.008e-05/0.7196, allocations: 19.98 kB / 0.6968 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001435/0.721, allocations: 0.7469 MB / 0.6976 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.61e-07/0.721, allocations: 0 / 0.6976 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001918/0.723, allocations: 0.5731 MB / 0.6981 GB, free: 9.547 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.0009785/0.724, allocations: 395.3 kB / 0.6985 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003145/0.7271, allocations: 1.065 MB / 0.6995 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.7271, allocations: 0 / 0.6995 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009297/0.7281, allocations: 330.8 kB / 0.6999 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003708/0.7318, allocations: 0.5136 MB / 0.7004 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004272/0.7361, allocations: 2.245 MB / 0.7025 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007846/0.7369, allocations: 1.065 MB / 0.7036 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001082/0.738, allocations: 218.5 kB / 0.7038 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.7383, allocations: 79.42 kB / 0.7039 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of SimCode: time 8.41e-07/0.7383, allocations: 0 / 0.7039 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of Templates: time 0.04524/0.7835, allocations: 24.04 MB / 0.7273 GB, free: 11.89 MB / 0.5606 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)