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.001156/0.001156, allocations: 111.8 kB / 17.74 MB, free: 5.316 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.001136/0.001136, allocations: 189.6 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.314/1.314, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2846/0.2846, allocations: 48.84 MB / 320.7 MB, free: 11 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.001593/0.001593, allocations: 71.89 kB / 451.2 MB, free: 8.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1137, allocations: 59.16 MB / 0.4984 GB, free: 13.23 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.03329/0.147, allocations: 21.79 MB / 0.5197 GB, free: 7.355 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.1487, allocations: 0.6748 MB / 0.5203 GB, free: 6.672 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.1489, allocations: 7.938 kB / 0.5204 GB, free: 6.664 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002315/0.1491, allocations: 51.58 kB / 0.5204 GB, free: 6.613 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006062/0.1498, allocations: 191.1 kB / 0.5206 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.15, allocations: 59.92 kB / 0.5206 GB, free: 6.367 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005407/0.1505, allocations: 386.6 kB / 0.521 GB, free: 5.988 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002984/0.1509, allocations: 156.1 kB / 0.5212 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003159/0.1512, allocations: 167.4 kB / 0.5213 GB, free: 5.672 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003748/0.1516, allocations: 211.2 kB / 0.5215 GB, free: 5.465 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.577e-05/0.1516, allocations: 20 kB / 0.5215 GB, free: 5.445 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.1518, allocations: 31.98 kB / 0.5216 GB, free: 5.414 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.152, allocations: 135.6 kB / 0.5217 GB, free: 5.281 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.1521, allocations: 151.3 kB / 0.5218 GB, free: 5.133 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004083/0.1526, allocations: 307 kB / 0.5221 GB, free: 4.832 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1526, allocations: 0 / 0.5221 GB, free: 4.832 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1526, allocations: 0 / 0.5221 GB, free: 4.832 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.1526, allocations: 0 / 0.5221 GB, free: 4.832 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.001049/0.1536, allocations: 0.6034 MB / 0.5227 GB, free: 4.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.1537, allocations: 11.89 kB / 0.5227 GB, free: 4.168 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.537e-05/0.1538, allocations: 32.56 kB / 0.5228 GB, free: 4.137 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004096/0.1542, allocations: 307.4 kB / 0.5231 GB, free: 3.797 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.1542, allocations: 12.38 kB / 0.5231 GB, free: 3.785 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.472e-05/0.1543, allocations: 24.38 kB / 0.5231 GB, free: 3.762 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004606/0.1548, allocations: 256.4 kB / 0.5233 GB, free: 3.496 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1548, allocations: 0 / 0.5233 GB, free: 3.496 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.1548, allocations: 8 kB / 0.5233 GB, free: 3.488 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.1548, allocations: 7.938 kB / 0.5234 GB, free: 3.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003726/0.1552, allocations: 175.9 kB / 0.5235 GB, free: 3.309 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.001446/0.1567, allocations: 0.9202 MB / 0.5244 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005208/0.1572, allocations: 185.1 kB / 0.5246 GB, free: 2.098 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.1574, allocations: 73.67 kB / 0.5247 GB, free: 2.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.1574, allocations: 0 / 0.5247 GB, free: 2.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.1574, allocations: 42.56 kB / 0.5247 GB, free: 1.969 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.1574, allocations: 0 / 0.5247 GB, free: 1.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006105/0.1581, allocations: 237.4 kB / 0.5249 GB, free: 1.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.1581, allocations: 110.8 kB / 0.525 GB, free: 1.598 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.1584, allocations: 270.6 kB / 0.5253 GB, free: 1.328 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.1585, allocations: 29.7 kB / 0.5253 GB, free: 1.293 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.1586, allocations: 160.3 kB / 0.5255 GB, free: 1.133 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.094e-05/0.1586, allocations: 51.2 kB / 0.5255 GB, free: 1.082 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.684e-05/0.1587, allocations: 33.7 kB / 0.5256 GB, free: 1.043 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1589, allocations: 346.8 kB / 0.5259 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.159, allocations: 63.95 kB / 0.526 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.1592, allocations: 112.1 kB / 0.5261 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.1595, allocations: 163.3 kB / 0.5262 GB, free: 344 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1595, allocations: 0 / 0.5262 GB, free: 344 kB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004263/0.16, allocations: 233.5 kB / 0.5264 GB, free: 104 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.16, allocations: 8 kB / 0.5264 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.16, allocations: 0 / 0.5264 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.16, allocations: 0 / 0.5264 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.1603, allocations: 47.97 kB / 0.5265 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.1603, allocations: 320 / 0.5265 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.1604, allocations: 31.77 kB / 0.5265 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.1605, allocations: 11.94 kB / 0.5265 GB, free: 4 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.2121/0.3726, allocations: 144.5 kB / 0.5267 GB, free: 28.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.3727, allocations: 26 kB / 0.5267 GB, free: 28.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.501e-05/0.3728, allocations: 28.64 kB / 0.5267 GB, free: 28.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.3728, allocations: 3 kB / 0.5267 GB, free: 28.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.3728, allocations: 1.125 kB / 0.5267 GB, free: 28.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.3728, allocations: 4.547 kB / 0.5267 GB, free: 28.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004384/0.3733, allocations: 307 kB / 0.527 GB, free: 28.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.3733, allocations: 3.234 kB / 0.527 GB, free: 28.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003197/0.3736, allocations: 51.56 kB / 0.5271 GB, free: 28.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.3736, allocations: 2.078 kB / 0.5271 GB, free: 28.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.3736, allocations: 6.797 kB / 0.5271 GB, free: 28.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.3737, allocations: 4.453 kB / 0.5271 GB, free: 28.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3737, allocations: 0.6875 kB / 0.5271 GB, free: 28.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005801/0.3742, allocations: 440.5 kB / 0.5275 GB, free: 28.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-05/0.3743, allocations: 121 kB / 0.5276 GB, free: 28.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.3744, allocations: 5.719 kB / 0.5276 GB, free: 28.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.3746, allocations: 11.83 kB / 0.5276 GB, free: 28.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.3746, allocations: 18.67 kB / 0.5277 GB, free: 28.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.3746, allocations: 5.938 kB / 0.5277 GB, free: 28.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.3748, allocations: 191.3 kB / 0.5278 GB, free: 28.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3748, allocations: 0 / 0.5278 GB, free: 28.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003527/0.3752, allocations: 62.78 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.000157/0.3753, allocations: 102.1 kB / 0.528 GB, free: 28.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003651/0.3757, allocations: 153 kB / 0.5282 GB, free: 28.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3757, allocations: 5.094 kB / 0.5282 GB, free: 28.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.3759, allocations: 74.05 kB / 0.5282 GB, free: 28.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/0.3764, allocations: 76.61 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.001057/0.3775, allocations: 0.7666 MB / 0.529 GB, free: 27.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.3777, allocations: 0.7871 MB / 0.5298 GB, free: 27.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.364e-05/0.3778, allocations: 21.25 kB / 0.5298 GB, free: 27.23 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.3778, allocations: 3.094 kB / 0.5298 GB, free: 27.23 MB / 414.1 MB Notification: Performance of Templates: time 0.007062/0.3848, allocations: 3.555 MB / 0.5333 GB, free: 27.18 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)