Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 84.38 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.0009886/0.0009886, 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.438/1.438, allocations: 223.2 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9584/0.9584, allocations: 135.3 MB / 426.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003559, allocations: 8 kB / 0.507 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.19, allocations: 82.3 MB / 0.5874 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.4532/0.6433, allocations: 56.49 MB / 0.6425 GB, free: 20.24 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01371/0.6571, allocations: 11.21 MB / 0.6535 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00228/0.6594, allocations: 51.59 kB / 0.6535 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001524/0.6609, allocations: 464.1 kB / 0.654 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004404/0.6653, allocations: 1.532 MB / 0.6555 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002632/0.668, allocations: 0.864 MB / 0.6563 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004033/0.672, allocations: 3.388 MB / 0.6596 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/0.6734, allocations: 0.7911 MB / 0.6604 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002261/0.6756, allocations: 1.041 MB / 0.6614 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.6771, allocations: 0.8039 MB / 0.6622 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001515/0.6772, allocations: 41.38 kB / 0.6622 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002944/0.6802, allocations: 1.118 MB / 0.6633 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002557/0.6805, allocations: 198.7 kB / 0.6635 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004903/0.6809, allocations: 283.1 kB / 0.6638 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002834/0.6838, allocations: 1.637 MB / 0.6654 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.6838, allocations: 0 / 0.6654 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6838, allocations: 4 kB / 0.6654 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.9e-05/0.6839, allocations: 1.594 kB / 0.6654 GB, free: 7.031 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.003464/0.6873, allocations: 1.5 MB / 0.6668 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.6874, allocations: 9.312 kB / 0.6669 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0019/0.6893, allocations: 383.9 kB / 0.6672 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002652/0.6919, allocations: 1.089 MB / 0.6683 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003714/0.6923, allocations: 127.8 kB / 0.6684 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.6925, allocations: 79.78 kB / 0.6685 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/0.6947, allocations: 0.9657 MB / 0.6694 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.6947, allocations: 0 / 0.6694 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.272e-05/0.6948, allocations: 31.72 kB / 0.6695 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.599e-05/0.6948, allocations: 19.89 kB / 0.6695 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/0.697, allocations: 0.847 MB / 0.6703 GB, free: 4.438 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.007307/0.7043, allocations: 4.801 MB / 0.675 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.7058, allocations: 0.593 MB / 0.6756 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000601/0.7065, allocations: 280.6 kB / 0.6758 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001377/0.7078, allocations: 1.393 MB / 0.6772 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.7079, allocations: 37.64 kB / 0.6772 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.735e-06/0.7079, allocations: 0 / 0.6772 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.008389/0.7163, allocations: 2.039 MB / 0.6792 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/0.7164, allocations: 55.12 kB / 0.6793 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002543/0.7189, allocations: 1.044 MB / 0.6803 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001404/0.7191, allocations: 38.45 kB / 0.6803 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006427/0.7197, allocations: 0.5263 MB / 0.6808 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/0.72, allocations: 149.3 kB / 0.681 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.72, allocations: 9.688 kB / 0.681 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.7202, allocations: 333.1 kB / 0.6813 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000816/0.721, allocations: 283.2 kB / 0.6816 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.7221, allocations: 0.4885 MB / 0.6821 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008336/0.7229, allocations: 324.6 kB / 0.6824 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.7229, allocations: 0 / 0.6824 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003498/0.7264, allocations: 1.148 MB / 0.6835 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001871/0.7266, allocations: 206.2 kB / 0.6837 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.7267, allocations: 3.562 kB / 0.6837 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/0.7279, allocations: 329.8 kB / 0.684 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000483/0.7284, allocations: 119 kB / 0.6841 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/0.7299, allocations: 0.94 MB / 0.685 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.7314, allocations: 182.5 kB / 0.6852 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.953e-05/0.7315, allocations: 28 kB / 0.6852 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.7315, allocations: 3.75 kB / 0.6852 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002995/0.7345, allocations: 1.011 MB / 0.6862 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.7345, allocations: 4.031 kB / 0.6862 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.7356, allocations: 320.8 kB / 0.6865 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004373/0.736, allocations: 114.4 kB / 0.6867 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/0.7374, allocations: 0.9394 MB / 0.6876 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.7388, allocations: 161.3 kB / 0.6877 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.418e-05/0.7389, allocations: 27.34 kB / 0.6877 GB, free: 9.988 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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.0007784/0.7397, allocations: 349.8 kB / 0.6881 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.7399, allocations: 107.3 kB / 0.6882 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00358/0.7435, allocations: 1.165 MB / 0.6893 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.7435, allocations: 6 kB / 0.6893 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.7435, allocations: 1.891 kB / 0.6893 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.7435, allocations: 6.141 kB / 0.6893 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005034/0.7486, allocations: 2.146 MB / 0.6914 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.7486, allocations: 3.094 kB / 0.6914 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.7489, allocations: 58.97 kB / 0.6915 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001089/0.7499, allocations: 331 kB / 0.6918 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-05/0.75, allocations: 16.27 kB / 0.6918 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/0.7515, allocations: 0.9731 MB / 0.6928 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/0.7515, allocations: 6.531 kB / 0.6928 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003222/0.7547, allocations: 1.19 MB / 0.6939 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006598/0.7554, allocations: 279.6 kB / 0.6942 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.7555, allocations: 12.47 kB / 0.6942 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008077/0.7564, allocations: 102.6 kB / 0.6943 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.794e-05/0.7565, allocations: 39.31 kB / 0.6944 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.356e-05/0.7565, allocations: 30.83 kB / 0.6944 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001343/0.7579, allocations: 0.7298 MB / 0.6951 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.573e-06/0.7579, allocations: 0 / 0.6951 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001933/0.7598, allocations: 0.5699 MB / 0.6957 GB, free: 6.316 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008474/0.7607, allocations: 378.5 kB / 0.696 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002707/0.7634, allocations: 1.05 MB / 0.697 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.7634, allocations: 4.125 kB / 0.697 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007736/0.7642, allocations: 333.4 kB / 0.6974 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002377/0.7666, allocations: 0.4893 MB / 0.6978 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004527/0.7711, allocations: 2.203 MB / 0.7 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008018/0.772, allocations: 1.057 MB / 0.701 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001177/0.7731, allocations: 221.6 kB / 0.7012 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.7733, allocations: 75.7 kB / 0.7013 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of SimCode: time 9.41e-07/0.7733, allocations: 0 / 0.7013 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of Templates: time 0.04211/0.8155, allocations: 23.21 MB / 0.724 GB, free: 15.93 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)