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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001754/0.001754, allocations: 180.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.623/1.623, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000896/0.000896, allocations: 92.14 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4696/0.4696, allocations: 48.78 MB / 367.9 MB, free: 47.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003502, allocations: 8 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1479, allocations: 60.25 MB / 499 MB, free: 14.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4142/0.5622, allocations: 85.86 MB / 0.5711 GB, free: 12.72 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.5625, allocations: 72.8 kB / 0.5712 GB, free: 12.65 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Thermal.mo:605:5-605:61:writable] Warning: No corresponding 'inner' declaration found for component .ThermoPower.System wall1.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: ThermoPower.Thermal.MetalWallFV$wall1. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Thermal.mo:605:5-605:61:writable] Warning: No corresponding 'inner' declaration found for component .ThermoPower.System wall2.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: ThermoPower.Thermal.MetalWallFV$wall2. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.01136/0.5739, allocations: 4.554 MB / 0.5757 GB, free: 8.168 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5739, allocations: 0 / 0.5757 GB, free: 8.168 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.01e-05/0.5739, allocations: 11.94 kB / 0.5757 GB, free: 8.156 MB / 394.7 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.0007579/0.5747, allocations: 0.5791 MB / 0.5762 GB, free: 7.531 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.5748, allocations: 10.56 kB / 0.5762 GB, free: 7.523 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.458e-05/0.5748, allocations: 54.55 kB / 0.5763 GB, free: 7.461 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.084e-05/0.5749, allocations: 31.62 kB / 0.5763 GB, free: 7.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000606/0.5755, allocations: 362.2 kB / 0.5767 GB, free: 7.035 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.5755, allocations: 16 kB / 0.5767 GB, free: 7.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-05/0.5756, allocations: 25.11 kB / 0.5767 GB, free: 6.996 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003998/0.576, allocations: 289.7 kB / 0.577 GB, free: 6.684 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.576, allocations: 0 / 0.577 GB, free: 6.684 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.576, allocations: 7.953 kB / 0.577 GB, free: 6.676 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.576, allocations: 4 kB / 0.577 GB, free: 6.672 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003241/0.5764, allocations: 192.9 kB / 0.5772 GB, free: 6.484 MB / 394.7 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.001129/0.5775, allocations: 1.007 MB / 0.5782 GB, free: 5.375 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004351/0.578, allocations: 181.1 kB / 0.5783 GB, free: 5.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.578, allocations: 4 kB / 0.5783 GB, free: 5.176 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.578, allocations: 34.56 kB / 0.5784 GB, free: 5.133 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.578, allocations: 0 / 0.5784 GB, free: 5.133 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.000532/0.5786, allocations: 254.9 kB / 0.5786 GB, free: 4.879 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.5786, allocations: 106.8 kB / 0.5787 GB, free: 4.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.5788, allocations: 238.2 kB / 0.5789 GB, free: 4.516 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.5788, allocations: 29.7 kB / 0.579 GB, free: 4.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.722e-05/0.5789, allocations: 172.2 kB / 0.5791 GB, free: 4.309 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.579, allocations: 51.44 kB / 0.5792 GB, free: 4.258 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-06/0.579, allocations: 8 kB / 0.5792 GB, free: 4.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.721e-05/0.5791, allocations: 334.8 kB / 0.5795 GB, free: 3.914 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.5792, allocations: 67.95 kB / 0.5796 GB, free: 3.848 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.5793, allocations: 112.2 kB / 0.5797 GB, free: 3.723 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.5795, allocations: 87.73 kB / 0.5798 GB, free: 3.641 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5795, allocations: 4.031 kB / 0.5798 GB, free: 3.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003273/0.5799, allocations: 233.1 kB / 0.58 GB, free: 3.402 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.5799, allocations: 6.812 kB / 0.58 GB, free: 3.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.5799, allocations: 7.938 kB / 0.58 GB, free: 3.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.5799, allocations: 4.062 kB / 0.58 GB, free: 3.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.5801, allocations: 47.97 kB / 0.5801 GB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.5801, allocations: 3.938 kB / 0.5801 GB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.5803, allocations: 24.39 kB / 0.5801 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.5803, allocations: 8 kB / 0.5801 GB, free: 3.305 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.5804, allocations: 159.3 kB / 0.5802 GB, free: 3.141 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.5805, allocations: 27.67 kB / 0.5803 GB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.503e-05/0.5806, allocations: 33.78 kB / 0.5803 GB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.5806, allocations: 0 / 0.5803 GB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.5806, allocations: 6.938 kB / 0.5803 GB, free: 3.074 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5806, allocations: 0 / 0.5803 GB, free: 3.074 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003113/0.5809, allocations: 305.5 kB / 0.5806 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.5809, allocations: 3.938 kB / 0.5806 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.5812, allocations: 55.91 kB / 0.5807 GB, free: 2.668 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.5812, allocations: 3.953 kB / 0.5807 GB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.5812, allocations: 8 kB / 0.5807 GB, free: 2.656 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5812, allocations: 0 / 0.5807 GB, free: 2.656 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.5812, allocations: 0 / 0.5807 GB, free: 2.656 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004869/0.5817, allocations: 464.5 kB / 0.5811 GB, free: 2.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/0.5818, allocations: 104.8 kB / 0.5812 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.5819, allocations: 15.94 kB / 0.5812 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.582, allocations: 15.92 kB / 0.5812 GB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.5821, allocations: 15.98 kB / 0.5813 GB, free: 2.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.5821, allocations: 0 / 0.5813 GB, free: 2.012 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001422/0.5823, allocations: 201.9 kB / 0.5815 GB, free: 1.812 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5823, allocations: 0 / 0.5815 GB, free: 1.812 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003346/0.5826, allocations: 67.84 kB / 0.5815 GB, free: 1.746 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007285/0.5833, allocations: 1.07 MB / 0.5826 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003432/0.5837, allocations: 159.8 kB / 0.5827 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5837, allocations: 0 / 0.5827 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.5839, allocations: 79.89 kB / 0.5828 GB, free: 424 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.5843, allocations: 83.55 kB / 0.5829 GB, free: 340 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/0.5872, allocations: 2.333 MB / 0.5852 GB, free: 13.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.5876, allocations: 0.7872 MB / 0.5859 GB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001939/0.5878, allocations: 57.56 kB / 0.586 GB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.588, allocations: 83.41 kB / 0.5861 GB, free: 13.01 MB / 410.7 MB Notification: Performance of SimCode: time 3.4e-07/0.588, allocations: 0 / 0.5861 GB, free: 13.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01769/0.6057, allocations: 5.863 MB / 0.5918 GB, free: 7.238 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/0.6059, allocations: 193.3 kB / 0.592 GB, free: 6.988 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.058/2.664, allocations: 0 / 0.592 GB, free: 6.988 MB / 410.7 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/linux/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)