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.001229/0.001229, allocations: 104 kB / 16.27 MB, free: 6.406 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.001161/0.001161, allocations: 194.9 kB / 17.2 MB, free: 5.973 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.393/1.393, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8113/0.8113, allocations: 132.2 MB / 423.2 MB, free: 6.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.91 kB / 0.5024 GB, free: 11.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4238, allocations: 80.18 MB / 0.5807 GB, free: 27.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05198/0.4758, allocations: 61.24 MB / 0.6405 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01931/0.4952, allocations: 11.99 MB / 0.6522 GB, free: 4.875 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002811/0.498, allocations: 59.62 kB / 0.6523 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003168/0.5013, allocations: 0.6791 MB / 0.653 GB, free: 4.133 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008079/0.5094, allocations: 1.97 MB / 0.6549 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003892/0.5133, allocations: 1.198 MB / 0.6561 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005318/0.5187, allocations: 3.099 MB / 0.6591 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002226/0.5209, allocations: 1.12 MB / 0.6602 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003914/0.5249, allocations: 1.331 MB / 0.6615 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001961/0.5268, allocations: 0.8983 MB / 0.6624 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004668/0.5273, allocations: 120 kB / 0.6625 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003598/0.5309, allocations: 1.439 MB / 0.6639 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005621/0.5315, allocations: 290.8 kB / 0.6642 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001561/0.5331, allocations: 0.6998 MB / 0.6648 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005104/0.5382, allocations: 2.294 MB / 0.6671 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.5382, allocations: 0 / 0.6671 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5382, allocations: 0 / 0.6671 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.812e-05/0.5383, allocations: 4 kB / 0.6671 GB, free: 5.613 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.004781/0.5431, allocations: 1.738 MB / 0.6688 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.5432, allocations: 12.03 kB / 0.6688 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00245/0.5456, allocations: 414.8 kB / 0.6692 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002923/0.5486, allocations: 1.103 MB / 0.6703 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003891/0.549, allocations: 121.9 kB / 0.6704 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/0.5492, allocations: 80 kB / 0.6705 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002504/0.5517, allocations: 1.033 MB / 0.6715 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.5518, allocations: 3.938 kB / 0.6715 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-05/0.5519, allocations: 32 kB / 0.6715 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.5519, allocations: 20 kB / 0.6715 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002638/0.5545, allocations: 0.9016 MB / 0.6724 GB, free: 15.99 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.007817/0.5624, allocations: 5.282 MB / 0.6776 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003586/0.566, allocations: 0.8047 MB / 0.6783 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008835/0.5669, allocations: 322.8 kB / 0.6787 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009584/0.5679, allocations: 0.9064 MB / 0.6795 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.769e-05/0.568, allocations: 50.52 kB / 0.6796 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 4.619e-06/0.568, allocations: 0 / 0.6796 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.009634/0.5776, allocations: 1.953 MB / 0.6815 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.5777, allocations: 55.41 kB / 0.6815 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002559/0.5803, allocations: 1.076 MB / 0.6826 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001594/0.5805, allocations: 41.7 kB / 0.6826 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007416/0.5813, allocations: 0.5389 MB / 0.6832 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002367/0.5815, allocations: 153.8 kB / 0.6833 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000359/0.5819, allocations: 142.1 kB / 0.6834 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.582, allocations: 333.8 kB / 0.6838 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.5831, allocations: 327.2 kB / 0.6841 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.5845, allocations: 0.5541 MB / 0.6846 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00207/0.5866, allocations: 0.7502 MB / 0.6853 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.5866, allocations: 0 / 0.6853 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004546/0.5911, allocations: 1.207 MB / 0.6865 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.161e-05/0.5912, allocations: 7.938 kB / 0.6865 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/0.5912, allocations: 8 kB / 0.6865 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001471/0.5927, allocations: 315 kB / 0.6868 GB, free: 340 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006242/0.5934, allocations: 147.7 kB / 0.687 GB, free: 192 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/0.5951, allocations: 0.9113 MB / 0.6879 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/0.5968, allocations: 159.2 kB / 0.688 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.597, allocations: 35.98 kB / 0.6881 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001554/0.5985, allocations: 0.5285 MB / 0.6886 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001286/0.5998, allocations: 0.5463 MB / 0.6891 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001942/0.6018, allocations: 0.7455 MB / 0.6898 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.28e-05/0.6018, allocations: 7.922 kB / 0.6898 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.00464/0.6065, allocations: 1.18 MB / 0.691 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.6065, allocations: 8 kB / 0.691 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.6065, allocations: 4 kB / 0.691 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/0.6079, allocations: 319.7 kB / 0.6913 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006207/0.6085, allocations: 135.8 kB / 0.6914 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/0.6102, allocations: 0.9114 MB / 0.6923 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.6118, allocations: 140.8 kB / 0.6925 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.612, allocations: 35.98 kB / 0.6925 GB, free: 10.3 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.000344/0.6123, allocations: 224 kB / 0.6927 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004718/0.6128, allocations: 114.6 kB / 0.6928 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004386/0.6172, allocations: 1.132 MB / 0.6939 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.76e-05/0.6173, allocations: 8 kB / 0.6939 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.6173, allocations: 0 / 0.6939 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.6173, allocations: 7.922 kB / 0.6939 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006706/0.624, allocations: 2.218 MB / 0.6961 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/0.6241, allocations: 3.938 kB / 0.6961 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003503/0.6244, allocations: 72.22 kB / 0.6962 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001376/0.6258, allocations: 304.4 kB / 0.6965 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.416e-05/0.6259, allocations: 19.98 kB / 0.6965 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/0.6276, allocations: 0.9374 MB / 0.6974 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/0.6276, allocations: 3.938 kB / 0.6974 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004466/0.6321, allocations: 1.212 MB / 0.6986 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008448/0.633, allocations: 259.6 kB / 0.6988 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004486/0.6334, allocations: 16 kB / 0.6989 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.6346, allocations: 75.91 kB / 0.6989 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.6347, allocations: 51.77 kB / 0.699 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.367e-05/0.6348, allocations: 23.98 kB / 0.699 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001725/0.6365, allocations: 0.7592 MB / 0.6997 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.9e-07/0.6365, allocations: 0 / 0.6997 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002259/0.6388, allocations: 0.5692 MB / 0.7003 GB, free: 2.109 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.001077/0.6399, allocations: 395.2 kB / 0.7007 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003884/0.6438, allocations: 1.199 MB / 0.7018 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.6438, allocations: 0 / 0.7018 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.6449, allocations: 374.3 kB / 0.7022 GB, free: 172 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00288/0.6478, allocations: 0.5198 MB / 0.7027 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006009/0.6538, allocations: 2.096 MB / 0.7048 GB, free: 13.51 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008199/0.6546, allocations: 1.069 MB / 0.7058 GB, free: 12.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/0.655, allocations: 75.42 kB / 0.7059 GB, free: 12.34 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.655, allocations: 0 / 0.7059 GB, free: 12.34 MB / 0.545 GB Notification: Performance of Templates: time 0.03689/0.6919, allocations: 24.3 MB / 0.7296 GB, free: 4.227 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)