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.00106/0.00106, allocations: 109.5 kB / 17.02 MB, free: 6.09 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.001003/0.001003, allocations: 195 kB / 17.96 MB, free: 5.176 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.273/1.273, allocations: 205.1 MB / 223.8 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.2865/0.2865, allocations: 48.84 MB / 320 MB, free: 11.04 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.001474/0.001474, allocations: 70.31 kB / 390.3 MB, free: 48.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09588/0.09737, allocations: 59.16 MB / 449.5 MB, free: 9.562 MB / 334.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.02972/0.1271, allocations: 21.6 MB / 471.1 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.1285, allocations: 0.6709 MB / 471.8 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.1287, allocations: 4 kB / 471.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.1288, allocations: 51.52 kB / 471.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004218/0.1293, allocations: 191.2 kB / 472 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001455/0.1294, allocations: 63.84 kB / 472.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003856/0.1298, allocations: 382.6 kB / 472.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002295/0.13, allocations: 156.1 kB / 472.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001981/0.1303, allocations: 167.4 kB / 472.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002626/0.1305, allocations: 207.2 kB / 473 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.451e-05/0.1306, allocations: 20 kB / 473 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.52e-05/0.1307, allocations: 35.98 kB / 473 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.1308, allocations: 135.6 kB / 473.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.131, allocations: 151.3 kB / 473.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003306/0.1313, allocations: 318.9 kB / 473.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1313, allocations: 0 / 473.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1313, allocations: 0 / 473.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.1313, allocations: 0 / 473.6 MB, free: 1.348 MB / 350.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.0009001/0.1322, allocations: 0.584 MB / 474.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.1323, allocations: 19.89 kB / 474.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.41e-05/0.1324, allocations: 50.73 kB / 474.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.553e-05/0.1324, allocations: 40.5 kB / 474.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.1328, allocations: 303.5 kB / 474.6 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.1328, allocations: 12.38 kB / 474.6 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.139e-05/0.1329, allocations: 28.3 kB / 474.7 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/0.1333, allocations: 256.3 kB / 474.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1333, allocations: 4 kB / 474.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.1334, allocations: 4 kB / 474.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1334, allocations: 4 kB / 474.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003435/0.1337, allocations: 175.8 kB / 475.1 MB, free: 15.77 MB / 366.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.001224/0.135, allocations: 0.9318 MB / 476 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004961/0.1355, allocations: 177.1 kB / 476.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.1356, allocations: 73.69 kB / 476.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.1357, allocations: 4 kB / 476.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.1357, allocations: 34.56 kB / 476.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.472e-06/0.1357, allocations: 0 / 476.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005821/0.1363, allocations: 241.4 kB / 476.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.1364, allocations: 110.8 kB / 476.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.1366, allocations: 266.7 kB / 476.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.1366, allocations: 25.7 kB / 476.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.1367, allocations: 168.2 kB / 477.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.658e-05/0.1368, allocations: 51.2 kB / 477.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.92e-05/0.1369, allocations: 33.72 kB / 477.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.137, allocations: 338.8 kB / 477.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.1371, allocations: 71.88 kB / 477.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.1373, allocations: 100.2 kB / 477.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/0.1376, allocations: 171.3 kB / 477.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1376, allocations: 4 kB / 477.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003866/0.138, allocations: 217.2 kB / 478.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.138, allocations: 8 kB / 478.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.138, allocations: 96 / 478.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1381, allocations: 12 kB / 478.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.1383, allocations: 47.95 kB / 478.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1383, allocations: 4.312 kB / 478.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.1385, allocations: 19.84 kB / 478.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.1385, allocations: 4 kB / 478.2 MB, free: 12.48 MB / 366.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.0001354/0.1386, allocations: 149.8 kB / 478.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-05/0.1387, allocations: 27.72 kB / 478.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.492e-05/0.1388, allocations: 37.64 kB / 478.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1388, allocations: 4 kB / 478.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1388, allocations: 0 / 478.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.1388, allocations: 3.938 kB / 478.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003635/0.1392, allocations: 313.3 kB / 478.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1392, allocations: 320 / 478.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.1395, allocations: 51.97 kB / 478.7 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1395, allocations: 11.98 kB / 478.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.1395, allocations: 4 kB / 478.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.1395, allocations: 7.922 kB / 478.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1395, allocations: 3.984 kB / 478.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005618/0.1401, allocations: 430.4 kB / 479.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.1402, allocations: 120.8 kB / 479.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.1403, allocations: 0 / 479.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.1404, allocations: 15.98 kB / 479.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.1405, allocations: 11.92 kB / 479.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.1405, allocations: 8 kB / 479.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001898/0.1407, allocations: 190 kB / 479.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1407, allocations: 0 / 479.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003544/0.1411, allocations: 71.84 kB / 479.6 MB, free: 10.96 MB / 366.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.0008409/0.1419, allocations: 0.9614 MB / 480.5 MB, free: 9.969 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003669/0.1423, allocations: 163.8 kB / 480.7 MB, free: 9.809 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1423, allocations: 0 / 480.7 MB, free: 9.809 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.1425, allocations: 71.91 kB / 480.8 MB, free: 9.738 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005376/0.143, allocations: 85.52 kB / 480.9 MB, free: 9.652 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/0.1464, allocations: 2.956 MB / 483.8 MB, free: 6.598 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.1468, allocations: 0.7792 MB / 484.6 MB, free: 5.789 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001667/0.147, allocations: 53.91 kB / 484.6 MB, free: 5.738 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.1471, allocations: 83.41 kB / 484.7 MB, free: 5.656 MB / 366.1 MB Notification: Performance of SimCode: time 1.643e-06/0.1471, allocations: 0 / 484.7 MB, free: 5.656 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02441/0.1715, allocations: 6.166 MB / 490.9 MB, free: 15.44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.871/8.042, allocations: 8 kB / 490.9 MB, free: 15.43 MB / 382.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)