Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.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.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001093, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001096/0.001096, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7843/0.7843, allocations: 132.2 MB / 423.3 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 63.91 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3561, allocations: 80.19 MB / 0.5815 GB, free: 27.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.0486/0.4047, allocations: 61.14 MB / 0.6412 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01552/0.4203, allocations: 11.98 MB / 0.6529 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002316/0.4226, allocations: 59.62 kB / 0.653 GB, free: 4.855 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001802/0.4245, allocations: 0.6792 MB / 0.6536 GB, free: 4.172 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006202/0.4307, allocations: 1.955 MB / 0.6555 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002811/0.4336, allocations: 1.211 MB / 0.6567 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003839/0.4374, allocations: 3.08 MB / 0.6597 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00136/0.4388, allocations: 1.102 MB / 0.6608 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002569/0.4414, allocations: 1.328 MB / 0.6621 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.4426, allocations: 0.8983 MB / 0.663 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.4427, allocations: 112 kB / 0.6631 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002623/0.4454, allocations: 1.447 MB / 0.6645 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002874/0.4457, allocations: 286.9 kB / 0.6648 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007108/0.4464, allocations: 0.6919 MB / 0.6654 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002856/0.4492, allocations: 2.31 MB / 0.6677 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4493, allocations: 0 / 0.6677 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.955e-06/0.4493, allocations: 7.984 kB / 0.6677 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.786e-05/0.4493, allocations: 0 / 0.6677 GB, free: 5.699 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.003003/0.4523, allocations: 1.719 MB / 0.6694 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.4523, allocations: 8.031 kB / 0.6694 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001974/0.4543, allocations: 410.8 kB / 0.6698 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002132/0.4565, allocations: 1.163 MB / 0.6709 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.648e-05/0.4565, allocations: 66 kB / 0.671 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.4567, allocations: 83.98 kB / 0.6711 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/0.4585, allocations: 1.001 MB / 0.672 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.4585, allocations: 4 kB / 0.672 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.46e-05/0.4586, allocations: 32 kB / 0.6721 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.4586, allocations: 23.94 kB / 0.6721 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/0.4607, allocations: 0.843 MB / 0.6729 GB, free: 180 kB / 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.006139/0.4669, allocations: 5.217 MB / 0.678 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003094/0.47, allocations: 0.7891 MB / 0.6788 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006379/0.4706, allocations: 288.7 kB / 0.6791 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006518/0.4713, allocations: 0.9141 MB / 0.6799 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.4713, allocations: 42.56 kB / 0.68 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.285e-06/0.4714, allocations: 0 / 0.68 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.006423/0.4778, allocations: 1.692 MB / 0.6816 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.4778, allocations: 55.41 kB / 0.6817 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/0.4794, allocations: 1.084 MB / 0.6827 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.085e-05/0.4795, allocations: 33.7 kB / 0.6828 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004176/0.4799, allocations: 0.535 MB / 0.6833 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.48, allocations: 153.8 kB / 0.6834 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002234/0.4802, allocations: 134.2 kB / 0.6836 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.4804, allocations: 334 kB / 0.6839 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008451/0.4812, allocations: 303.3 kB / 0.6842 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000994/0.4822, allocations: 0.529 MB / 0.6847 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.4837, allocations: 0.7133 MB / 0.6854 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.4837, allocations: 4 kB / 0.6854 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002424/0.4862, allocations: 1.008 MB / 0.6864 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.4862, allocations: 12.03 kB / 0.6864 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.4862, allocations: 7.938 kB / 0.6864 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001166/0.4874, allocations: 300.7 kB / 0.6867 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005312/0.4879, allocations: 135.8 kB / 0.6868 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.4893, allocations: 0.8973 MB / 0.6877 GB, free: 140 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.4905, allocations: 147.3 kB / 0.6878 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.178e-05/0.4906, allocations: 35.94 kB / 0.6879 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00109/0.4917, allocations: 0.5051 MB / 0.6884 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009461/0.4926, allocations: 0.5212 MB / 0.6889 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001526/0.4942, allocations: 0.7063 MB / 0.6896 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.106e-06/0.4942, allocations: 0 / 0.6896 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002434/0.4966, allocations: 1.008 MB / 0.6905 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.4966, allocations: 4 kB / 0.6906 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4967, allocations: 8 kB / 0.6906 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.4977, allocations: 304.6 kB / 0.6909 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005162/0.4982, allocations: 123.8 kB / 0.691 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.4995, allocations: 0.8988 MB / 0.6918 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.5006, allocations: 135.5 kB / 0.692 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.34e-05/0.5007, allocations: 35.98 kB / 0.692 GB, free: 11.51 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 (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.0002197/0.5009, allocations: 217.4 kB / 0.6922 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.5011, allocations: 114.6 kB / 0.6923 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00216/0.5032, allocations: 0.9184 MB / 0.6932 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.5033, allocations: 8 kB / 0.6932 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5033, allocations: 0 / 0.6932 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.5033, allocations: 3.984 kB / 0.6932 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004623/0.5079, allocations: 2.138 MB / 0.6953 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.5079, allocations: 4 kB / 0.6953 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.5082, allocations: 63.89 kB / 0.6954 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008862/0.5091, allocations: 300.8 kB / 0.6957 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/0.5092, allocations: 12 kB / 0.6957 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/0.5105, allocations: 0.9295 MB / 0.6966 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.5105, allocations: 0 / 0.6966 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003234/0.5137, allocations: 1.144 MB / 0.6977 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004089/0.5141, allocations: 275.5 kB / 0.698 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.5143, allocations: 8 kB / 0.698 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007688/0.515, allocations: 67.92 kB / 0.698 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.17e-05/0.5151, allocations: 43.77 kB / 0.6981 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-05/0.5152, allocations: 23.98 kB / 0.6981 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001117/0.5163, allocations: 0.7551 MB / 0.6988 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5163, allocations: 0 / 0.6988 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001436/0.5178, allocations: 0.5692 MB / 0.6994 GB, free: 3.73 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.0006833/0.5185, allocations: 374.5 kB / 0.6998 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002884/0.5214, allocations: 1.128 MB / 0.7009 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5214, allocations: 0 / 0.7009 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008017/0.5222, allocations: 346.7 kB / 0.7012 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/0.5242, allocations: 0.5157 MB / 0.7017 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004589/0.5288, allocations: 2.01 MB / 0.7037 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005843/0.5294, allocations: 1.065 MB / 0.7047 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007229/0.5301, allocations: 224.8 kB / 0.7049 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.5303, allocations: 83.42 kB / 0.705 GB, free: 13.94 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.5303, allocations: 0 / 0.705 GB, free: 13.94 MB / 0.545 GB Notification: Performance of Templates: time 0.03849/0.5688, allocations: 24.82 MB / 0.7292 GB, free: 5.414 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)