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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 206.1 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.287/1.287, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2689/0.2689, allocations: 49.56 MB / 337.1 MB, free: 4.129 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWalls,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWalls",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWalls,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWalls",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 71.91 kB / 477.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1082, allocations: 62.42 MB / 0.5269 GB, free: 14.32 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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 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.3608/0.469, allocations: 22.79 MB / 0.5492 GB, free: 9.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.4702, allocations: 0.6902 MB / 0.5498 GB, free: 9 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.4703, allocations: 8.438 kB / 0.5498 GB, free: 8.996 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.4704, allocations: 57.09 kB / 0.5499 GB, free: 8.969 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003989/0.4708, allocations: 209.1 kB / 0.5501 GB, free: 8.906 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001363/0.4709, allocations: 69.17 kB / 0.5502 GB, free: 8.898 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003756/0.4713, allocations: 383.1 kB / 0.5505 GB, free: 8.809 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.4715, allocations: 99.5 kB / 0.5506 GB, free: 8.789 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/0.4717, allocations: 171.6 kB / 0.5508 GB, free: 8.742 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003223/0.4721, allocations: 218.7 kB / 0.551 GB, free: 8.691 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.501e-05/0.4721, allocations: 22.97 kB / 0.551 GB, free: 8.688 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.4722, allocations: 42.48 kB / 0.5511 GB, free: 8.684 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.4724, allocations: 139.5 kB / 0.5512 GB, free: 8.668 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.4725, allocations: 150.2 kB / 0.5513 GB, free: 8.621 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003381/0.4729, allocations: 319.7 kB / 0.5516 GB, free: 8.551 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.4729, allocations: 0 / 0.5516 GB, free: 8.551 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4729, allocations: 0 / 0.5516 GB, free: 8.551 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.4729, allocations: 0 / 0.5516 GB, free: 8.551 MB / 414.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.0007813/0.4737, allocations: 0.5285 MB / 0.5522 GB, free: 8.176 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.4737, allocations: 8.969 kB / 0.5522 GB, free: 8.176 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.439e-05/0.4737, allocations: 9.156 kB / 0.5522 GB, free: 8.172 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/0.4737, allocations: 52.11 kB / 0.5522 GB, free: 8.133 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.052e-05/0.4738, allocations: 38.27 kB / 0.5523 GB, free: 8.113 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.4741, allocations: 237 kB / 0.5525 GB, free: 7.945 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.4741, allocations: 19.36 kB / 0.5525 GB, free: 7.941 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.16e-05/0.4742, allocations: 20.28 kB / 0.5525 GB, free: 7.941 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004206/0.4746, allocations: 259.8 kB / 0.5528 GB, free: 7.875 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.4746, allocations: 3.938 kB / 0.5528 GB, free: 7.871 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.4746, allocations: 7.406 kB / 0.5528 GB, free: 7.871 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.4746, allocations: 5.406 kB / 0.5528 GB, free: 7.871 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003519/0.475, allocations: 174.2 kB / 0.553 GB, free: 7.84 MB / 414.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.001131/0.4761, allocations: 0.8902 MB / 0.5538 GB, free: 7.168 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004637/0.4766, allocations: 169.3 kB / 0.554 GB, free: 7.086 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.4767, allocations: 70.61 kB / 0.5541 GB, free: 7.051 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.4767, allocations: 3.594 kB / 0.5541 GB, free: 7.051 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.4767, allocations: 39.56 kB / 0.5541 GB, free: 7.004 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 2.164e-06/0.4767, allocations: 3.984 kB / 0.5541 GB, free: 7 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005481/0.4773, allocations: 243.1 kB / 0.5543 GB, free: 6.898 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.4773, allocations: 109.5 kB / 0.5544 GB, free: 6.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.4776, allocations: 272 kB / 0.5547 GB, free: 6.609 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.4776, allocations: 27.3 kB / 0.5547 GB, free: 6.578 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.924e-05/0.4777, allocations: 168.8 kB / 0.5549 GB, free: 6.434 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.4777, allocations: 45.94 kB / 0.5549 GB, free: 6.398 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.758e-05/0.4778, allocations: 37.56 kB / 0.555 GB, free: 6.371 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.102e-05/0.4778, allocations: 331.7 kB / 0.5553 GB, free: 6.051 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.478, allocations: 67.75 kB / 0.5553 GB, free: 6.031 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.4781, allocations: 108.6 kB / 0.5554 GB, free: 5.965 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/0.4784, allocations: 166.2 kB / 0.5556 GB, free: 5.887 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.4784, allocations: 3.969 kB / 0.5556 GB, free: 5.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003728/0.4788, allocations: 227.5 kB / 0.5558 GB, free: 5.781 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.4788, allocations: 6.531 kB / 0.5558 GB, free: 5.781 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4788, allocations: 1.625 kB / 0.5558 GB, free: 5.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.4788, allocations: 1.5 kB / 0.5558 GB, free: 5.781 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.479, allocations: 46.59 kB / 0.5559 GB, free: 5.781 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.479, allocations: 14.22 kB / 0.5559 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.4792, allocations: 26.42 kB / 0.5559 GB, free: 5.754 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.4792, allocations: 4.656 kB / 0.5559 GB, free: 5.754 MB / 414.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.0001002/0.4793, allocations: 147 kB / 0.5561 GB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.335e-05/0.4793, allocations: 31.94 kB / 0.5561 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.606e-05/0.4794, allocations: 28.72 kB / 0.5561 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4794, allocations: 2.016 kB / 0.5561 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4794, allocations: 5.469 kB / 0.5561 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4794, allocations: 4.562 kB / 0.5561 GB, free: 5.578 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003192/0.4797, allocations: 279.2 kB / 0.5564 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4797, allocations: 0.9375 kB / 0.5564 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002727/0.48, allocations: 55.17 kB / 0.5564 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.48, allocations: 1.438 kB / 0.5564 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.48, allocations: 3.547 kB / 0.5565 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.48, allocations: 1.844 kB / 0.5565 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.48, allocations: 3.938 kB / 0.5565 GB, free: 5.359 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005034/0.4805, allocations: 440.2 kB / 0.5569 GB, free: 5.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.952e-05/0.4806, allocations: 39.03 kB / 0.5569 GB, free: 5.051 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.4807, allocations: 8.047 kB / 0.5569 GB, free: 5.047 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.4808, allocations: 12.16 kB / 0.5569 GB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.4809, allocations: 24.17 kB / 0.557 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.4809, allocations: 3.438 kB / 0.557 GB, free: 5.027 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00015/0.481, allocations: 191.3 kB / 0.5571 GB, free: 4.914 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.481, allocations: 0 / 0.5571 GB, free: 4.914 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003602/0.4814, allocations: 65.61 kB / 0.5572 GB, free: 4.902 MB / 414.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.000679/0.4821, allocations: 0.9695 MB / 0.5582 GB, free: 4.082 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003446/0.4824, allocations: 143.7 kB / 0.5583 GB, free: 4.047 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4824, allocations: 128 / 0.5583 GB, free: 4.047 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.4826, allocations: 75.02 kB / 0.5584 GB, free: 4.023 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005204/0.4831, allocations: 77.06 kB / 0.5584 GB, free: 3.992 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.4859, allocations: 2.986 MB / 0.5614 GB, free: 1.973 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/0.4861, allocations: 0.78 MB / 0.5621 GB, free: 1.266 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001584/0.4863, allocations: 56.84 kB / 0.5622 GB, free: 1.258 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.71e-05/0.4864, allocations: 82.61 kB / 0.5622 GB, free: 1.195 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4864, allocations: 1.375 kB / 0.5622 GB, free: 1.195 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02844/0.5148, allocations: 6.475 MB / 0.5686 GB, free: 15.63 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.32, allocations: 2.656 kB / 0.5686 GB, free: 15.63 MB / 430.1 MB " [Timeout remaining time 649] (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 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWalls.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.908272217027843] Failed to read output from testmodel.py, exit status != 0: 11.482888174941763 11.496776744 11.021365451 Calling exit ...