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.0009998/0.0009998, allocations: 107.7 kB / 16.92 MB, free: 6.145 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.0009638/0.0009638, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.194/1.194, allocations: 205.1 MB / 223.7 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2401/0.2401, 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.001504/0.001504, allocations: 77.31 kB / 390.2 MB, free: 48.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07695/0.07847, allocations: 59.16 MB / 449.3 MB, free: 9.68 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.02735/0.1058, allocations: 21.82 MB / 471.2 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.107, allocations: 0.6709 MB / 471.8 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.323e-05/0.1071, allocations: 7.938 kB / 471.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.1072, allocations: 47.58 kB / 471.9 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003014/0.1075, allocations: 199.1 kB / 472.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001216/0.1076, allocations: 59.86 kB / 472.1 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003296/0.108, allocations: 390.6 kB / 472.5 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.1082, allocations: 160.1 kB / 472.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.1084, allocations: 159.4 kB / 472.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.1086, allocations: 199.3 kB / 473 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.552e-05/0.1086, allocations: 20 kB / 473 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.425e-05/0.1087, allocations: 43.91 kB / 473.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.1089, allocations: 135.6 kB / 473.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.109, allocations: 151.3 kB / 473.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.1093, allocations: 307 kB / 473.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1093, allocations: 4 kB / 473.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1093, allocations: 0 / 473.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1093, allocations: 0 / 473.7 MB, free: 1.238 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.0007494/0.1101, allocations: 0.5956 MB / 474.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.1101, allocations: 11.89 kB / 474.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.914e-05/0.1102, allocations: 54.73 kB / 474.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.782e-05/0.1102, allocations: 40.48 kB / 474.4 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.1105, allocations: 299.5 kB / 474.7 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.1105, allocations: 16.38 kB / 474.7 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.1106, allocations: 16.38 kB / 474.7 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003896/0.111, allocations: 256.2 kB / 475 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.111, allocations: 0 / 475 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.111, allocations: 15.98 kB / 475 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.111, allocations: 4 kB / 475 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003249/0.1114, allocations: 167.8 kB / 475.1 MB, free: 15.67 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.00109/0.1125, allocations: 0.9358 MB / 476.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004474/0.1129, allocations: 185.1 kB / 476.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.1131, allocations: 69.69 kB / 476.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.1131, allocations: 4 kB / 476.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.1131, allocations: 38.55 kB / 476.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.1131, allocations: 0 / 476.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005167/0.1136, allocations: 241.4 kB / 476.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.1137, allocations: 110.8 kB / 476.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.1139, allocations: 266.7 kB / 477 MB, free: 13.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.114, allocations: 29.7 kB / 477 MB, free: 13.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.36e-05/0.114, allocations: 160.3 kB / 477.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.694e-05/0.1141, allocations: 55.2 kB / 477.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/0.1142, allocations: 33.7 kB / 477.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.56e-05/0.1143, allocations: 346.7 kB / 477.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.1144, allocations: 67.94 kB / 477.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.1146, allocations: 104.2 kB / 477.7 MB, free: 12.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.1148, allocations: 175.3 kB / 477.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1149, allocations: 0 / 477.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003653/0.1152, allocations: 217.2 kB / 478.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.1152, allocations: 4 kB / 478.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1153, allocations: 7.984 kB / 478.1 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1153, allocations: 0 / 478.1 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.1155, allocations: 56.03 kB / 478.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1155, allocations: 0 / 478.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.1156, allocations: 23.77 kB / 478.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.1157, allocations: 4 kB / 478.2 MB, free: 12.36 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.0001114/0.1158, allocations: 153.8 kB / 478.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.317e-05/0.1158, allocations: 23.72 kB / 478.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.294e-05/0.1159, allocations: 33.7 kB / 478.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1159, allocations: 0 / 478.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1159, allocations: 4 kB / 478.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1159, allocations: 3.938 kB / 478.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.1163, allocations: 309.7 kB / 478.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1163, allocations: 8 kB / 478.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/0.1165, allocations: 43.97 kB / 478.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1166, allocations: 0 / 478.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.1166, allocations: 11.98 kB / 478.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1166, allocations: 3.938 kB / 478.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1166, allocations: 8 kB / 478.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005179/0.1171, allocations: 426.5 kB / 479.2 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.061e-05/0.1172, allocations: 120.7 kB / 479.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.1173, allocations: 8 kB / 479.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.1174, allocations: 11.98 kB / 479.4 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.1175, allocations: 15.92 kB / 479.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.1175, allocations: 4 kB / 479.4 MB, free: 11.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.1177, allocations: 194 kB / 479.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1177, allocations: 0 / 479.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003221/0.118, allocations: 63.84 kB / 479.6 MB, free: 10.85 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.0007582/0.1188, allocations: 0.9731 MB / 480.6 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003357/0.1191, allocations: 163.8 kB / 480.8 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1191, allocations: 4.062 kB / 480.8 MB, free: 9.684 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.1193, allocations: 79.89 kB / 480.9 MB, free: 9.605 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/0.1198, allocations: 73.69 kB / 480.9 MB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003064/0.1229, allocations: 2.973 MB / 483.9 MB, free: 6.465 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.1231, allocations: 0.783 MB / 484.7 MB, free: 5.652 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001678/0.1233, allocations: 61.86 kB / 484.7 MB, free: 5.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.1234, allocations: 79.42 kB / 484.8 MB, free: 5.512 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1234, allocations: 4 kB / 484.8 MB, free: 5.508 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.43/1.553, allocations: 6.13 MB / 491 MB, free: 15.31 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/14.17, allocations: 4.062 kB / 491 MB, free: 15.3 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)