Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.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.001937/0.001937, allocations: 75.2 kB / 21.28 MB, free: 384 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.002431/0.002431, allocations: 163.8 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.409/1.409, allocations: 177.2 MB / 204.9 MB, free: 9.266 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.1366/0.1366, allocations: 19.71 MB / 281 MB, free: 13.05 MB / 270.1 MB " [Timeout remaining time 180] 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_Wcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse") translateModel(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse") [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.002065/0.002065, allocations: 75.89 kB / 417.6 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2657, allocations: 60.44 MB / 478.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.01928/0.285, allocations: 14.31 MB / 492.4 MB, free: 3.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.2861, allocations: 0.662 MB / 493.1 MB, free: 3.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.2862, allocations: 7.875 kB / 493.1 MB, free: 3.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003993/0.2866, allocations: 95.47 kB / 493.2 MB, free: 3.164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000574/0.2872, allocations: 227 kB / 493.4 MB, free: 2.941 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005746/0.2929, allocations: 2.047 MB / 495.4 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007409/0.2936, allocations: 0.5873 MB / 496 MB, free: 312 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.2938, allocations: 40.91 kB / 496.1 MB, free: 276 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007891/0.2946, allocations: 0.4987 MB / 496.6 MB, free: 15.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004106/0.295, allocations: 279 kB / 496.8 MB, free: 15.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.938e-05/0.295, allocations: 27.94 kB / 496.9 MB, free: 15.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006718/0.3018, allocations: 3.519 MB / 0.4887 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003091/0.3021, allocations: 207.4 kB / 0.4888 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003593/0.3024, allocations: 250.8 kB / 0.4891 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00472/0.3071, allocations: 2.447 MB / 0.4915 GB, free: 9.043 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.3071, allocations: 3.984 kB / 0.4915 GB, free: 9.039 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3071, allocations: 0 / 0.4915 GB, free: 9.039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.3072, allocations: 0 / 0.4915 GB, free: 9.039 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.003059/0.3102, allocations: 1.162 MB / 0.4926 GB, free: 7.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3103, allocations: 16.03 kB / 0.4926 GB, free: 7.824 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003192/0.3106, allocations: 100.4 kB / 0.4927 GB, free: 7.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008652/0.3114, allocations: 0.4885 MB / 0.4932 GB, free: 7.207 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.147e-05/0.3115, allocations: 45.11 kB / 0.4932 GB, free: 7.164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.009e-05/0.3116, allocations: 40 kB / 0.4933 GB, free: 7.125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.3131, allocations: 0.8078 MB / 0.4941 GB, free: 6.262 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.3131, allocations: 3.938 kB / 0.4941 GB, free: 6.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.269e-05/0.3131, allocations: 28 kB / 0.4941 GB, free: 6.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.91e-05/0.3132, allocations: 36.98 kB / 0.4941 GB, free: 6.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.3145, allocations: 0.6087 MB / 0.4947 GB, free: 5.582 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.002988/0.3175, allocations: 2.449 MB / 0.4971 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.3186, allocations: 0.5143 MB / 0.4976 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/0.3189, allocations: 173.1 kB / 0.4978 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03016/0.349, allocations: 8.467 MB / 0.5061 GB, free: 9.871 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.806e-05/0.3491, allocations: 42.44 kB / 0.5061 GB, free: 9.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.405e-06/0.3491, allocations: 0 / 0.5061 GB, free: 9.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.001958/0.3511, allocations: 0.7421 MB / 0.5068 GB, free: 9.074 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.3511, allocations: 55.41 kB / 0.5069 GB, free: 9.008 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004579/0.3516, allocations: 369.6 kB / 0.5072 GB, free: 8.637 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.3516, allocations: 29.7 kB / 0.5073 GB, free: 8.602 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.3518, allocations: 292.9 kB / 0.5075 GB, free: 8.312 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.3519, allocations: 138.8 kB / 0.5077 GB, free: 8.176 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.3521, allocations: 77.67 kB / 0.5077 GB, free: 8.094 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.3522, allocations: 362.7 kB / 0.5081 GB, free: 7.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.3525, allocations: 128.4 kB / 0.5082 GB, free: 7.605 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.3527, allocations: 205.7 kB / 0.5084 GB, free: 7.383 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005475/0.3533, allocations: 375.9 kB / 0.5088 GB, free: 6.992 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3533, allocations: 3.984 kB / 0.5088 GB, free: 6.988 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006794/0.354, allocations: 440.9 kB / 0.5092 GB, free: 6.551 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.354, allocations: 10.97 kB / 0.5092 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.354, allocations: 0 / 0.5092 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.354, allocations: 4 kB / 0.5092 GB, free: 6.539 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.3543, allocations: 71.89 kB / 0.5093 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.3543, allocations: 4 kB / 0.5093 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.3545, allocations: 27.78 kB / 0.5093 GB, free: 6.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/0.3545, allocations: 24.2 kB / 0.5093 GB, free: 6.414 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 (fluidState[7].phase,fluidState[6].phase,fluidState[5].phase,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 (39): * Single equations (assignments): 37 * 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.0003209/0.3548, allocations: 249.6 kB / 0.5096 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-05/0.3549, allocations: 47.66 kB / 0.5096 GB, free: 6.113 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002035/0.357, allocations: 1.843 MB / 0.5114 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.24e-05/0.357, allocations: 35.89 kB / 0.5114 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.357, allocations: 0 / 0.5114 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.357, allocations: 0 / 0.5114 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.358, allocations: 0.8565 MB / 0.5123 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.358, allocations: 0 / 0.5123 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.3582, allocations: 59.91 kB / 0.5123 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.415e-06/0.3582, allocations: 7.938 kB / 0.5123 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.3583, allocations: 4 kB / 0.5124 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.3583, allocations: 8 kB / 0.5124 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3583, allocations: 0 / 0.5124 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.3595, allocations: 1.014 MB / 0.5133 GB, free: 2.227 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.532e-05/0.3596, allocations: 91.09 kB / 0.5134 GB, free: 2.137 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.087e-05/0.3596, allocations: 11.94 kB / 0.5134 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.3598, allocations: 11.98 kB / 0.5135 GB, free: 2.113 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/0.3598, allocations: 23.95 kB / 0.5135 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.3599, allocations: 8 kB / 0.5135 GB, free: 2.082 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002706/0.3601, allocations: 263.2 kB / 0.5137 GB, free: 1.832 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3601, allocations: 0 / 0.5137 GB, free: 1.832 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001366/0.3615, allocations: 0.5499 MB / 0.5143 GB, free: 1.281 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: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 30 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 7 * 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.001599/0.3631, allocations: 0.517 MB / 0.5148 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008009/0.3639, allocations: 0.5369 MB / 0.5153 GB, free: 228 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3639, allocations: 448 / 0.5153 GB, free: 228 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000459/0.3643, allocations: 373.8 kB / 0.5157 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009014/0.3653, allocations: 169.1 kB / 0.5158 GB, free: 15.69 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.3677, allocations: 1.758 MB / 0.5175 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004866/0.3682, allocations: 450.8 kB / 0.518 GB, free: 13.42 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.3683, allocations: 44.48 kB / 0.518 GB, free: 13.38 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3683, allocations: 0 / 0.518 GB, free: 13.38 MB / 430.1 MB Notification: Performance of Templates: time 0.02352/0.3919, allocations: 15.24 MB / 0.5329 GB, free: 14.14 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.683985929004848] Failed to read output from testmodel.py, exit status != 0: 0.4010536018759012 0.415633372 0.10524248500000001 Calling exit ...