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.0008061/0.0008061, allocations: 91.2 kB / 16.65 MB, free: 6.586 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.0009455/0.0009455, allocations: 185.2 kB / 17.57 MB, free: 6.203 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.122/1.122, allocations: 205.4 MB / 223.7 MB, free: 12.99 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2205/0.2205, allocations: 48.78 MB / 320.8 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.0004715/0.0004715, allocations: 14.23 kB / 391.9 MB, free: 50.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07779/0.07827, allocations: 60.26 MB / 452.2 MB, free: 9.07 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.02275/0.1011, allocations: 20.46 MB / 472.6 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.1023, allocations: 0.675 MB / 473.3 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001746/0.1025, allocations: 7.938 kB / 473.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.1027, allocations: 39.7 kB / 473.4 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004384/0.1031, allocations: 187.2 kB / 473.5 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.1033, allocations: 55.92 kB / 473.6 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000673/0.104, allocations: 0.7364 MB / 474.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002258/0.1042, allocations: 140.4 kB / 474.5 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002077/0.1044, allocations: 131.4 kB / 474.6 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002778/0.1047, allocations: 207.2 kB / 474.8 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.1048, allocations: 8 kB / 474.8 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.887e-05/0.1049, allocations: 31.97 kB / 474.8 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.105, allocations: 127.6 kB / 475 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.1052, allocations: 157 kB / 475.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003096/0.1055, allocations: 298.9 kB / 475.4 MB, free: 1.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1055, allocations: 4 kB / 475.4 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1055, allocations: 0 / 475.4 MB, free: 1.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1055, allocations: 0 / 475.4 MB, free: 1.723 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.0007725/0.1063, allocations: 0.5413 MB / 476 MB, free: 1.133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1063, allocations: 8.031 kB / 476 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.249e-05/0.1064, allocations: 58.73 kB / 476 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.975e-05/0.1065, allocations: 32.56 kB / 476.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.1068, allocations: 311.4 kB / 476.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.1068, allocations: 12.38 kB / 476.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.211e-05/0.1069, allocations: 24.31 kB / 476.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004363/0.1073, allocations: 260.2 kB / 476.6 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1073, allocations: 3.984 kB / 476.7 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.1074, allocations: 11.94 kB / 476.7 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1074, allocations: 4 kB / 476.7 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003633/0.1077, allocations: 187.8 kB / 476.9 MB, free: 176 kB / 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.001223/0.109, allocations: 0.9474 MB / 477.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004728/0.1094, allocations: 181.1 kB / 478 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.1096, allocations: 85.67 kB / 478.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.1096, allocations: 0 / 478.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.1097, allocations: 34.56 kB / 478.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 9.22e-07/0.1097, allocations: 0 / 478.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.000576/0.1103, allocations: 261.4 kB / 478.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.1103, allocations: 106.8 kB / 478.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.1106, allocations: 270.6 kB / 478.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.1106, allocations: 29.7 kB / 478.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.526e-05/0.1107, allocations: 164.2 kB / 478.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.672e-05/0.1108, allocations: 55.2 kB / 479 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.1108, allocations: 17.72 kB / 479 MB, free: 13.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1109, allocations: 338.8 kB / 479.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.1111, allocations: 71.95 kB / 479.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.1113, allocations: 112.2 kB / 479.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.1116, allocations: 183.3 kB / 479.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1116, allocations: 0 / 479.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004032/0.112, allocations: 233.2 kB / 479.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.112, allocations: 4 kB / 479.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.112, allocations: 0 / 479.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.112, allocations: 4 kB / 479.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.1123, allocations: 59.97 kB / 480 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1123, allocations: 4.094 kB / 480 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.1125, allocations: 31.7 kB / 480 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.1125, allocations: 7.984 kB / 480 MB, free: 12.79 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.0001251/0.1126, allocations: 157.7 kB / 480.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.086e-05/0.1127, allocations: 27.72 kB / 480.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.343e-05/0.1127, allocations: 34.02 kB / 480.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1128, allocations: 3.984 kB / 480.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1128, allocations: 0 / 480.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1128, allocations: 7.938 kB / 480.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003608/0.1131, allocations: 305.5 kB / 480.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.1132, allocations: 4 kB / 480.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.1134, allocations: 51.97 kB / 480.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1134, allocations: 0 / 480.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.1135, allocations: 11.98 kB / 480.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1135, allocations: 0 / 480.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1135, allocations: 0 / 480.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005591/0.114, allocations: 461.5 kB / 481 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.427e-05/0.1141, allocations: 116.8 kB / 481.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.1142, allocations: 8 kB / 481.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.1144, allocations: 15.98 kB / 481.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.1144, allocations: 15.92 kB / 481.2 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.1145, allocations: 4 kB / 481.2 MB, free: 11.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001629/0.1146, allocations: 194 kB / 481.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1146, allocations: 0 / 481.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003342/0.115, allocations: 63.84 kB / 481.5 MB, free: 11.25 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.0008199/0.1158, allocations: 0.9967 MB / 482.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003373/0.1161, allocations: 167.8 kB / 482.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1162, allocations: 0 / 482.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.1163, allocations: 79.89 kB / 482.7 MB, free: 9.984 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005216/0.1168, allocations: 81.44 kB / 482.8 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003347/0.1202, allocations: 3.148 MB / 485.9 MB, free: 6.656 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.1205, allocations: 0.7831 MB / 486.7 MB, free: 5.848 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001595/0.1207, allocations: 65.81 kB / 486.8 MB, free: 5.781 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.1208, allocations: 83.41 kB / 486.8 MB, free: 5.699 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1208, allocations: 0 / 486.8 MB, free: 5.699 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01532/0.1361, allocations: 5.707 MB / 492.6 MB, free: 15.97 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/0.1363, allocations: 203.2 kB / 492.8 MB, free: 15.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/1.746, allocations: 0 / 492.8 MB, free: 15.72 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)