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.001106/0.001106, allocations: 113.7 kB / 17.69 MB, free: 5.309 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.001081/0.001081, allocations: 191 kB / 18.63 MB, free: 4.375 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.265/1.265, allocations: 205.1 MB / 224.5 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2542/0.2542, allocations: 48.84 MB / 320.7 MB, free: 11.05 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.00147/0.00147, allocations: 75.39 kB / 391.5 MB, free: 48.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07582/0.0773, allocations: 59.16 MB / 450.7 MB, free: 9.047 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.0294/0.1067, allocations: 21.57 MB / 472.3 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.108, allocations: 0.6748 MB / 472.9 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.1082, allocations: 7.938 kB / 472.9 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001749/0.1084, allocations: 59.56 kB / 473 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004128/0.1088, allocations: 191.1 kB / 473.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.1089, allocations: 63.91 kB / 473.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003897/0.1093, allocations: 386.5 kB / 473.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002278/0.1096, allocations: 152.1 kB / 473.8 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.1097, allocations: 163.4 kB / 473.9 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.11, allocations: 207.2 kB / 474.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.474e-05/0.1101, allocations: 24 kB / 474.2 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.127e-05/0.1102, allocations: 35.97 kB / 474.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.1103, allocations: 135.6 kB / 474.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.1104, allocations: 151.3 kB / 474.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.1108, allocations: 314.9 kB / 474.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1108, allocations: 0 / 474.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1108, allocations: 0 / 474.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1108, allocations: 0 / 474.8 MB, free: 0.8555 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.0008516/0.1117, allocations: 0.5918 MB / 475.4 MB, free: 220 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.1117, allocations: 11.89 kB / 475.4 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.644e-05/0.1118, allocations: 40.55 kB / 475.4 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/0.1122, allocations: 303.6 kB / 475.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.1122, allocations: 12.38 kB / 475.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.1123, allocations: 20.38 kB / 475.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/0.1127, allocations: 264.2 kB / 476 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1127, allocations: 3.984 kB / 476 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.1127, allocations: 11.98 kB / 476 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.1127, allocations: 4 kB / 476 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003522/0.1131, allocations: 167.9 kB / 476.2 MB, free: 15.34 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.001252/0.1144, allocations: 0.924 MB / 477.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004918/0.1149, allocations: 189.2 kB / 477.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.115, allocations: 65.69 kB / 477.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.1151, allocations: 0 / 477.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.1151, allocations: 42.48 kB / 477.4 MB, free: 14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.1151, allocations: 0 / 477.4 MB, free: 14 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005556/0.1157, allocations: 241.4 kB / 477.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.1157, allocations: 110.8 kB / 477.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.116, allocations: 262.7 kB / 478 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.116, allocations: 25.7 kB / 478 MB, free: 13.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.1161, allocations: 172.2 kB / 478.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.461e-05/0.1162, allocations: 55.2 kB / 478.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/0.1163, allocations: 33.7 kB / 478.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1164, allocations: 342.8 kB / 478.6 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.1165, allocations: 63.95 kB / 478.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.1167, allocations: 100.2 kB / 478.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.117, allocations: 171.3 kB / 479 MB, free: 12.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.117, allocations: 0 / 479 MB, free: 12.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003979/0.1174, allocations: 225.3 kB / 479.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1174, allocations: 11.98 kB / 479.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1175, allocations: 0 / 479.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1175, allocations: 0 / 479.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/0.1177, allocations: 51.91 kB / 479.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1177, allocations: 0 / 479.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.1179, allocations: 24.08 kB / 479.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.1179, allocations: 8 kB / 479.3 MB, free: 12.04 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.0001262/0.118, allocations: 149.8 kB / 479.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.758e-05/0.1181, allocations: 23.72 kB / 479.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.543e-05/0.1182, allocations: 33.7 kB / 479.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1182, allocations: 4 kB / 479.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1182, allocations: 4 kB / 479.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1182, allocations: 7.875 kB / 479.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003735/0.1186, allocations: 313.3 kB / 479.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1186, allocations: 0 / 479.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002996/0.1189, allocations: 51.91 kB / 479.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.1189, allocations: 4 kB / 479.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.1189, allocations: 7.984 kB / 479.9 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1189, allocations: 4.094 kB / 479.9 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.119, allocations: 3.938 kB / 479.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005589/0.1195, allocations: 438.3 kB / 480.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.1196, allocations: 112.8 kB / 480.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.1197, allocations: 4 kB / 480.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.1199, allocations: 16.08 kB / 480.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.12, allocations: 15.91 kB / 480.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.12, allocations: 0 / 480.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001733/0.1201, allocations: 198 kB / 480.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1202, allocations: 4 kB / 480.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003627/0.1205, allocations: 67.84 kB / 480.7 MB, free: 10.52 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.0001372/0.1207, allocations: 99.23 kB / 480.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003647/0.121, allocations: 151.8 kB / 480.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1211, allocations: 0 / 480.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.1212, allocations: 76.02 kB / 481 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005306/0.1218, allocations: 69.75 kB / 481.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.1228, allocations: 0.7274 MB / 481.8 MB, free: 9.367 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.1232, allocations: 0.7869 MB / 482.6 MB, free: 8.555 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001602/0.1233, allocations: 57.89 kB / 482.7 MB, free: 8.496 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.314e-05/0.1234, allocations: 19.44 kB / 482.7 MB, free: 8.477 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1234, allocations: 0 / 482.7 MB, free: 8.477 MB / 366.1 MB Notification: Performance of Templates: time 0.006616/0.13, allocations: 3.319 MB / 486 MB, free: 5.16 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 -s cvode -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.pipe 2>&1)