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.001343/0.001342, allocations: 107.1 kB / 16.37 MB, free: 6.477 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.00128/0.001281, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7583/0.7583, allocations: 132.2 MB / 423.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.91 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3491, allocations: 80.18 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.04996/0.3991, allocations: 61.25 MB / 0.6413 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01625/0.4154, allocations: 11.99 MB / 0.653 GB, free: 4.805 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002046/0.4175, allocations: 59.62 kB / 0.6531 GB, free: 4.746 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001882/0.4194, allocations: 0.6869 MB / 0.6537 GB, free: 4.055 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005196/0.4246, allocations: 1.959 MB / 0.6557 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003273/0.4279, allocations: 1.214 MB / 0.6568 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004595/0.4325, allocations: 3.098 MB / 0.6599 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/0.4343, allocations: 1.116 MB / 0.661 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002948/0.4372, allocations: 1.341 MB / 0.6623 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001345/0.4386, allocations: 0.9023 MB / 0.6632 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001771/0.4388, allocations: 116 kB / 0.6633 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002698/0.4415, allocations: 1.439 MB / 0.6647 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002863/0.4418, allocations: 294.8 kB / 0.6649 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007309/0.4425, allocations: 0.6997 MB / 0.6656 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002873/0.4454, allocations: 2.308 MB / 0.6679 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4454, allocations: 4 kB / 0.6679 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4454, allocations: 0 / 0.6679 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.862e-05/0.4454, allocations: 0 / 0.6679 GB, free: 5.512 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.003012/0.4485, allocations: 1.752 MB / 0.6696 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.4485, allocations: 8.031 kB / 0.6696 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002104/0.4506, allocations: 414.8 kB / 0.67 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002569/0.4532, allocations: 1.163 MB / 0.6711 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.56e-05/0.4533, allocations: 62 kB / 0.6712 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.4534, allocations: 84 kB / 0.6713 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/0.4555, allocations: 1.025 MB / 0.6723 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.4555, allocations: 4 kB / 0.6723 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.742e-05/0.4556, allocations: 32 kB / 0.6723 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.4556, allocations: 20 kB / 0.6723 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002238/0.4578, allocations: 0.886 MB / 0.6732 GB, free: 15.89 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.006638/0.4645, allocations: 5.255 MB / 0.6783 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003196/0.4677, allocations: 0.7863 MB / 0.6791 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007172/0.4684, allocations: 316.6 kB / 0.6794 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006663/0.4691, allocations: 0.9064 MB / 0.6803 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.4692, allocations: 38.5 kB / 0.6803 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 3.928e-06/0.4692, allocations: 0 / 0.6803 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.007928/0.4771, allocations: 1.899 MB / 0.6822 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.4772, allocations: 59.36 kB / 0.6822 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/0.4788, allocations: 1.084 MB / 0.6833 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.162e-05/0.4788, allocations: 33.7 kB / 0.6833 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004068/0.4792, allocations: 0.5389 MB / 0.6838 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.4794, allocations: 149.8 kB / 0.684 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/0.4796, allocations: 146.1 kB / 0.6841 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.4797, allocations: 322 kB / 0.6844 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009033/0.4807, allocations: 331.2 kB / 0.6848 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/0.4817, allocations: 0.5463 MB / 0.6853 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/0.4834, allocations: 0.7501 MB / 0.686 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.4834, allocations: 0 / 0.686 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003495/0.4869, allocations: 1.165 MB / 0.6872 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.487, allocations: 8 kB / 0.6872 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.487, allocations: 7.938 kB / 0.6872 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.4881, allocations: 300.7 kB / 0.6875 GB, free: 432 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005763/0.4887, allocations: 147.8 kB / 0.6876 GB, free: 284 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.4901, allocations: 0.9025 MB / 0.6885 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.4913, allocations: 151.2 kB / 0.6886 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.59e-05/0.4914, allocations: 35.98 kB / 0.6887 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001199/0.4926, allocations: 0.5246 MB / 0.6892 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001034/0.4936, allocations: 0.558 MB / 0.6897 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001617/0.4952, allocations: 0.726 MB / 0.6904 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.837e-06/0.4953, allocations: 4 kB / 0.6904 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003358/0.4986, allocations: 1.16 MB / 0.6916 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.4987, allocations: 4 kB / 0.6916 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.4987, allocations: 8 kB / 0.6916 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.4997, allocations: 300.6 kB / 0.6919 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005746/0.5003, allocations: 139.8 kB / 0.692 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.5016, allocations: 0.8957 MB / 0.6929 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.5028, allocations: 143.5 kB / 0.693 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.166e-05/0.5029, allocations: 35.98 kB / 0.693 GB, free: 10.47 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.0002311/0.5031, allocations: 224 kB / 0.6933 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.5033, allocations: 114.6 kB / 0.6934 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00356/0.5069, allocations: 1.112 MB / 0.6944 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.5069, allocations: 7.984 kB / 0.6945 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.5069, allocations: 0 / 0.6945 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.5069, allocations: 4 kB / 0.6945 GB, free: 9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005156/0.5121, allocations: 2.203 MB / 0.6966 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.5121, allocations: 8.219 kB / 0.6966 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003083/0.5124, allocations: 71.88 kB / 0.6967 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009438/0.5134, allocations: 299 kB / 0.697 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.353e-05/0.5135, allocations: 16 kB / 0.697 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001389/0.5148, allocations: 0.923 MB / 0.6979 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.5149, allocations: 4 kB / 0.6979 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003475/0.5183, allocations: 1.193 MB / 0.6991 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005671/0.5189, allocations: 263.5 kB / 0.6993 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/0.5191, allocations: 15.98 kB / 0.6993 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008213/0.5199, allocations: 75.91 kB / 0.6994 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.941e-05/0.52, allocations: 43.83 kB / 0.6994 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.426e-05/0.5201, allocations: 19.98 kB / 0.6995 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001186/0.5213, allocations: 0.7592 MB / 0.7002 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5213, allocations: 0 / 0.7002 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00156/0.5229, allocations: 0.577 MB / 0.7008 GB, free: 2.359 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.000813/0.5237, allocations: 392.6 kB / 0.7011 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003373/0.5271, allocations: 1.172 MB / 0.7023 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.5271, allocations: 0 / 0.7023 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009416/0.528, allocations: 366.5 kB / 0.7026 GB, free: 468 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002253/0.5303, allocations: 0.5101 MB / 0.7031 GB, free: 15.97 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004983/0.5353, allocations: 2.027 MB / 0.7051 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006164/0.5359, allocations: 1.069 MB / 0.7062 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008545/0.5368, allocations: 230.3 kB / 0.7064 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.537, allocations: 79.42 kB / 0.7064 GB, free: 12.49 MB / 0.545 GB Notification: Performance of SimCode: time 7.11e-07/0.537, allocations: 0 / 0.7064 GB, free: 12.49 MB / 0.545 GB Notification: Performance of Templates: time 0.03897/0.576, allocations: 25.21 MB / 0.7311 GB, free: 3.578 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)