Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ThermoPower.Test.DistributedParameterComponents.TestWalls,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWalls,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 108.3 kB / 16.92 MB, free: 5.754 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.001609/0.001609, allocations: 191.3 kB / 17.85 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.285/1.285, allocations: 205.1 MB / 223.7 MB, free: 12.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2491/0.2491, allocations: 48.84 MB / 319.9 MB, free: 11.1 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 70.61 kB / 390.1 MB, free: 48.85 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07456/0.07599, allocations: 59.17 MB / 449.2 MB, free: 9.773 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Thermal.mo:605:5-605:61:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Thermal.mo:605:5-605:61:writable] Notification: The diagnostics message for the missing inner is: The System object is missing, please drag it on the top layer of your model Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWalls): time 0.02783/0.1038, allocations: 21.78 MB / 471 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.1051, allocations: 0.6748 MB / 471.7 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.1052, allocations: 4 kB / 471.7 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.1054, allocations: 59.5 kB / 471.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004051/0.1058, allocations: 191.1 kB / 471.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.106, allocations: 63.84 kB / 472 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003664/0.1063, allocations: 382.6 kB / 472.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002215/0.1066, allocations: 156.1 kB / 472.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.1068, allocations: 163.4 kB / 472.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.107, allocations: 199.3 kB / 472.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/0.1071, allocations: 24 kB / 472.9 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.1072, allocations: 35.98 kB / 473 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.1073, allocations: 139.6 kB / 473.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.1075, allocations: 151.3 kB / 473.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.1078, allocations: 307 kB / 473.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1078, allocations: 0 / 473.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1078, allocations: 0 / 473.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1078, allocations: 0 / 473.5 MB, free: 1.379 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008533/0.1087, allocations: 0.5917 MB / 474.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.1087, allocations: 15.89 kB / 474.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.509e-05/0.1088, allocations: 36.5 kB / 474.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.1091, allocations: 295.6 kB / 474.5 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.1091, allocations: 12.38 kB / 474.5 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.145e-05/0.1092, allocations: 24.38 kB / 474.5 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.1096, allocations: 264.3 kB / 474.8 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1096, allocations: 0 / 474.8 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.1096, allocations: 7.984 kB / 474.8 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.1096, allocations: 4 kB / 474.8 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003987/0.1101, allocations: 176 kB / 474.9 MB, free: 15.87 MB / 366.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.001266/0.1113, allocations: 0.9395 MB / 475.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004863/0.1118, allocations: 173.2 kB / 476.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.112, allocations: 77.61 kB / 476.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.112, allocations: 4 kB / 476.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.112, allocations: 38.5 kB / 476.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.1121, allocations: 0 / 476.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005734/0.1126, allocations: 241.6 kB / 476.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.1127, allocations: 106.8 kB / 476.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.1129, allocations: 266.7 kB / 476.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.113, allocations: 25.7 kB / 476.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.601e-05/0.1131, allocations: 160.3 kB / 477 MB, free: 13.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.664e-05/0.1131, allocations: 51.2 kB / 477 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.994e-05/0.1132, allocations: 33.7 kB / 477 MB, free: 13.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1133, allocations: 346.7 kB / 477.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.1135, allocations: 67.95 kB / 477.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.1136, allocations: 104.2 kB / 477.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.114, allocations: 171.3 kB / 477.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.114, allocations: 0 / 477.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004048/0.1144, allocations: 225.2 kB / 477.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1144, allocations: 8 kB / 477.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1144, allocations: 0 / 477.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.1144, allocations: 0 / 477.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.1147, allocations: 55.97 kB / 478 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1147, allocations: 4.062 kB / 478 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.1149, allocations: 27.77 kB / 478 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1149, allocations: 4 kB / 478 MB, free: 12.56 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * 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.0001193/0.115, allocations: 153.8 kB / 478.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.826e-05/0.1151, allocations: 23.72 kB / 478.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.663e-05/0.1151, allocations: 33.72 kB / 478.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.1152, allocations: 11.97 kB / 478.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1152, allocations: 96 / 478.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1152, allocations: 8.188 kB / 478.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003576/0.1155, allocations: 305.4 kB / 478.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1155, allocations: 4 kB / 478.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000291/0.1158, allocations: 51.95 kB / 478.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1159, allocations: 0 / 478.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.1159, allocations: 4 kB / 478.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1159, allocations: 8 kB / 478.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1159, allocations: 0 / 478.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000598/0.1165, allocations: 446.3 kB / 479.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.1166, allocations: 116.8 kB / 479.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.065e-05/0.1167, allocations: 7.984 kB / 479.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.1169, allocations: 12 kB / 479.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.1169, allocations: 11.92 kB / 479.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.1169, allocations: 8 kB / 479.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001682/0.1171, allocations: 190 kB / 479.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1171, allocations: 0 / 479.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003736/0.1175, allocations: 67.83 kB / 479.5 MB, free: 11.04 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (wall1.Tvol[1],wall1.Tvol[2],wall2.Tvol[1],wall2.Tvol[2]) * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0001492/0.1177, allocations: 103.2 kB / 479.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003654/0.118, allocations: 167.8 kB / 479.7 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.118, allocations: 0 / 479.7 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.1182, allocations: 75.89 kB / 479.8 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005499/0.1188, allocations: 76.62 kB / 479.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.1199, allocations: 0.7315 MB / 480.6 MB, free: 9.859 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.1202, allocations: 0.7753 MB / 481.4 MB, free: 9.059 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001886/0.1204, allocations: 53.91 kB / 481.4 MB, free: 9.004 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.106e-05/0.1205, allocations: 19.44 kB / 481.4 MB, free: 8.984 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1205, allocations: 0 / 481.4 MB, free: 8.984 MB / 366.1 MB Notification: Performance of Templates: time 0.0067/0.1272, allocations: 3.324 MB / 484.8 MB, free: 5.66 MB / 366.1 MB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.pipe 2>&1)