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.0007736/0.0007737, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009469/0.000947, allocations: 180.8 kB / 16.92 MB, free: 6.652 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.357/1.357, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9465/0.9465, allocations: 135.3 MB / 427.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.0003519, allocations: 8 kB / 0.5082 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.162, allocations: 82.3 MB / 0.5886 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.4133/0.5754, allocations: 59.73 MB / 0.6469 GB, free: 17.37 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01394/0.5894, allocations: 11.9 MB / 0.6586 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002313/0.5918, allocations: 54.44 kB / 0.6586 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001692/0.5935, allocations: 0.5519 MB / 0.6592 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005098/0.5986, allocations: 1.797 MB / 0.6609 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002724/0.6013, allocations: 1.084 MB / 0.662 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004721/0.606, allocations: 3.906 MB / 0.6658 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001646/0.6077, allocations: 0.8947 MB / 0.6667 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002966/0.6107, allocations: 1.123 MB / 0.6677 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001782/0.6125, allocations: 0.8558 MB / 0.6686 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.6127, allocations: 42.41 kB / 0.6686 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003216/0.6159, allocations: 1.359 MB / 0.67 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002991/0.6162, allocations: 207.8 kB / 0.6702 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008788/0.6171, allocations: 0.631 MB / 0.6708 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002852/0.6199, allocations: 1.698 MB / 0.6724 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.62, allocations: 0 / 0.6724 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.475e-06/0.62, allocations: 1.062 kB / 0.6724 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.943e-05/0.62, allocations: 0 / 0.6724 GB, free: 2.594 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.003051/0.623, allocations: 1.485 MB / 0.6739 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.6231, allocations: 14.06 kB / 0.6739 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/0.6249, allocations: 384.9 kB / 0.6743 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002192/0.6271, allocations: 1.127 MB / 0.6754 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000383/0.6275, allocations: 128.7 kB / 0.6755 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.6276, allocations: 83.12 kB / 0.6756 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/0.6298, allocations: 0.9638 MB / 0.6765 GB, free: 272 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.6298, allocations: 1.375 kB / 0.6765 GB, free: 272 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.749e-05/0.6299, allocations: 35.28 kB / 0.6765 GB, free: 244 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/0.6299, allocations: 18.97 kB / 0.6766 GB, free: 244 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002277/0.6322, allocations: 0.8491 MB / 0.6774 GB, free: 15.96 MB / 0.5137 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.007744/0.64, allocations: 4.809 MB / 0.6821 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.6417, allocations: 0.5969 MB / 0.6827 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007604/0.6425, allocations: 283.1 kB / 0.6829 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001568/0.6441, allocations: 1.391 MB / 0.6843 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.6441, allocations: 45.7 kB / 0.6843 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.345e-06/0.6441, allocations: 0 / 0.6843 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.009514/0.6536, allocations: 2.041 MB / 0.6863 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.6537, allocations: 56.06 kB / 0.6864 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002099/0.6558, allocations: 1.062 MB / 0.6874 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001197/0.656, allocations: 32.73 kB / 0.6874 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004878/0.6565, allocations: 0.5194 MB / 0.688 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.6566, allocations: 152.6 kB / 0.6881 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.096e-05/0.6567, allocations: 51.77 kB / 0.6882 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.6569, allocations: 333.5 kB / 0.6885 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000831/0.6577, allocations: 286 kB / 0.6887 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.6587, allocations: 496.2 kB / 0.6892 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.6603, allocations: 0.6642 MB / 0.6899 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.6603, allocations: 5.281 kB / 0.6899 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002816/0.6632, allocations: 0.9765 MB / 0.6908 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001775/0.6633, allocations: 209.9 kB / 0.691 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.6634, allocations: 4.781 kB / 0.691 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001451/0.6648, allocations: 332.1 kB / 0.6913 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004788/0.6653, allocations: 118.3 kB / 0.6915 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001737/0.6671, allocations: 0.9386 MB / 0.6924 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/0.6687, allocations: 186.7 kB / 0.6926 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.6688, allocations: 29.36 kB / 0.6926 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.6688, allocations: 3.5 kB / 0.6926 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002427/0.6713, allocations: 0.8423 MB / 0.6934 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.6713, allocations: 12.12 kB / 0.6934 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/0.6725, allocations: 326.6 kB / 0.6937 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/0.673, allocations: 113.2 kB / 0.6938 GB, free: 6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001597/0.6746, allocations: 0.9271 MB / 0.6947 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.676, allocations: 164.4 kB / 0.6949 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.655e-05/0.6761, allocations: 29.47 kB / 0.6949 GB, free: 5.289 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 (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.0007351/0.6768, allocations: 352.4 kB / 0.6953 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/0.6771, allocations: 107.2 kB / 0.6954 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004226/0.6814, allocations: 1.163 MB / 0.6965 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.086e-05/0.6814, allocations: 6.188 kB / 0.6965 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.6814, allocations: 4 kB / 0.6965 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.6814, allocations: 2.531 kB / 0.6965 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005877/0.6873, allocations: 2.157 MB / 0.6986 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.6873, allocations: 2.219 kB / 0.6986 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.6875, allocations: 57.3 kB / 0.6987 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001105/0.6887, allocations: 324.9 kB / 0.699 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-05/0.6887, allocations: 13.17 kB / 0.699 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001601/0.6903, allocations: 0.9738 MB / 0.6999 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.6903, allocations: 8.031 kB / 0.7 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003707/0.694, allocations: 1.193 MB / 0.7011 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008186/0.6949, allocations: 283 kB / 0.7014 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003485/0.6952, allocations: 11.8 kB / 0.7014 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.6964, allocations: 101.2 kB / 0.7015 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.88e-05/0.6965, allocations: 37.09 kB / 0.7015 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.047e-05/0.6965, allocations: 21.58 kB / 0.7016 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001734/0.6983, allocations: 0.7492 MB / 0.7023 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.6983, allocations: 0 / 0.7023 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002586/0.7009, allocations: 0.5661 MB / 0.7028 GB, free: 1.625 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 (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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001175/0.7021, allocations: 406.3 kB / 0.7032 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003121/0.7052, allocations: 1.055 MB / 0.7043 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.7052, allocations: 4.125 kB / 0.7043 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008191/0.706, allocations: 331.7 kB / 0.7046 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003672/0.7097, allocations: 0.4995 MB / 0.7051 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004707/0.7145, allocations: 2.294 MB / 0.7073 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009276/0.7154, allocations: 1.061 MB / 0.7083 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/0.7157, allocations: 79.83 kB / 0.7084 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of SimCode: time 1.252e-06/0.7157, allocations: 0 / 0.7084 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of Templates: time 0.034/0.7497, allocations: 23.77 MB / 0.7316 GB, free: 8.723 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)