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.001136/0.001136, allocations: 104.7 kB / 16.94 MB, free: 5.801 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.001161/0.001161, allocations: 187.3 kB / 17.87 MB, free: 5.141 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.138/1.138, allocations: 205.1 MB / 223.7 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2324/0.2324, allocations: 48.85 MB / 319.9 MB, free: 11.09 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.001286/0.001286, allocations: 67.58 kB / 390.2 MB, free: 48.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07684/0.07814, allocations: 59.16 MB / 449.4 MB, free: 9.641 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.02606/0.1042, allocations: 21.47 MB / 470.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.1055, allocations: 0.6748 MB / 471.5 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.1056, allocations: 11.88 kB / 471.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.1057, allocations: 47.58 kB / 471.6 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004256/0.1062, allocations: 199.1 kB / 471.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001303/0.1063, allocations: 55.92 kB / 471.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003762/0.1067, allocations: 386.6 kB / 472.2 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.1069, allocations: 144.1 kB / 472.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.1071, allocations: 171.4 kB / 472.5 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.1073, allocations: 207.2 kB / 472.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.1074, allocations: 20 kB / 472.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.632e-05/0.1075, allocations: 43.98 kB / 472.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.1076, allocations: 131.6 kB / 472.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.1077, allocations: 151.3 kB / 473.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.108, allocations: 307 kB / 473.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.108, allocations: 0 / 473.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.108, allocations: 4 kB / 473.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.108, allocations: 3.938 kB / 473.4 MB, free: 1.551 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.0007438/0.1088, allocations: 0.5995 MB / 474 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.1088, allocations: 11.89 kB / 474 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.78e-05/0.1089, allocations: 50.73 kB / 474 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.504e-05/0.109, allocations: 32.56 kB / 474.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.1092, allocations: 303.6 kB / 474.4 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.1093, allocations: 12.38 kB / 474.4 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.1093, allocations: 20.38 kB / 474.4 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003705/0.1097, allocations: 260.2 kB / 474.7 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.1097, allocations: 3.938 kB / 474.7 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.1097, allocations: 11.98 kB / 474.7 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1097, allocations: 4 kB / 474.7 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003317/0.1101, allocations: 171.9 kB / 474.8 MB, free: 15.98 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.001092/0.1112, allocations: 0.9202 MB / 475.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004373/0.1116, allocations: 185.1 kB / 475.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.1118, allocations: 73.61 kB / 476 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.1118, allocations: 3.938 kB / 476 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.1118, allocations: 38.56 kB / 476.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.1118, allocations: 4 kB / 476.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004932/0.1123, allocations: 237.4 kB / 476.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.1124, allocations: 110.8 kB / 476.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.1126, allocations: 266.7 kB / 476.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.1126, allocations: 25.7 kB / 476.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.861e-05/0.1127, allocations: 172.2 kB / 476.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.1128, allocations: 47.27 kB / 476.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-05/0.1128, allocations: 37.7 kB / 476.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.613e-05/0.1129, allocations: 334.8 kB / 477.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.1131, allocations: 67.95 kB / 477.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.1132, allocations: 100.2 kB / 477.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/0.1135, allocations: 171.6 kB / 477.6 MB, free: 13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1135, allocations: 0 / 477.6 MB, free: 13 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003587/0.1139, allocations: 229.2 kB / 477.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1139, allocations: 8 kB / 477.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1139, allocations: 0 / 477.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.1139, allocations: 0 / 477.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.1142, allocations: 47.97 kB / 477.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1142, allocations: 3.938 kB / 477.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.1143, allocations: 27.77 kB / 477.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.1143, allocations: 4 kB / 477.9 MB, free: 12.68 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.000122/0.1144, allocations: 149.8 kB / 478.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.239e-05/0.1145, allocations: 27.72 kB / 478.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.382e-05/0.1146, allocations: 29.7 kB / 478.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1146, allocations: 96 / 478.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1146, allocations: 7.938 kB / 478.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1146, allocations: 7.922 kB / 478.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.1149, allocations: 309.3 kB / 478.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1149, allocations: 0 / 478.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/0.1152, allocations: 59.89 kB / 478.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.1152, allocations: 4 kB / 478.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.1152, allocations: 0 / 478.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.1152, allocations: 4 kB / 478.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1152, allocations: 3.938 kB / 478.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004924/0.1157, allocations: 434.4 kB / 478.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-05/0.1158, allocations: 113 kB / 479 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.1159, allocations: 11.98 kB / 479.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.1161, allocations: 11.98 kB / 479.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.1161, allocations: 19.86 kB / 479.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.1161, allocations: 0 / 479.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001527/0.1163, allocations: 194 kB / 479.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1163, allocations: 4 kB / 479.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003094/0.1166, allocations: 63.84 kB / 479.3 MB, free: 11.17 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.000748/0.1173, allocations: 0.9692 MB / 480.3 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003021/0.1177, allocations: 155.9 kB / 480.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1177, allocations: 0 / 480.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.1178, allocations: 75.89 kB / 480.5 MB, free: 9.941 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.1183, allocations: 81.42 kB / 480.6 MB, free: 9.863 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/0.1214, allocations: 2.989 MB / 483.6 MB, free: 6.781 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.1217, allocations: 0.7869 MB / 484.4 MB, free: 5.965 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001387/0.1219, allocations: 57.91 kB / 484.4 MB, free: 5.906 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.823e-05/0.122, allocations: 79.41 kB / 484.5 MB, free: 5.828 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.122, allocations: 0 / 484.5 MB, free: 5.828 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/0.1424, allocations: 6.138 MB / 490.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.55/5.693, allocations: 0 / 490.7 MB, free: 15.62 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)