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.001096/0.001096, allocations: 106.8 kB / 16.92 MB, free: 5.773 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.001058/0.001058, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.248/1.248, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2471/0.2471, allocations: 48.84 MB / 319.9 MB, free: 11.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.001389/0.001389, allocations: 65.66 kB / 390.2 MB, free: 48.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07475/0.07615, allocations: 59.16 MB / 449.3 MB, free: 9.695 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.02707/0.1033, allocations: 21.8 MB / 471.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.1045, allocations: 0.6632 MB / 471.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.1046, allocations: 7.938 kB / 471.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.1048, allocations: 59.52 kB / 471.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003934/0.1052, allocations: 191.1 kB / 472.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001325/0.1053, allocations: 59.92 kB / 472.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003561/0.1057, allocations: 390.5 kB / 472.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002269/0.1059, allocations: 160.1 kB / 472.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.1061, allocations: 155.5 kB / 472.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.1063, allocations: 203.2 kB / 473 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.819e-05/0.1064, allocations: 20 kB / 473 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.1065, allocations: 43.97 kB / 473.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.1066, allocations: 131.6 kB / 473.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.1068, allocations: 151.3 kB / 473.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.1071, allocations: 307 kB / 473.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1071, allocations: 4 kB / 473.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.1071, allocations: 0 / 473.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.1071, allocations: 0 / 473.6 MB, free: 1.285 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.0007976/0.1079, allocations: 0.5917 MB / 474.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.1079, allocations: 19.83 kB / 474.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.887e-05/0.108, allocations: 54.73 kB / 474.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.1081, allocations: 40.55 kB / 474.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.1084, allocations: 295.6 kB / 474.6 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.1084, allocations: 16.38 kB / 474.6 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.1084, allocations: 20.38 kB / 474.7 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000406/0.1089, allocations: 256.1 kB / 474.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1089, allocations: 4 kB / 474.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.1089, allocations: 15.98 kB / 474.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1089, allocations: 4 kB / 474.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003433/0.1093, allocations: 163.9 kB / 475.1 MB, free: 15.71 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.00116/0.1104, allocations: 0.9319 MB / 476 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004617/0.1109, allocations: 185.1 kB / 476.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.1111, allocations: 69.69 kB / 476.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.1111, allocations: 0 / 476.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.1111, allocations: 46.48 kB / 476.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.1111, allocations: 0 / 476.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005511/0.1117, allocations: 241.4 kB / 476.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.1117, allocations: 110.8 kB / 476.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.112, allocations: 266.6 kB / 476.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.112, allocations: 33.7 kB / 477 MB, free: 13.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.018e-05/0.1121, allocations: 164.3 kB / 477.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.2e-05/0.1122, allocations: 55.14 kB / 477.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.562e-05/0.1122, allocations: 33.7 kB / 477.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1124, allocations: 334.8 kB / 477.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.1125, allocations: 67.94 kB / 477.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.1127, allocations: 104.2 kB / 477.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002879/0.113, allocations: 171.3 kB / 477.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.113, allocations: 0 / 477.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00038/0.1134, allocations: 221.2 kB / 478.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.1134, allocations: 8 kB / 478.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1134, allocations: 3.984 kB / 478.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.1134, allocations: 0 / 478.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.1136, allocations: 55.91 kB / 478.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.1137, allocations: 0 / 478.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.1138, allocations: 27.83 kB / 478.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1138, allocations: 4 kB / 478.2 MB, free: 12.4 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.0001233/0.1139, allocations: 149.8 kB / 478.3 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-05/0.114, allocations: 23.72 kB / 478.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.698e-05/0.1141, allocations: 33.7 kB / 478.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1141, allocations: 0 / 478.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1141, allocations: 4.312 kB / 478.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.1141, allocations: 3.938 kB / 478.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003484/0.1145, allocations: 313.4 kB / 478.7 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1145, allocations: 4 kB / 478.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.1147, allocations: 48 kB / 478.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1148, allocations: 7.938 kB / 478.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.1148, allocations: 7.984 kB / 478.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1148, allocations: 4 kB / 478.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1148, allocations: 0 / 478.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005401/0.1153, allocations: 434.4 kB / 479.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.499e-05/0.1154, allocations: 124.7 kB / 479.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.485e-05/0.1155, allocations: 4 kB / 479.3 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.1157, allocations: 15.98 kB / 479.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.1157, allocations: 11.92 kB / 479.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.1157, allocations: 4 kB / 479.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001545/0.1159, allocations: 194 kB / 479.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.282e-06/0.1159, allocations: 0 / 479.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003279/0.1162, allocations: 67.78 kB / 479.6 MB, free: 10.89 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.0008031/0.117, allocations: 0.9731 MB / 480.6 MB, free: 9.883 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003413/0.1174, allocations: 159.8 kB / 480.7 MB, free: 9.727 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1174, allocations: 0 / 480.7 MB, free: 9.727 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.1176, allocations: 80.02 kB / 480.8 MB, free: 9.648 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004986/0.1181, allocations: 73.16 kB / 480.9 MB, free: 9.578 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/0.1212, allocations: 2.978 MB / 483.9 MB, free: 6.504 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.1216, allocations: 0.783 MB / 484.7 MB, free: 5.691 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001552/0.1217, allocations: 53.91 kB / 484.7 MB, free: 5.637 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.1218, allocations: 83.42 kB / 484.8 MB, free: 5.555 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1218, allocations: 0 / 484.8 MB, free: 5.555 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.1444, allocations: 6.135 MB / 490.9 MB, free: 15.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.965/7.109, allocations: 7.938 kB / 490.9 MB, free: 15.34 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 & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWalls.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.pipe 2>&1)