Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 108.5 kB / 16.36 MB, free: 6.285 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.001872/0.001872, allocations: 192 kB / 17.29 MB, free: 5.863 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7938/0.7938, allocations: 132.2 MB / 423.3 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 71.89 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4471/0.4486, allocations: 80.19 MB / 0.5815 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05175/0.5004, allocations: 61.24 MB / 0.6413 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01785/0.5183, allocations: 11.99 MB / 0.653 GB, free: 4.953 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002847/0.5212, allocations: 59.62 kB / 0.6531 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002419/0.5237, allocations: 0.6791 MB / 0.6537 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006634/0.5304, allocations: 1.963 MB / 0.6556 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003744/0.5341, allocations: 1.222 MB / 0.6568 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0046/0.5388, allocations: 3.095 MB / 0.6599 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001606/0.5404, allocations: 1.112 MB / 0.6609 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003204/0.5436, allocations: 1.345 MB / 0.6623 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.5452, allocations: 0.9022 MB / 0.6631 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002207/0.5454, allocations: 116 kB / 0.6632 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002831/0.5483, allocations: 1.435 MB / 0.6647 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003065/0.5486, allocations: 302.8 kB / 0.6649 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008371/0.5494, allocations: 0.6958 MB / 0.6656 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003363/0.5528, allocations: 2.31 MB / 0.6679 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5528, allocations: 0 / 0.6679 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5528, allocations: 4 kB / 0.6679 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.885e-05/0.5529, allocations: 4 kB / 0.6679 GB, free: 5.652 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003121/0.556, allocations: 1.742 MB / 0.6696 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.5561, allocations: 12.03 kB / 0.6696 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002117/0.5582, allocations: 418.8 kB / 0.67 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002362/0.5606, allocations: 1.163 MB / 0.6711 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.351e-05/0.5606, allocations: 62 kB / 0.6712 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.5608, allocations: 84 kB / 0.6713 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/0.5628, allocations: 1.025 MB / 0.6723 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.5629, allocations: 4 kB / 0.6723 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.943e-05/0.563, allocations: 32 kB / 0.6723 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.563, allocations: 20 kB / 0.6723 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00225/0.5652, allocations: 0.8859 MB / 0.6732 GB, free: 40 kB / 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.007218/0.5725, allocations: 5.249 MB / 0.6783 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003227/0.5757, allocations: 0.7852 MB / 0.6791 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007596/0.5765, allocations: 316.6 kB / 0.6794 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006961/0.5772, allocations: 0.9025 MB / 0.6803 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.5773, allocations: 38.56 kB / 0.6803 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 3.647e-06/0.5773, allocations: 0 / 0.6803 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.008128/0.5854, allocations: 1.895 MB / 0.6822 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.5855, allocations: 63.3 kB / 0.6822 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001784/0.5872, allocations: 1.08 MB / 0.6833 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.703e-05/0.5873, allocations: 41.64 kB / 0.6833 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004792/0.5878, allocations: 0.5389 MB / 0.6838 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.588, allocations: 157.8 kB / 0.684 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002533/0.5883, allocations: 138.1 kB / 0.6841 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.5884, allocations: 330 kB / 0.6844 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009168/0.5893, allocations: 323.2 kB / 0.6847 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/0.5905, allocations: 0.5502 MB / 0.6853 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.5922, allocations: 0.7502 MB / 0.686 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.5923, allocations: 0 / 0.686 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003723/0.596, allocations: 1.168 MB / 0.6871 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.596, allocations: 12.06 kB / 0.6872 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.596, allocations: 7.938 kB / 0.6872 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/0.5972, allocations: 307.8 kB / 0.6875 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006098/0.5979, allocations: 139.8 kB / 0.6876 GB, free: 428 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.5993, allocations: 0.8957 MB / 0.6885 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.6007, allocations: 155.2 kB / 0.6886 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.6008, allocations: 35.98 kB / 0.6887 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001442/0.6023, allocations: 0.5246 MB / 0.6892 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001225/0.6035, allocations: 0.5463 MB / 0.6897 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001676/0.6052, allocations: 0.7299 MB / 0.6904 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.248e-06/0.6052, allocations: 0 / 0.6904 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003536/0.6088, allocations: 1.168 MB / 0.6916 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.6088, allocations: 8.062 kB / 0.6916 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.6088, allocations: 8 kB / 0.6916 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.6099, allocations: 296.5 kB / 0.6918 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005763/0.6104, allocations: 139.8 kB / 0.692 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.6118, allocations: 0.8949 MB / 0.6929 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.6131, allocations: 139.5 kB / 0.693 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.893e-05/0.6132, allocations: 31.98 kB / 0.693 GB, free: 10.62 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (58): * Single equations (assignments): 57 * 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.000276/0.6135, allocations: 228 kB / 0.6932 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003068/0.6138, allocations: 114.6 kB / 0.6933 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003807/0.6176, allocations: 1.117 MB / 0.6944 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/0.6177, allocations: 4 kB / 0.6944 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.6177, allocations: 7.938 kB / 0.6944 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.6177, allocations: 3.984 kB / 0.6945 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005534/0.6233, allocations: 2.203 MB / 0.6966 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.6233, allocations: 7.938 kB / 0.6966 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003173/0.6236, allocations: 68.16 kB / 0.6967 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000952/0.6246, allocations: 303 kB / 0.697 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.148e-05/0.6246, allocations: 16 kB / 0.697 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00143/0.6261, allocations: 0.923 MB / 0.6979 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.6261, allocations: 4 kB / 0.6979 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003663/0.6298, allocations: 1.201 MB / 0.6991 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005789/0.6304, allocations: 259.5 kB / 0.6993 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002402/0.6306, allocations: 12 kB / 0.6993 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009317/0.6315, allocations: 79.91 kB / 0.6994 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.477e-05/0.6316, allocations: 39.83 kB / 0.6994 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.695e-05/0.6317, allocations: 23.98 kB / 0.6995 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001294/0.633, allocations: 0.7553 MB / 0.7002 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.61e-07/0.633, allocations: 0 / 0.7002 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001784/0.6348, allocations: 0.577 MB / 0.7008 GB, free: 2.5 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 (34): * Single equations (assignments): 29 * 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 {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009359/0.6358, allocations: 380 kB / 0.7011 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003297/0.6391, allocations: 1.179 MB / 0.7023 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.526e-05/0.6391, allocations: 4 kB / 0.7023 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009198/0.64, allocations: 358.5 kB / 0.7026 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/0.6422, allocations: 0.514 MB / 0.7031 GB, free: 116 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005182/0.6474, allocations: 2.023 MB / 0.7051 GB, free: 14.03 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008516/0.6483, allocations: 1.069 MB / 0.7061 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009604/0.6492, allocations: 228.1 kB / 0.7064 GB, free: 12.72 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.6495, allocations: 83.42 kB / 0.7064 GB, free: 12.64 MB / 0.545 GB Notification: Performance of SimCode: time 7.81e-07/0.6495, allocations: 0 / 0.7064 GB, free: 12.64 MB / 0.545 GB Notification: Performance of Templates: time 0.04063/0.6901, allocations: 25.21 MB / 0.7311 GB, free: 3.723 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)