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.0007697/0.0007697, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0008257/0.0008257, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7371/0.7371, allocations: 132.4 MB / 423.4 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002873/0.0002873, allocations: 8 kB / 0.5034 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3466, allocations: 81.58 MB / 0.5831 GB, free: 3.953 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.0517/0.3984, allocations: 56.48 MB / 0.6382 GB, free: 7.969 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01394/0.4123, allocations: 11.21 MB / 0.6492 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/0.4138, allocations: 51.62 kB / 0.6492 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.4152, allocations: 468.9 kB / 0.6497 GB, free: 12.24 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003544/0.4187, allocations: 1.515 MB / 0.6512 GB, free: 10.71 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002017/0.4208, allocations: 0.8585 MB / 0.652 GB, free: 9.863 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003431/0.4242, allocations: 3.386 MB / 0.6553 GB, free: 6.465 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.4253, allocations: 0.7976 MB / 0.6561 GB, free: 5.641 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001956/0.4273, allocations: 1.038 MB / 0.6571 GB, free: 4.598 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.4284, allocations: 0.8127 MB / 0.6579 GB, free: 3.781 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001734/0.4286, allocations: 40 kB / 0.6579 GB, free: 3.742 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002051/0.4307, allocations: 1.088 MB / 0.659 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.4309, allocations: 203 kB / 0.6592 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002842/0.4312, allocations: 285 kB / 0.6595 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001602/0.4328, allocations: 1.629 MB / 0.661 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4328, allocations: 0 / 0.661 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4328, allocations: 0 / 0.661 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.4328, allocations: 0 / 0.661 GB, free: 0.5352 MB / 494.1 MB 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.002386/0.4352, allocations: 1.493 MB / 0.6625 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.4353, allocations: 8.031 kB / 0.6625 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001994/0.4373, allocations: 477.9 kB / 0.663 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/0.4391, allocations: 1.093 MB / 0.664 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003324/0.4394, allocations: 125.9 kB / 0.6642 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.4396, allocations: 84 kB / 0.6642 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.4415, allocations: 1.005 MB / 0.6652 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.4415, allocations: 0 / 0.6652 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-05/0.4416, allocations: 32 kB / 0.6652 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.4416, allocations: 20 kB / 0.6653 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/0.4437, allocations: 0.9172 MB / 0.6662 GB, free: 11.14 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.005607/0.4494, allocations: 4.894 MB / 0.6709 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003103/0.4525, allocations: 0.8941 MB / 0.6718 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006784/0.4532, allocations: 320.7 kB / 0.6721 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005498/0.4537, allocations: 0.8986 MB / 0.673 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.4538, allocations: 50.45 kB / 0.673 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 1.964e-06/0.4538, allocations: 0 / 0.673 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.007704/0.4615, allocations: 2.146 MB / 0.6751 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.4615, allocations: 55.41 kB / 0.6752 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.4629, allocations: 1.047 MB / 0.6762 GB, free: 208 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.99e-05/0.463, allocations: 37.7 kB / 0.6762 GB, free: 164 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003946/0.4634, allocations: 0.5196 MB / 0.6768 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.4635, allocations: 153.8 kB / 0.6769 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.4635, allocations: 8 kB / 0.6769 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.4636, allocations: 329.9 kB / 0.6772 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008282/0.4645, allocations: 320.9 kB / 0.6775 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009894/0.4655, allocations: 0.526 MB / 0.678 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008554/0.4663, allocations: 357.9 kB / 0.6784 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4663, allocations: 3.938 kB / 0.6784 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00332/0.4697, allocations: 1.212 MB / 0.6796 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.4698, allocations: 220.8 kB / 0.6798 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.4698, allocations: 7.938 kB / 0.6798 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/0.471, allocations: 331.9 kB / 0.6801 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005199/0.4715, allocations: 127.8 kB / 0.6802 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.4729, allocations: 0.9348 MB / 0.6811 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.4741, allocations: 199.2 kB / 0.6813 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.219e-05/0.4742, allocations: 24 kB / 0.6814 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.4742, allocations: 4 kB / 0.6814 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003128/0.4773, allocations: 1.086 MB / 0.6824 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.4773, allocations: 4 kB / 0.6824 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.4784, allocations: 325 kB / 0.6827 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005187/0.4789, allocations: 123.8 kB / 0.6829 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/0.4803, allocations: 0.9378 MB / 0.6838 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.4814, allocations: 171.3 kB / 0.6839 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.308e-05/0.4815, allocations: 28.08 kB / 0.684 GB, free: 8.039 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005234/0.482, allocations: 353 kB / 0.6843 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.4822, allocations: 110.7 kB / 0.6844 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00359/0.4858, allocations: 1.191 MB / 0.6856 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.4858, allocations: 11.98 kB / 0.6856 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.4858, allocations: 4 kB / 0.6856 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.4858, allocations: 0 / 0.6856 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004758/0.4906, allocations: 2.257 MB / 0.6878 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.4906, allocations: 7.984 kB / 0.6878 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/0.4909, allocations: 72.17 kB / 0.6879 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009659/0.4919, allocations: 320.5 kB / 0.6882 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.582e-05/0.4919, allocations: 15.98 kB / 0.6882 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001386/0.4933, allocations: 0.9648 MB / 0.6891 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.157e-05/0.4934, allocations: 7.953 kB / 0.6891 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0033/0.4967, allocations: 1.256 MB / 0.6904 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003856/0.4971, allocations: 283.4 kB / 0.6906 GB, free: 1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.4972, allocations: 12 kB / 0.6906 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008316/0.498, allocations: 115.8 kB / 0.6907 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.146e-05/0.4981, allocations: 39.89 kB / 0.6908 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.486e-05/0.4982, allocations: 23.98 kB / 0.6908 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001061/0.4993, allocations: 0.735 MB / 0.6915 GB, free: 72 kB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.4993, allocations: 4 kB / 0.6915 GB, free: 68 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001413/0.5007, allocations: 0.5535 MB / 0.6921 GB, free: 15.51 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006564/0.5014, allocations: 366.8 kB / 0.6924 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002974/0.5043, allocations: 1.159 MB / 0.6936 GB, free: 14 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5044, allocations: 0 / 0.6936 GB, free: 14 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008692/0.5052, allocations: 372.4 kB / 0.6939 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/0.5075, allocations: 0.4936 MB / 0.6944 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005072/0.5126, allocations: 2.48 MB / 0.6968 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005571/0.5132, allocations: 1.061 MB / 0.6979 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008765/0.5141, allocations: 220.3 kB / 0.6981 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.5143, allocations: 71.42 kB / 0.6981 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of SimCode: time 4.81e-07/0.5143, allocations: 0 / 0.6981 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of Templates: time 0.03382/0.5481, allocations: 23 MB / 0.7206 GB, free: 2.543 MB / 0.545 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)