Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 79.42 kB / 21.27 MB, free: 388 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 164.7 kB / 24.53 MB, free: 3.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.957/1.957, allocations: 177.2 MB / 204.9 MB, free: 9.297 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.254/0.254, allocations: 19.71 MB / 281 MB, free: 13.08 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse") translateModel(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003018/0.003018, allocations: 74.25 kB / 417.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.344, allocations: 60.46 MB / 478.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.02744/0.3714, allocations: 14.32 MB / 492.4 MB, free: 3.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.3729, allocations: 0.6621 MB / 493.1 MB, free: 3.258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.373, allocations: 7.938 kB / 493.1 MB, free: 3.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000514/0.3736, allocations: 99.41 kB / 493.2 MB, free: 3.152 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007329/0.3743, allocations: 215.1 kB / 493.4 MB, free: 2.941 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01964/0.3939, allocations: 2.058 MB / 495.5 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008271/0.3948, allocations: 445.8 kB / 495.9 MB, free: 456 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.3949, allocations: 57.33 kB / 496 MB, free: 404 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.396, allocations: 455 kB / 496.4 MB, free: 15.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004731/0.3965, allocations: 243 kB / 496.6 MB, free: 15.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.52e-05/0.3965, allocations: 20 kB / 496.7 MB, free: 15.69 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02053/0.417, allocations: 3.515 MB / 0.4885 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003278/0.4174, allocations: 195.4 kB / 0.4886 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003371/0.4177, allocations: 214.9 kB / 0.4888 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004454/0.4222, allocations: 2.357 MB / 0.4911 GB, free: 9.406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.4222, allocations: 4 kB / 0.4912 GB, free: 9.402 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4222, allocations: 0 / 0.4912 GB, free: 9.402 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.4222, allocations: 0 / 0.4912 GB, free: 9.402 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002943/0.4251, allocations: 1.022 MB / 0.4922 GB, free: 8.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.4252, allocations: 8.031 kB / 0.4922 GB, free: 8.336 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002801/0.4255, allocations: 76.55 kB / 0.4922 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.4265, allocations: 476 kB / 0.4927 GB, free: 7.766 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.975e-05/0.4265, allocations: 32.98 kB / 0.4927 GB, free: 7.734 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.366e-05/0.4266, allocations: 36 kB / 0.4928 GB, free: 7.699 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01758/0.4442, allocations: 0.5977 MB / 0.4933 GB, free: 7.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.4442, allocations: 0 / 0.4933 GB, free: 7.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.68e-05/0.4443, allocations: 16 kB / 0.4934 GB, free: 7.051 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-05/0.4443, allocations: 32.64 kB / 0.4934 GB, free: 7.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.4455, allocations: 458.1 kB / 0.4938 GB, free: 6.57 MB / 398.1 MB 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.002804/0.4483, allocations: 1.711 MB / 0.4955 GB, free: 4.793 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.4494, allocations: 362.5 kB / 0.4958 GB, free: 4.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003496/0.4497, allocations: 152.8 kB / 0.496 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06995/0.5197, allocations: 8.467 MB / 0.5043 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.102e-05/0.5197, allocations: 42.5 kB / 0.5043 GB, free: 11.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 2.986e-06/0.5197, allocations: 0 / 0.5043 GB, free: 11.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.001806/0.5215, allocations: 0.5451 MB / 0.5048 GB, free: 11.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.5216, allocations: 59.39 kB / 0.5049 GB, free: 11.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005431/0.5221, allocations: 357.6 kB / 0.5052 GB, free: 10.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.5221, allocations: 33.69 kB / 0.5053 GB, free: 10.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/0.5224, allocations: 248.7 kB / 0.5055 GB, free: 10.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.5225, allocations: 107 kB / 0.5056 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.5226, allocations: 61.62 kB / 0.5057 GB, free: 10.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.5228, allocations: 354.7 kB / 0.506 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.523, allocations: 99.94 kB / 0.5061 GB, free: 9.855 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0164/0.5394, allocations: 149.1 kB / 0.5062 GB, free: 9.695 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006024/0.54, allocations: 292 kB / 0.5065 GB, free: 9.395 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.54, allocations: 3.938 kB / 0.5065 GB, free: 9.391 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007485/0.5408, allocations: 333.2 kB / 0.5068 GB, free: 9.059 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.5408, allocations: 11.94 kB / 0.5068 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.5408, allocations: 0 / 0.5068 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.5408, allocations: 0 / 0.5068 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002943/0.5411, allocations: 51.91 kB / 0.5069 GB, free: 8.996 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.5411, allocations: 4 kB / 0.5069 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.5413, allocations: 20.02 kB / 0.5069 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/0.5414, allocations: 15.92 kB / 0.5069 GB, free: 8.957 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (fluidState[4].phase,fluidState[3].phase,fluidState[2].phase,fluidState[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003747/0.5418, allocations: 233.6 kB / 0.5071 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.5419, allocations: 43.69 kB / 0.5072 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/0.5436, allocations: 1.151 MB / 0.5083 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.794e-05/0.5436, allocations: 23.91 kB / 0.5083 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.5436, allocations: 0 / 0.5083 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.5436, allocations: 0 / 0.5083 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009725/0.5446, allocations: 0.609 MB / 0.5089 GB, free: 6.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.5446, allocations: 4 kB / 0.5089 GB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.5448, allocations: 31.98 kB / 0.509 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.5448, allocations: 0 / 0.509 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.5449, allocations: 11.94 kB / 0.509 GB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.5449, allocations: 7.984 kB / 0.509 GB, free: 6.805 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5449, allocations: 0 / 0.509 GB, free: 6.805 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.5459, allocations: 0.7181 MB / 0.5097 GB, free: 6.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.546, allocations: 63.38 kB / 0.5097 GB, free: 6.008 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.993e-05/0.546, allocations: 7.938 kB / 0.5098 GB, free: 6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.5462, allocations: 11.98 kB / 0.5098 GB, free: 5.988 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.5463, allocations: 11.97 kB / 0.5098 GB, free: 5.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.5463, allocations: 12 kB / 0.5098 GB, free: 5.965 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003511/0.5466, allocations: 255.2 kB / 0.51 GB, free: 5.715 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5466, allocations: 0 / 0.51 GB, free: 5.715 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001945/0.5486, allocations: 0.5109 MB / 0.5105 GB, free: 5.203 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 21 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002796/0.5514, allocations: 0.5178 MB / 0.511 GB, free: 4.672 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009102/0.5523, allocations: 385.5 kB / 0.5114 GB, free: 4.301 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.5523, allocations: 256 / 0.5114 GB, free: 4.301 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005137/0.5528, allocations: 256.8 kB / 0.5116 GB, free: 4.047 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.554, allocations: 131.9 kB / 0.5118 GB, free: 3.926 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/0.5569, allocations: 1.288 MB / 0.513 GB, free: 2.609 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006247/0.5576, allocations: 358 kB / 0.5134 GB, free: 2.234 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00054/0.5581, allocations: 174.6 kB / 0.5135 GB, free: 2.062 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.5582, allocations: 32.5 kB / 0.5136 GB, free: 2.031 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.5582, allocations: 0 / 0.5136 GB, free: 2.031 MB / 414.1 MB Notification: Performance of Templates: time 0.04067/0.5989, allocations: 16.7 MB / 0.5299 GB, free: 1.434 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.225374590954743] Failed to read output from testmodel.py, exit status != 0: 0.6106861470034346 0.632631946 0.20561914499999995 Calling exit ...