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-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.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.0008441/0.0008445, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0008678/0.0008679, allocations: 177.3 kB / 15.94 MB, free: 228 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.206/1.206, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.844/0.844, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004246/0.0004247, allocations: 8 kB / 0.5068 GB, free: 5.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1635, allocations: 82.31 MB / 0.5872 GB, free: 3.184 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.2716/0.4352, allocations: 51.27 MB / 0.6373 GB, free: 23.93 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01102/0.4462, allocations: 10.3 MB / 0.6473 GB, free: 16.63 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001574/0.4479, allocations: 53.5 kB / 0.6474 GB, free: 16.6 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.4495, allocations: 0.6199 MB / 0.648 GB, free: 16.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004375/0.4539, allocations: 1.951 MB / 0.6499 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002957/0.4569, allocations: 1.31 MB / 0.6512 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002304/0.4592, allocations: 1.843 MB / 0.653 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008442/0.46, allocations: 0.8109 MB / 0.6538 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001375/0.4614, allocations: 0.9867 MB / 0.6547 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005936/0.462, allocations: 0.602 MB / 0.6553 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.112e-05/0.4621, allocations: 41.31 kB / 0.6553 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.4639, allocations: 0.9875 MB / 0.6563 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.4641, allocations: 197.4 kB / 0.6565 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.4642, allocations: 278.7 kB / 0.6568 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.4657, allocations: 1.583 MB / 0.6583 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.4657, allocations: 0 / 0.6583 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4657, allocations: 0 / 0.6583 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.4657, allocations: 0 / 0.6583 GB, free: 11.32 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.002308/0.468, allocations: 1.475 MB / 0.6597 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.4681, allocations: 8.688 kB / 0.6598 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002021/0.4701, allocations: 478.5 kB / 0.6602 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/0.472, allocations: 1.043 MB / 0.6612 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003755/0.4724, allocations: 126.2 kB / 0.6614 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.4726, allocations: 84.81 kB / 0.6614 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/0.4747, allocations: 0.9966 MB / 0.6624 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.4747, allocations: 5.375 kB / 0.6624 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.089e-05/0.4748, allocations: 31.03 kB / 0.6624 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.4748, allocations: 22.66 kB / 0.6625 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00228/0.4771, allocations: 0.9106 MB / 0.6634 GB, free: 8.734 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.005691/0.4828, allocations: 4.91 MB / 0.6681 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00335/0.4862, allocations: 0.9087 MB / 0.669 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004152/0.4866, allocations: 0.9013 MB / 0.6699 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.4866, allocations: 41.8 kB / 0.67 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 1.984e-06/0.4866, allocations: 4 kB / 0.67 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.00849/0.4951, allocations: 2.141 MB / 0.672 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.4952, allocations: 55.44 kB / 0.6721 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.4967, allocations: 1.061 MB / 0.6731 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.395e-05/0.4967, allocations: 36.98 kB / 0.6732 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000366/0.4971, allocations: 0.5268 MB / 0.6737 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.4972, allocations: 145.5 kB / 0.6738 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.4973, allocations: 10.56 kB / 0.6738 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.276e-05/0.4973, allocations: 325.9 kB / 0.6741 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008735/0.4982, allocations: 319.3 kB / 0.6745 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009649/0.4992, allocations: 0.528 MB / 0.675 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008719/0.5001, allocations: 360.2 kB / 0.6753 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.5001, allocations: 2.031 kB / 0.6753 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003395/0.5035, allocations: 1.227 MB / 0.6765 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004914/0.504, allocations: 1.665 MB / 0.6781 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.504, allocations: 5.156 kB / 0.6781 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/0.5053, allocations: 325.5 kB / 0.6785 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005293/0.5058, allocations: 131.2 kB / 0.6786 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.5072, allocations: 0.9392 MB / 0.6795 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/0.5086, allocations: 198.3 kB / 0.6797 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.316e-05/0.5086, allocations: 28.95 kB / 0.6797 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.5087, allocations: 5.625 kB / 0.6797 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003241/0.5119, allocations: 1.074 MB / 0.6808 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.5119, allocations: 17.55 kB / 0.6808 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.513, allocations: 323.5 kB / 0.6811 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004945/0.5135, allocations: 129.5 kB / 0.6812 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.5148, allocations: 0.9344 MB / 0.6821 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.516, allocations: 173.1 kB / 0.6823 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.134e-05/0.5161, allocations: 32.36 kB / 0.6823 GB, free: 13.15 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.0005447/0.5166, allocations: 344.7 kB / 0.6826 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.5168, allocations: 109 kB / 0.6828 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003677/0.5205, allocations: 1.203 MB / 0.6839 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.5205, allocations: 6.016 kB / 0.6839 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.5205, allocations: 5.531 kB / 0.6839 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.5205, allocations: 2.953 kB / 0.6839 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005181/0.5257, allocations: 2.267 MB / 0.6862 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.5257, allocations: 3.375 kB / 0.6862 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/0.526, allocations: 69.44 kB / 0.6862 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/0.527, allocations: 323.6 kB / 0.6865 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/0.5271, allocations: 13.09 kB / 0.6865 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001426/0.5285, allocations: 0.9671 MB / 0.6875 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.5285, allocations: 7.188 kB / 0.6875 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003668/0.5322, allocations: 1.367 MB / 0.6888 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006311/0.5329, allocations: 298 kB / 0.6891 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/0.533, allocations: 17.58 kB / 0.6891 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000886/0.5339, allocations: 111.5 kB / 0.6892 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.429e-05/0.534, allocations: 35.47 kB / 0.6893 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.044e-05/0.5341, allocations: 23.47 kB / 0.6893 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001166/0.5352, allocations: 0.7504 MB / 0.69 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5352, allocations: 1.031 kB / 0.69 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001691/0.5369, allocations: 0.5622 MB / 0.6906 GB, free: 9.258 MB / 0.5137 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.0006824/0.5376, allocations: 385.7 kB / 0.6909 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00314/0.5408, allocations: 1.168 MB / 0.6921 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5408, allocations: 0 / 0.6921 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009241/0.5417, allocations: 367.2 kB / 0.6924 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/0.5441, allocations: 498.7 kB / 0.6929 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005337/0.5494, allocations: 2.474 MB / 0.6953 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006921/0.5502, allocations: 1.087 MB / 0.6964 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009476/0.5511, allocations: 221.6 kB / 0.6966 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.5513, allocations: 77.12 kB / 0.6967 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of SimCode: time 8.91e-07/0.5513, allocations: 0 / 0.6967 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of Templates: time 0.0349/0.5862, allocations: 23.29 MB / 0.7194 GB, free: 4.09 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: