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.001176/0.001176, allocations: 113 kB / 16.51 MB, free: 6.707 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.001146/0.001146, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.144/1.144, allocations: 205.1 MB / 223.3 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2361/0.2361, allocations: 48.83 MB / 319.5 MB, free: 11.31 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.001266/0.001266, allocations: 66.06 kB / 389.5 MB, free: 48.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0736/0.07488, allocations: 59.17 MB / 448.6 MB, free: 10.15 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.02808/0.103, allocations: 20.82 MB / 469.4 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.1042, allocations: 0.6864 MB / 470.1 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.1043, allocations: 7.938 kB / 470.1 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.1045, allocations: 43.7 kB / 470.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003446/0.1048, allocations: 187.3 kB / 470.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001235/0.105, allocations: 55.88 kB / 470.4 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005478/0.1055, allocations: 0.7481 MB / 471.2 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.1057, allocations: 132.4 kB / 471.3 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.1059, allocations: 143.4 kB / 471.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.1061, allocations: 219.2 kB / 471.7 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.225e-05/0.1062, allocations: 20 kB / 471.7 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.031e-05/0.1063, allocations: 27.98 kB / 471.7 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.1064, allocations: 127.7 kB / 471.8 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.1065, allocations: 147.3 kB / 472 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.1068, allocations: 303 kB / 472.3 MB, free: 2.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1068, allocations: 4 kB / 472.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1068, allocations: 0 / 472.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1068, allocations: 0 / 472.3 MB, free: 2.406 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.0007632/0.1076, allocations: 0.5917 MB / 472.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.1076, allocations: 8.031 kB / 472.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.94e-05/0.1077, allocations: 54.73 kB / 472.9 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.425e-05/0.1077, allocations: 32.56 kB / 473 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.108, allocations: 303.5 kB / 473.2 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.108, allocations: 12.38 kB / 473.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.1081, allocations: 20.38 kB / 473.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003886/0.1085, allocations: 260.2 kB / 473.5 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1085, allocations: 3.938 kB / 473.5 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.1085, allocations: 8 kB / 473.5 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1085, allocations: 4 kB / 473.6 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003304/0.1089, allocations: 171.9 kB / 473.7 MB, free: 0.8398 MB / 350.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.001097/0.11, allocations: 0.9357 MB / 474.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.1104, allocations: 181 kB / 474.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.1106, allocations: 69.69 kB / 474.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.1106, allocations: 7.938 kB / 474.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.1106, allocations: 38.55 kB / 474.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 2.234e-06/0.1106, allocations: 0 / 474.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005076/0.1111, allocations: 237.2 kB / 475.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.1112, allocations: 110.8 kB / 475.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.1114, allocations: 266.7 kB / 475.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.1114, allocations: 25.7 kB / 475.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.257e-05/0.1115, allocations: 168.2 kB / 475.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.1116, allocations: 51.2 kB / 475.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.379e-05/0.1116, allocations: 37.7 kB / 475.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.443e-05/0.1117, allocations: 338.8 kB / 476.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.1119, allocations: 63.95 kB / 476.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.112, allocations: 100.2 kB / 476.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.1123, allocations: 179.4 kB / 476.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1123, allocations: 0 / 476.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003582/0.1127, allocations: 221.5 kB / 476.7 MB, free: 13.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.1127, allocations: 8 kB / 476.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1127, allocations: 3.984 kB / 476.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.1127, allocations: 8.062 kB / 476.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.113, allocations: 43.97 kB / 476.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.113, allocations: 7.938 kB / 476.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.1131, allocations: 23.77 kB / 476.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.1131, allocations: 8 kB / 476.8 MB, free: 13.53 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.0001141/0.1133, allocations: 149.8 kB / 477 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.245e-05/0.1133, allocations: 27.7 kB / 477 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.174e-05/0.1134, allocations: 29.72 kB / 477 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1134, allocations: 4.078 kB / 477 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1134, allocations: 7.938 kB / 477 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1134, allocations: 3.938 kB / 477 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003289/0.1137, allocations: 305.4 kB / 477.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1138, allocations: 0 / 477.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/0.114, allocations: 55.89 kB / 477.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.114, allocations: 4 kB / 477.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.1141, allocations: 4 kB / 477.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1141, allocations: 4 kB / 477.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1141, allocations: 0 / 477.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005057/0.1146, allocations: 438.4 kB / 477.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.6e-05/0.1147, allocations: 116.8 kB / 477.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.1147, allocations: 8.078 kB / 477.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.1149, allocations: 15.98 kB / 478 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.115, allocations: 19.84 kB / 478 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.115, allocations: 4 kB / 478 MB, free: 12.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001559/0.1152, allocations: 198 kB / 478.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1152, allocations: 4 kB / 478.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003082/0.1155, allocations: 63.84 kB / 478.2 MB, free: 12 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.0007483/0.1162, allocations: 0.9769 MB / 479.2 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003039/0.1166, allocations: 143.9 kB / 479.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1166, allocations: 0 / 479.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.1167, allocations: 83.83 kB / 479.4 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004912/0.1172, allocations: 77.34 kB / 479.5 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003108/0.1203, allocations: 3.055 MB / 482.6 MB, free: 7.543 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.1206, allocations: 0.7792 MB / 483.3 MB, free: 6.738 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001597/0.1208, allocations: 53.91 kB / 483.4 MB, free: 6.684 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.1209, allocations: 83.41 kB / 483.5 MB, free: 6.602 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1209, allocations: 0 / 483.5 MB, free: 6.602 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0148/0.1357, allocations: 5.808 MB / 489.3 MB, free: 0.75 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/0.1359, allocations: 207.8 kB / 489.5 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/1.827, allocations: 0 / 489.5 MB, free: 0.4922 MB / 366.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)