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.00096/0.00096, allocations: 104.8 kB / 16.62 MB, free: 6.809 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.0009121/0.0009121, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.162/1.162, allocations: 205.1 MB / 223.4 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2328/0.2328, allocations: 48.84 MB / 319.6 MB, free: 11.27 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.001294/0.001294, allocations: 67.59 kB / 389.6 MB, free: 48.9 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08064/0.08195, allocations: 59.16 MB / 448.8 MB, free: 10.04 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.02625/0.1082, allocations: 20.82 MB / 469.6 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.1094, allocations: 0.6865 MB / 470.3 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.1095, allocations: 7.938 kB / 470.3 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.1097, allocations: 35.72 kB / 470.4 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003832/0.1101, allocations: 183.3 kB / 470.5 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001201/0.1102, allocations: 55.88 kB / 470.6 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003531/0.1106, allocations: 390.6 kB / 471 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/0.1108, allocations: 168 kB / 471.1 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.1109, allocations: 163.4 kB / 471.3 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.1112, allocations: 223.1 kB / 471.5 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.1112, allocations: 20 kB / 471.5 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.481e-05/0.1113, allocations: 39.97 kB / 471.6 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.1114, allocations: 127.7 kB / 471.7 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.1116, allocations: 151.3 kB / 471.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.1118, allocations: 318.9 kB / 472.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1119, allocations: 0 / 472.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1119, allocations: 0 / 472.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1119, allocations: 0 / 472.2 MB, free: 2.586 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.0007673/0.1126, allocations: 0.5878 MB / 472.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.1127, allocations: 15.89 kB / 472.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.768e-05/0.1127, allocations: 46.73 kB / 472.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.1128, allocations: 40.55 kB / 472.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.1131, allocations: 299.5 kB / 473.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.1131, allocations: 16.38 kB / 473.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/0.1132, allocations: 20.38 kB / 473.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003957/0.1136, allocations: 256.2 kB / 473.4 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.1136, allocations: 3.938 kB / 473.4 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.1136, allocations: 7.984 kB / 473.4 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.1136, allocations: 4 kB / 473.4 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003414/0.114, allocations: 171.9 kB / 473.6 MB, free: 1.02 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.001107/0.1151, allocations: 0.9359 MB / 474.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004512/0.1156, allocations: 181.1 kB / 474.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.1157, allocations: 69.69 kB / 474.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.1157, allocations: 0 / 474.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.1157, allocations: 34.56 kB / 474.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 6.372e-06/0.1158, allocations: 4 kB / 474.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005033/0.1163, allocations: 241.3 kB / 475.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.1163, allocations: 110.7 kB / 475.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.1165, allocations: 266.7 kB / 475.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.1166, allocations: 29.7 kB / 475.5 MB, free: 15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.729e-05/0.1167, allocations: 168.2 kB / 475.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.1167, allocations: 51.2 kB / 475.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.766e-05/0.1168, allocations: 37.72 kB / 475.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.62e-05/0.1169, allocations: 330.8 kB / 476 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.117, allocations: 71.94 kB / 476.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.1172, allocations: 100.5 kB / 476.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.1175, allocations: 179.2 kB / 476.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1175, allocations: 0 / 476.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003744/0.1179, allocations: 221.2 kB / 476.6 MB, free: 13.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.1179, allocations: 8.062 kB / 476.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1179, allocations: 0 / 476.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.1179, allocations: 4 kB / 476.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.1181, allocations: 47.95 kB / 476.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.1182, allocations: 7.938 kB / 476.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.1183, allocations: 35.7 kB / 476.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.1183, allocations: 8 kB / 476.7 MB, free: 13.7 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.0001121/0.1184, allocations: 141.8 kB / 476.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.1185, allocations: 27.72 kB / 476.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.331e-05/0.1186, allocations: 29.7 kB / 476.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1186, allocations: 4 kB / 476.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1186, allocations: 0 / 476.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1186, allocations: 7.922 kB / 476.9 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.1189, allocations: 305.4 kB / 477.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1189, allocations: 0 / 477.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002877/0.1192, allocations: 59.91 kB / 477.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1192, allocations: 0 / 477.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.1193, allocations: 7.984 kB / 477.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1193, allocations: 0 / 477.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1193, allocations: 0 / 477.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005146/0.1198, allocations: 442.4 kB / 477.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.124e-05/0.1199, allocations: 116.8 kB / 477.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.1199, allocations: 4 kB / 477.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.1201, allocations: 16.05 kB / 477.8 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.1202, allocations: 27.94 kB / 477.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.1202, allocations: 0 / 477.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001531/0.1204, allocations: 198 kB / 478.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1204, allocations: 0 / 478.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003147/0.1207, allocations: 63.84 kB / 478.1 MB, free: 12.19 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.0007577/0.1214, allocations: 0.9769 MB / 479.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003331/0.1218, allocations: 163.9 kB / 479.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1218, allocations: 0 / 479.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.122, allocations: 75.89 kB / 479.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004858/0.1225, allocations: 77.3 kB / 479.4 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/0.1255, allocations: 3.055 MB / 482.5 MB, free: 7.715 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.1259, allocations: 0.7831 MB / 483.3 MB, free: 6.906 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001508/0.126, allocations: 49.91 kB / 483.3 MB, free: 6.855 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.1261, allocations: 83.41 kB / 483.4 MB, free: 6.773 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1261, allocations: 4 kB / 483.4 MB, free: 6.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01657/0.1427, allocations: 5.985 MB / 489.4 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/0.1429, allocations: 208 kB / 489.6 MB, free: 0.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/1.891, allocations: 3.938 kB / 489.6 MB, free: 0.4961 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)