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.001407/0.001407, allocations: 103 kB / 17.74 MB, free: 5.324 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.001614/0.001614, allocations: 192.3 kB / 18.67 MB, free: 4.395 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.377/1.377, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2781/0.2781, allocations: 48.84 MB / 320.7 MB, free: 11.02 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.001676/0.001676, allocations: 63.91 kB / 451.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1112, allocations: 59.17 MB / 0.4984 GB, free: 13.24 MB / 398.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.03317/0.1444, allocations: 21.78 MB / 0.5197 GB, free: 7.363 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.1461, allocations: 0.6786 MB / 0.5203 GB, free: 6.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002463/0.1463, allocations: 4 kB / 0.5204 GB, free: 6.676 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.1466, allocations: 51.52 kB / 0.5204 GB, free: 6.625 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000619/0.1472, allocations: 183.2 kB / 0.5206 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.1475, allocations: 67.84 kB / 0.5206 GB, free: 6.379 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006062/0.1481, allocations: 386.6 kB / 0.521 GB, free: 6 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002722/0.1484, allocations: 144.1 kB / 0.5211 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002959/0.1487, allocations: 175.3 kB / 0.5213 GB, free: 5.688 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003487/0.149, allocations: 207.2 kB / 0.5215 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.109e-05/0.1491, allocations: 20 kB / 0.5215 GB, free: 5.465 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.1493, allocations: 35.98 kB / 0.5216 GB, free: 5.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.1495, allocations: 131.6 kB / 0.5217 GB, free: 5.301 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002116/0.1497, allocations: 155.2 kB / 0.5218 GB, free: 5.148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004188/0.1501, allocations: 311 kB / 0.5221 GB, free: 4.844 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1501, allocations: 0 / 0.5221 GB, free: 4.844 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1501, allocations: 0 / 0.5221 GB, free: 4.844 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.1501, allocations: 0 / 0.5221 GB, free: 4.844 MB / 414.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.001059/0.1512, allocations: 0.5918 MB / 0.5227 GB, free: 4.203 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.1513, allocations: 15.89 kB / 0.5227 GB, free: 4.188 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.826e-05/0.1514, allocations: 32.56 kB / 0.5228 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003949/0.1518, allocations: 307.4 kB / 0.5231 GB, free: 3.816 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.1518, allocations: 16.38 kB / 0.5231 GB, free: 3.801 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.776e-05/0.1518, allocations: 24.38 kB / 0.5231 GB, free: 3.777 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004901/0.1523, allocations: 256.4 kB / 0.5233 GB, free: 3.512 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.1524, allocations: 0 / 0.5233 GB, free: 3.512 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.1524, allocations: 4 kB / 0.5233 GB, free: 3.508 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.1524, allocations: 8 kB / 0.5233 GB, free: 3.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003847/0.1528, allocations: 179.8 kB / 0.5235 GB, free: 3.324 MB / 414.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.0014/0.1542, allocations: 0.9202 MB / 0.5244 GB, free: 2.312 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005571/0.1548, allocations: 181.1 kB / 0.5246 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.1549, allocations: 81.67 kB / 0.5247 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.155, allocations: 0 / 0.5247 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.155, allocations: 38.5 kB / 0.5247 GB, free: 1.984 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.155, allocations: 0 / 0.5247 GB, free: 1.984 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006356/0.1557, allocations: 245.6 kB / 0.5249 GB, free: 1.738 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.1557, allocations: 102.8 kB / 0.525 GB, free: 1.613 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.156, allocations: 266.7 kB / 0.5253 GB, free: 1.348 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.156, allocations: 33.7 kB / 0.5253 GB, free: 1.309 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.1562, allocations: 160.3 kB / 0.5255 GB, free: 1.148 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.516e-05/0.1562, allocations: 51.2 kB / 0.5255 GB, free: 1.098 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.037e-05/0.1563, allocations: 37.7 kB / 0.5256 GB, free: 1.055 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1565, allocations: 338.8 kB / 0.5259 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.1566, allocations: 67.95 kB / 0.526 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.1568, allocations: 112.1 kB / 0.5261 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.1571, allocations: 171.3 kB / 0.5262 GB, free: 352 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1571, allocations: 256 / 0.5262 GB, free: 352 kB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004181/0.1576, allocations: 225.3 kB / 0.5264 GB, free: 120 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1576, allocations: 4 kB / 0.5264 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1576, allocations: 3.938 kB / 0.5264 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.1576, allocations: 4 kB / 0.5264 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.1579, allocations: 43.97 kB / 0.5265 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.1579, allocations: 4 kB / 0.5265 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.158, allocations: 31.83 kB / 0.5265 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.1581, allocations: 7.938 kB / 0.5265 GB, free: 20 kB / 414.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.2186/0.3767, allocations: 147 kB / 0.5267 GB, free: 28.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.3768, allocations: 24.83 kB / 0.5267 GB, free: 28.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.831e-05/0.3769, allocations: 31.5 kB / 0.5267 GB, free: 28.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3769, allocations: 1.344 kB / 0.5267 GB, free: 28.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.377, allocations: 2.984 kB / 0.5267 GB, free: 28.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.377, allocations: 5.625 kB / 0.5267 GB, free: 28.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004306/0.3774, allocations: 303 kB / 0.527 GB, free: 28.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3774, allocations: 4.266 kB / 0.527 GB, free: 28.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/0.3777, allocations: 54.56 kB / 0.5271 GB, free: 28.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.3778, allocations: 1.281 kB / 0.5271 GB, free: 28.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.3778, allocations: 5.094 kB / 0.5271 GB, free: 28.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.3778, allocations: 1.438 kB / 0.5271 GB, free: 28.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3778, allocations: 4.547 kB / 0.5271 GB, free: 28.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000605/0.3784, allocations: 439.3 kB / 0.5275 GB, free: 28.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.319e-05/0.3785, allocations: 120 kB / 0.5276 GB, free: 28.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.3786, allocations: 4.328 kB / 0.5276 GB, free: 28.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.3787, allocations: 11.41 kB / 0.5276 GB, free: 28.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.448e-05/0.3788, allocations: 19.03 kB / 0.5277 GB, free: 28.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.3788, allocations: 4.359 kB / 0.5277 GB, free: 28.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.379, allocations: 193.3 kB / 0.5278 GB, free: 28.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.379, allocations: 0 / 0.5278 GB, free: 28.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003606/0.3793, allocations: 64.31 kB / 0.5279 GB, free: 28.32 MB / 414.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.0001591/0.3795, allocations: 103.4 kB / 0.528 GB, free: 28.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003608/0.3799, allocations: 157.1 kB / 0.5282 GB, free: 28.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3799, allocations: 0 / 0.5282 GB, free: 28.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.38, allocations: 71.78 kB / 0.5282 GB, free: 28.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005506/0.3806, allocations: 75.31 kB / 0.5283 GB, free: 28.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.3817, allocations: 0.7664 MB / 0.529 GB, free: 27.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.3819, allocations: 0.7806 MB / 0.5298 GB, free: 27.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.723e-05/0.382, allocations: 25.28 kB / 0.5298 GB, free: 27.22 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.382, allocations: 0 / 0.5298 GB, free: 27.22 MB / 414.1 MB Notification: Performance of Templates: time 0.007209/0.3892, allocations: 3.538 MB / 0.5333 GB, free: 27.17 MB / 414.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)