Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.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.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001007/0.001007, 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.308/1.308, 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/package.mo): time 0.7799/0.7799, allocations: 132.2 MB / 423.3 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001233, allocations: 59.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3468, allocations: 80.18 MB / 0.5815 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05124/0.3981, allocations: 61.17 MB / 0.6412 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01547/0.4136, allocations: 11.97 MB / 0.6529 GB, free: 5.062 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001737/0.4154, allocations: 59.62 kB / 0.653 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001804/0.4172, allocations: 0.6791 MB / 0.6536 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005248/0.4225, allocations: 1.959 MB / 0.6556 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003125/0.4256, allocations: 1.224 MB / 0.6567 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00392/0.4296, allocations: 3.075 MB / 0.6598 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/0.4311, allocations: 1.1 MB / 0.6608 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002917/0.434, allocations: 1.329 MB / 0.6621 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001488/0.4355, allocations: 0.8945 MB / 0.663 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002552/0.4358, allocations: 116 kB / 0.6631 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002937/0.4387, allocations: 1.439 MB / 0.6645 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003221/0.4391, allocations: 294.8 kB / 0.6648 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008303/0.4399, allocations: 0.692 MB / 0.6655 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002973/0.4429, allocations: 2.302 MB / 0.6677 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4429, allocations: 0 / 0.6677 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4429, allocations: 0 / 0.6677 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.517e-05/0.4429, allocations: 0 / 0.6677 GB, free: 5.848 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.002742/0.4457, allocations: 1.721 MB / 0.6694 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.4457, allocations: 16.03 kB / 0.6694 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002025/0.4478, allocations: 406.8 kB / 0.6698 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002064/0.4498, allocations: 1.155 MB / 0.6709 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.427e-05/0.4499, allocations: 66 kB / 0.671 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.45, allocations: 83.94 kB / 0.6711 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/0.4519, allocations: 1.005 MB / 0.6721 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.4519, allocations: 8 kB / 0.6721 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.473e-05/0.452, allocations: 32 kB / 0.6721 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.452, allocations: 20 kB / 0.6721 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002083/0.4541, allocations: 0.8547 MB / 0.6729 GB, free: 320 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.005877/0.46, allocations: 5.22 MB / 0.678 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0031/0.4631, allocations: 0.7891 MB / 0.6788 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006759/0.4638, allocations: 296.7 kB / 0.6791 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005935/0.4644, allocations: 0.9063 MB / 0.68 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.4645, allocations: 38.52 kB / 0.68 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.485e-06/0.4645, allocations: 0 / 0.68 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.007752/0.4722, allocations: 1.856 MB / 0.6818 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.4723, allocations: 55.41 kB / 0.6819 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/0.4738, allocations: 1.068 MB / 0.6829 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.841e-05/0.4739, allocations: 41.7 kB / 0.683 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004155/0.4743, allocations: 0.535 MB / 0.6835 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.4745, allocations: 153.8 kB / 0.6836 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002255/0.4747, allocations: 134.1 kB / 0.6838 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.4748, allocations: 334 kB / 0.6841 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008637/0.4757, allocations: 307.3 kB / 0.6844 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009885/0.4767, allocations: 0.5268 MB / 0.6849 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.4782, allocations: 0.725 MB / 0.6856 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.4783, allocations: 7.938 kB / 0.6856 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002658/0.4809, allocations: 1.008 MB / 0.6866 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.481, allocations: 10.5 kB / 0.6866 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.481, allocations: 4 kB / 0.6866 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/0.4822, allocations: 300.7 kB / 0.6869 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005578/0.4828, allocations: 131.7 kB / 0.687 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.4841, allocations: 0.901 MB / 0.6879 GB, free: 108 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.4853, allocations: 155.2 kB / 0.688 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.468e-05/0.4854, allocations: 31.98 kB / 0.6881 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00112/0.4865, allocations: 0.509 MB / 0.6886 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001086/0.4876, allocations: 0.5307 MB / 0.6891 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001626/0.4892, allocations: 0.7103 MB / 0.6898 GB, free: 14 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.4e-06/0.4893, allocations: 4 kB / 0.6898 GB, free: 14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002545/0.4918, allocations: 1.008 MB / 0.6908 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.4918, allocations: 8 kB / 0.6908 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.4918, allocations: 4 kB / 0.6908 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009877/0.4928, allocations: 296.7 kB / 0.6911 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005287/0.4934, allocations: 131.8 kB / 0.6912 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.4946, allocations: 0.8935 MB / 0.6921 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.4958, allocations: 143.5 kB / 0.6922 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.24e-05/0.4959, allocations: 28 kB / 0.6922 GB, free: 11.46 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.0002069/0.4961, allocations: 228 kB / 0.6924 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.4963, allocations: 110.6 kB / 0.6925 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003542/0.4998, allocations: 1.074 MB / 0.6936 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/0.4999, allocations: 15.94 kB / 0.6936 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.4999, allocations: 4 kB / 0.6936 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.4999, allocations: 3.984 kB / 0.6936 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005165/0.5051, allocations: 2.146 MB / 0.6957 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/0.5051, allocations: 0 / 0.6957 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.5054, allocations: 67.89 kB / 0.6958 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009308/0.5063, allocations: 292.7 kB / 0.6961 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.681e-05/0.5064, allocations: 16 kB / 0.6961 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.5077, allocations: 0.923 MB / 0.697 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.5077, allocations: 3.938 kB / 0.697 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003271/0.511, allocations: 1.148 MB / 0.6981 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004609/0.5115, allocations: 271.4 kB / 0.6984 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/0.5117, allocations: 8 kB / 0.6984 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008335/0.5125, allocations: 71.92 kB / 0.6984 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.027e-05/0.5126, allocations: 39.83 kB / 0.6985 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.097e-05/0.5127, allocations: 23.98 kB / 0.6985 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001172/0.5138, allocations: 0.7551 MB / 0.6992 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5138, allocations: 0 / 0.6992 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001502/0.5154, allocations: 0.5614 MB / 0.6998 GB, free: 3.5 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.0008039/0.5162, allocations: 393 kB / 0.7002 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003114/0.5193, allocations: 1.128 MB / 0.7013 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.5193, allocations: 0 / 0.7013 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008926/0.5202, allocations: 343.2 kB / 0.7016 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/0.5223, allocations: 0.5103 MB / 0.7021 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005016/0.5274, allocations: 1.999 MB / 0.704 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007023/0.5281, allocations: 1.065 MB / 0.7051 GB, free: 14.03 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008279/0.5289, allocations: 227.9 kB / 0.7053 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.5291, allocations: 83.42 kB / 0.7054 GB, free: 13.72 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.5291, allocations: 0 / 0.7054 GB, free: 13.72 MB / 0.545 GB Notification: Performance of Templates: time 0.0384/0.5675, allocations: 24.92 MB / 0.7297 GB, free: 5.086 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)