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.001051/0.001051, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008839/0.0008841, allocations: 85.22 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5631/0.5631, allocations: 48.77 MB / 358.8 MB, free: 53.15 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.58e-05/3.575e-05, allocations: 7.938 kB / 425.4 MB, free: 8.133 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1391, allocations: 60.27 MB / 485.7 MB, free: 11.72 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.448/0.5872, allocations: 85.1 MB / 0.5574 GB, free: 15.84 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/0.5875, allocations: 79.89 kB / 0.5575 GB, free: 15.77 MB / 395.1 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.01281/0.6003, allocations: 4.509 MB / 0.5619 GB, free: 11.31 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.6004, allocations: 0 / 0.5619 GB, free: 11.31 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.152e-05/0.6004, allocations: 16 kB / 0.5619 GB, free: 11.3 MB / 395.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.0007816/0.6012, allocations: 0.5284 MB / 0.5624 GB, free: 10.73 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.6013, allocations: 8.031 kB / 0.5624 GB, free: 10.72 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.828e-05/0.6013, allocations: 39.62 kB / 0.5624 GB, free: 10.68 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006482/0.602, allocations: 358.3 kB / 0.5628 GB, free: 10.3 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.602, allocations: 4 kB / 0.5628 GB, free: 10.29 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.722e-05/0.6021, allocations: 18.81 kB / 0.5628 GB, free: 10.28 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002622/0.6023, allocations: 128 kB / 0.5629 GB, free: 10.15 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003823/0.6027, allocations: 252.2 kB / 0.5632 GB, free: 9.879 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.6028, allocations: 0 / 0.5632 GB, free: 9.879 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.6028, allocations: 3.953 kB / 0.5632 GB, free: 9.875 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.6028, allocations: 4 kB / 0.5632 GB, free: 9.871 MB / 395.1 MB Warning: The model contains alias variables with conflicting start and/or 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.001294/0.6041, allocations: 0.9406 MB / 0.5641 GB, free: 8.84 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004032/0.6045, allocations: 169.1 kB / 0.5642 GB, free: 8.656 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.079e-05/0.6046, allocations: 53.7 kB / 0.5643 GB, free: 8.598 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.6047, allocations: 0 / 0.5643 GB, free: 8.598 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.6047, allocations: 38.5 kB / 0.5643 GB, free: 8.551 MB / 395.1 MB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.6047, allocations: 0 / 0.5643 GB, free: 8.551 MB / 395.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003716/0.6051, allocations: 144 kB / 0.5645 GB, free: 8.406 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.6052, allocations: 106.8 kB / 0.5646 GB, free: 8.277 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.6054, allocations: 210.4 kB / 0.5648 GB, free: 8.066 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.6054, allocations: 25.7 kB / 0.5648 GB, free: 8.035 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.6056, allocations: 172.8 kB / 0.565 GB, free: 7.863 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.907e-05/0.6056, allocations: 43.36 kB / 0.565 GB, free: 7.82 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-06/0.6057, allocations: 0 / 0.565 GB, free: 7.82 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.6058, allocations: 334.8 kB / 0.5653 GB, free: 7.484 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.275e-05/0.6059, allocations: 47.98 kB / 0.5654 GB, free: 7.438 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.6061, allocations: 88.17 kB / 0.5655 GB, free: 7.336 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.6062, allocations: 66.61 kB / 0.5655 GB, free: 7.273 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.6062, allocations: 4 kB / 0.5655 GB, free: 7.27 MB / 395.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002852/0.6065, allocations: 177.2 kB / 0.5657 GB, free: 7.09 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.6065, allocations: 4 kB / 0.5657 GB, free: 7.086 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.6065, allocations: 0 / 0.5657 GB, free: 7.086 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.6066, allocations: 8.094 kB / 0.5657 GB, free: 7.078 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.6068, allocations: 51.91 kB / 0.5658 GB, free: 7.027 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.6068, allocations: 0.8594 kB / 0.5658 GB, free: 7.027 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.607, allocations: 19.92 kB / 0.5658 GB, free: 7.008 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.607, allocations: 4 kB / 0.5658 GB, free: 7.004 MB / 395.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 () * 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.0001237/0.6071, allocations: 110.9 kB / 0.5659 GB, free: 6.891 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002634/0.6074, allocations: 150.3 kB / 0.566 GB, free: 6.738 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.589e-05/0.6075, allocations: 23.72 kB / 0.566 GB, free: 6.715 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.924e-05/0.6076, allocations: 29.83 kB / 0.5661 GB, free: 6.691 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.299e-06/0.6076, allocations: 4 kB / 0.5661 GB, free: 6.688 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.6076, allocations: 0 / 0.5661 GB, free: 6.688 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.6076, allocations: 1.875 kB / 0.5661 GB, free: 6.688 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.608, allocations: 269.9 kB / 0.5663 GB, free: 6.387 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.608, allocations: 4.656 kB / 0.5663 GB, free: 6.383 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.6083, allocations: 55.91 kB / 0.5664 GB, free: 6.328 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.6083, allocations: 3.953 kB / 0.5664 GB, free: 6.324 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.6083, allocations: 0 / 0.5664 GB, free: 6.324 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.6083, allocations: 7.984 kB / 0.5664 GB, free: 6.316 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.6083, allocations: 0 / 0.5664 GB, free: 6.316 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.6088, allocations: 392.6 kB / 0.5668 GB, free: 5.914 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.795e-05/0.6089, allocations: 109.8 kB / 0.5669 GB, free: 5.789 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.004e-05/0.6089, allocations: 0 / 0.5669 GB, free: 5.789 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.6091, allocations: 15.98 kB / 0.5669 GB, free: 5.773 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/0.6092, allocations: 7.984 kB / 0.5669 GB, free: 5.766 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.6092, allocations: 10.19 kB / 0.5669 GB, free: 5.758 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001656/0.6094, allocations: 174 kB / 0.5671 GB, free: 5.586 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6094, allocations: 0 / 0.5671 GB, free: 5.586 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003682/0.6098, allocations: 63.84 kB / 0.5671 GB, free: 5.523 MB / 395.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 () * 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.0009191/0.6107, allocations: 0.9965 MB / 0.5681 GB, free: 4.492 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.000249/0.611, allocations: 118.7 kB / 0.5682 GB, free: 4.379 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.611, allocations: 0 / 0.5682 GB, free: 4.379 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.402e-05/0.6111, allocations: 51.98 kB / 0.5683 GB, free: 4.328 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.6116, allocations: 64.64 kB / 0.5683 GB, free: 4.266 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.6128, allocations: 0.6604 MB / 0.569 GB, free: 3.586 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.6132, allocations: 0.7945 MB / 0.5698 GB, free: 2.766 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.0001551/0.6133, allocations: 46.05 kB / 0.5698 GB, free: 2.723 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.6135, allocations: 80.16 kB / 0.5699 GB, free: 2.645 MB / 395.1 MB Notification: Performance of SimCode: time 4e-07/0.6135, allocations: 0 / 0.5699 GB, free: 2.645 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02639/0.6399, allocations: 4.907 MB / 0.5747 GB, free: 13.79 MB / 411.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/0.6401, allocations: 145.1 kB / 0.5748 GB, free: 13.6 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.031/2.671, allocations: 1.125 kB / 0.5748 GB, free: 13.6 MB / 411.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/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)