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: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWalls,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWalls",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWalls,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWalls",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.001183/0.001183, allocations: 200 kB / 18.01 MB, free: 5.047 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.419/1.419, allocations: 205.1 MB / 223.9 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.2887/0.2887, allocations: 48.86 MB / 320.1 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.002164/0.002164, allocations: 72.11 kB / 450.1 MB, free: 9.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1274, allocations: 59.15 MB / 0.4973 GB, free: 13.75 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.03744/0.1649, allocations: 22.22 MB / 0.519 GB, free: 7.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.1665, allocations: 0.6748 MB / 0.5196 GB, free: 6.746 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.1666, allocations: 7.938 kB / 0.5196 GB, free: 6.738 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001894/0.1668, allocations: 51.58 kB / 0.5197 GB, free: 6.688 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005122/0.1673, allocations: 187.1 kB / 0.5199 GB, free: 6.504 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.1675, allocations: 59.92 kB / 0.5199 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004962/0.168, allocations: 386.5 kB / 0.5203 GB, free: 6.066 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000277/0.1683, allocations: 160 kB / 0.5204 GB, free: 5.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.1685, allocations: 167.4 kB / 0.5206 GB, free: 5.746 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003061/0.1688, allocations: 207.2 kB / 0.5208 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.917e-05/0.1689, allocations: 20 kB / 0.5208 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.169, allocations: 35.98 kB / 0.5209 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.1692, allocations: 135.6 kB / 0.521 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.1694, allocations: 151.3 kB / 0.5211 GB, free: 5.207 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004248/0.1698, allocations: 310.7 kB / 0.5214 GB, free: 4.902 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1698, allocations: 0 / 0.5214 GB, free: 4.902 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.779e-06/0.1698, allocations: 0 / 0.5214 GB, free: 4.902 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.1699, allocations: 7.938 kB / 0.5214 GB, free: 4.895 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.0009914/0.1709, allocations: 0.5955 MB / 0.522 GB, free: 4.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.1709, allocations: 11.89 kB / 0.522 GB, free: 4.238 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.188e-05/0.171, allocations: 54.73 kB / 0.5221 GB, free: 4.176 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.429e-05/0.171, allocations: 36.7 kB / 0.5221 GB, free: 4.141 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004041/0.1715, allocations: 311.7 kB / 0.5224 GB, free: 3.797 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.1715, allocations: 16.38 kB / 0.5224 GB, free: 3.781 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.563e-05/0.1715, allocations: 20.36 kB / 0.5224 GB, free: 3.762 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004714/0.172, allocations: 256.1 kB / 0.5227 GB, free: 3.496 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.172, allocations: 0 / 0.5227 GB, free: 3.496 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.1721, allocations: 12 kB / 0.5227 GB, free: 3.484 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.1721, allocations: 4 kB / 0.5227 GB, free: 3.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003957/0.1725, allocations: 171.9 kB / 0.5229 GB, free: 3.312 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.001366/0.1739, allocations: 0.9282 MB / 0.5238 GB, free: 2.293 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005342/0.1744, allocations: 185.1 kB / 0.524 GB, free: 2.094 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.1746, allocations: 81.67 kB / 0.524 GB, free: 2.008 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.1746, allocations: 4 kB / 0.524 GB, free: 2.004 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.1747, allocations: 38.5 kB / 0.5241 GB, free: 1.957 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.1747, allocations: 0 / 0.5241 GB, free: 1.957 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006501/0.1753, allocations: 233.4 kB / 0.5243 GB, free: 1.723 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.1755, allocations: 118.7 kB / 0.5244 GB, free: 1.582 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000306/0.1758, allocations: 266.7 kB / 0.5247 GB, free: 1.316 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.1758, allocations: 29.7 kB / 0.5247 GB, free: 1.281 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.176, allocations: 168.4 kB / 0.5249 GB, free: 1.113 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.604e-05/0.176, allocations: 51.53 kB / 0.5249 GB, free: 1.062 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.058e-05/0.1761, allocations: 29.72 kB / 0.5249 GB, free: 1.027 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.1763, allocations: 338.8 kB / 0.5253 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.1765, allocations: 67.94 kB / 0.5253 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.1767, allocations: 104.2 kB / 0.5254 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.177, allocations: 171.3 kB / 0.5256 GB, free: 332 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.177, allocations: 4.031 kB / 0.5256 GB, free: 328 kB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004394/0.1775, allocations: 217.3 kB / 0.5258 GB, free: 104 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.1775, allocations: 8 kB / 0.5258 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.1775, allocations: 0 / 0.5258 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.1776, allocations: 0 / 0.5258 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.1778, allocations: 67.89 kB / 0.5259 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.1779, allocations: 0 / 0.5259 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.178, allocations: 15.89 kB / 0.5259 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.178, allocations: 4 kB / 0.5259 GB, free: 8 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.2048/0.3828, allocations: 153.1 kB / 0.526 GB, free: 28.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.711e-05/0.3829, allocations: 27.97 kB / 0.5261 GB, free: 28.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.106e-05/0.383, allocations: 32.48 kB / 0.5261 GB, free: 28.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.383, allocations: 2.797 kB / 0.5261 GB, free: 28.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.383, allocations: 1.219 kB / 0.5261 GB, free: 28.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3831, allocations: 4.734 kB / 0.5261 GB, free: 28.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004162/0.3835, allocations: 307 kB / 0.5264 GB, free: 28.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3835, allocations: 2.562 kB / 0.5264 GB, free: 28.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002941/0.3838, allocations: 54.03 kB / 0.5264 GB, free: 28.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.3838, allocations: 1.094 kB / 0.5264 GB, free: 28.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.3838, allocations: 5.438 kB / 0.5264 GB, free: 28.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3838, allocations: 0.6562 kB / 0.5264 GB, free: 28.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3838, allocations: 5.906 kB / 0.5265 GB, free: 28.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005655/0.3844, allocations: 436.7 kB / 0.5269 GB, free: 28.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.3845, allocations: 120.7 kB / 0.527 GB, free: 28.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.3846, allocations: 8.688 kB / 0.527 GB, free: 28.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.3848, allocations: 16.42 kB / 0.527 GB, free: 28.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/0.3848, allocations: 9.25 kB / 0.527 GB, free: 28.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.3849, allocations: 8.812 kB / 0.527 GB, free: 28.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001406/0.385, allocations: 193.8 kB / 0.5272 GB, free: 28.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.385, allocations: 3 kB / 0.5272 GB, free: 28.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003486/0.3854, allocations: 65.09 kB / 0.5273 GB, free: 28.3 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.0006979/0.3861, allocations: 0.9701 MB / 0.5282 GB, free: 27.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003729/0.3864, allocations: 167.7 kB / 0.5284 GB, free: 27.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3865, allocations: 0 / 0.5284 GB, free: 27.56 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.3866, allocations: 69.97 kB / 0.5285 GB, free: 27.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.3872, allocations: 73.88 kB / 0.5285 GB, free: 27.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00316/0.3903, allocations: 2.965 MB / 0.5314 GB, free: 26.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.3906, allocations: 0.7876 MB / 0.5322 GB, free: 25.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001647/0.3908, allocations: 59.31 kB / 0.5322 GB, free: 25.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.3909, allocations: 79.64 kB / 0.5323 GB, free: 25.38 MB / 414.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3909, allocations: 0 / 0.5323 GB, free: 25.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03337/0.4243, allocations: 6.224 MB / 0.5384 GB, free: 24.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.495/8.919, allocations: 11.62 kB / 0.5384 GB, free: 24.98 MB / 414.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWalls_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWalls.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.pipe 2>&1)