Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008585/0.0008582, allocations: 98.77 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.0008797/0.0008797, 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.18/1.18, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8299/0.8299, allocations: 135.2 MB / 426.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002883/0.0002884, allocations: 8 kB / 0.5068 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1518, allocations: 82.3 MB / 0.5872 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.2768/0.4286, allocations: 51.27 MB / 0.6373 GB, free: 23.96 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01052/0.4392, allocations: 10.31 MB / 0.6473 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001427/0.4407, allocations: 46.66 kB / 0.6474 GB, free: 16.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.4423, allocations: 0.6333 MB / 0.648 GB, free: 16.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004473/0.4467, allocations: 1.946 MB / 0.6499 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002956/0.4497, allocations: 1.301 MB / 0.6511 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00268/0.4524, allocations: 1.849 MB / 0.653 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009882/0.4534, allocations: 0.8129 MB / 0.6537 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001612/0.455, allocations: 0.9807 MB / 0.6547 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006385/0.4557, allocations: 0.6044 MB / 0.6553 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.551e-05/0.4558, allocations: 40.97 kB / 0.6553 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001756/0.4575, allocations: 0.9854 MB / 0.6563 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.4577, allocations: 195.8 kB / 0.6565 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.4579, allocations: 281.2 kB / 0.6568 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.4592, allocations: 1.581 MB / 0.6583 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.4592, allocations: 0 / 0.6583 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4593, allocations: 0 / 0.6583 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.4593, allocations: 0 / 0.6583 GB, free: 11.36 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.00217/0.4614, allocations: 1.476 MB / 0.6597 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.4615, allocations: 12.8 kB / 0.6597 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002021/0.4635, allocations: 476 kB / 0.6602 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001625/0.4652, allocations: 1.039 MB / 0.6612 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003415/0.4655, allocations: 130.9 kB / 0.6613 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.4656, allocations: 84.06 kB / 0.6614 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.4675, allocations: 0.9974 MB / 0.6624 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.4675, allocations: 3.938 kB / 0.6624 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.371e-05/0.4676, allocations: 33.09 kB / 0.6624 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/0.4676, allocations: 23.25 kB / 0.6625 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/0.4698, allocations: 0.909 MB / 0.6633 GB, free: 8.766 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.00575/0.4756, allocations: 4.918 MB / 0.6681 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003335/0.4789, allocations: 0.911 MB / 0.669 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004141/0.4794, allocations: 0.898 MB / 0.6699 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.4794, allocations: 36.84 kB / 0.6699 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 2.345e-06/0.4794, allocations: 5.281 kB / 0.67 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.008052/0.4875, allocations: 2.143 MB / 0.672 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.126e-05/0.4875, allocations: 56.42 kB / 0.6721 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/0.4888, allocations: 1.061 MB / 0.6731 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.893e-05/0.4889, allocations: 38.2 kB / 0.6732 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003474/0.4893, allocations: 0.5264 MB / 0.6737 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.717e-05/0.4894, allocations: 145 kB / 0.6738 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.4894, allocations: 11.03 kB / 0.6738 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.893e-05/0.4895, allocations: 325.7 kB / 0.6741 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008359/0.4903, allocations: 319.5 kB / 0.6744 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009/0.4912, allocations: 0.5322 MB / 0.675 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008375/0.4921, allocations: 354.7 kB / 0.6753 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.4921, allocations: 2 kB / 0.6753 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003255/0.4953, allocations: 1.221 MB / 0.6765 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004053/0.4957, allocations: 1.668 MB / 0.6781 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.4958, allocations: 4.125 kB / 0.6781 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.4969, allocations: 334.5 kB / 0.6785 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005022/0.4975, allocations: 130.4 kB / 0.6786 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/0.4989, allocations: 0.9358 MB / 0.6795 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.5003, allocations: 197.9 kB / 0.6797 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.913e-05/0.5004, allocations: 28.7 kB / 0.6797 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/0.5004, allocations: 8.125 kB / 0.6797 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003181/0.5036, allocations: 1.075 MB / 0.6808 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.5037, allocations: 8.906 kB / 0.6808 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.5047, allocations: 323.7 kB / 0.6811 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004751/0.5052, allocations: 128.8 kB / 0.6812 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.5065, allocations: 0.9307 MB / 0.6821 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.5076, allocations: 174.6 kB / 0.6823 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.137e-05/0.5077, allocations: 27.72 kB / 0.6823 GB, free: 13.19 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.0005249/0.5082, allocations: 349.8 kB / 0.6826 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.5084, allocations: 107.5 kB / 0.6827 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004103/0.5125, allocations: 1.206 MB / 0.6839 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.5125, allocations: 5.016 kB / 0.6839 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.5125, allocations: 1.656 kB / 0.6839 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.5125, allocations: 6.484 kB / 0.6839 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005164/0.5177, allocations: 2.268 MB / 0.6861 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.5177, allocations: 7.359 kB / 0.6862 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002689/0.518, allocations: 65.52 kB / 0.6862 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/0.519, allocations: 332.5 kB / 0.6865 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.5191, allocations: 12.41 kB / 0.6865 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/0.5205, allocations: 0.9649 MB / 0.6875 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.5205, allocations: 15.23 kB / 0.6875 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003522/0.524, allocations: 1.368 MB / 0.6888 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005201/0.5245, allocations: 293.2 kB / 0.6891 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.5247, allocations: 18.58 kB / 0.6891 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009102/0.5256, allocations: 111.9 kB / 0.6892 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.662e-05/0.5257, allocations: 31.23 kB / 0.6893 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-05/0.5258, allocations: 23.16 kB / 0.6893 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001145/0.5269, allocations: 0.7501 MB / 0.69 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.8e-07/0.5269, allocations: 0 / 0.69 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001588/0.5285, allocations: 0.5669 MB / 0.6906 GB, free: 9.285 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.0007461/0.5293, allocations: 377.5 kB / 0.6909 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00315/0.5324, allocations: 1.166 MB / 0.6921 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.5324, allocations: 1 kB / 0.6921 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008676/0.5333, allocations: 366.6 kB / 0.6924 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/0.5356, allocations: 0.4921 MB / 0.6929 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005025/0.5407, allocations: 2.469 MB / 0.6953 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006041/0.5413, allocations: 1.089 MB / 0.6964 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009268/0.5422, allocations: 221.7 kB / 0.6966 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.5424, allocations: 79.03 kB / 0.6967 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of SimCode: time 5.61e-07/0.5424, allocations: 0 / 0.6967 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of Templates: time 0.03436/0.5768, allocations: 23.29 MB / 0.7194 GB, free: 3.996 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1) Environment - environmentSimulation: