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.001572/0.001572, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001752/0.001752, allocations: 208.7 kB / 23.73 MB, free: 4.387 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.296/1.296, allocations: 207.7 MB / 234.6 MB, free: 9.793 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.2777/0.2777, allocations: 49.6 MB / 336.4 MB, free: 3.879 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWalls,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWalls",fmuType="me",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.002193/0.002193, allocations: 71.89 kB / 476.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1047, allocations: 62.42 MB / 0.5262 GB, free: 14.14 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.3877/0.4925, allocations: 23.06 MB / 0.5487 GB, free: 9.031 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.4936, allocations: 0.6379 MB / 0.5493 GB, free: 8.879 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.826e-05/0.4937, allocations: 8.031 kB / 0.5493 GB, free: 8.875 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.4939, allocations: 55.66 kB / 0.5494 GB, free: 8.852 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004354/0.4943, allocations: 203.2 kB / 0.5496 GB, free: 8.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001453/0.4945, allocations: 57.31 kB / 0.5496 GB, free: 8.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004521/0.4949, allocations: 395.8 kB / 0.55 GB, free: 8.676 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.4951, allocations: 95.31 kB / 0.5501 GB, free: 8.656 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.4953, allocations: 168.8 kB / 0.5502 GB, free: 8.617 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.4956, allocations: 214.5 kB / 0.5504 GB, free: 8.559 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.059e-05/0.4956, allocations: 18.53 kB / 0.5505 GB, free: 8.559 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.4957, allocations: 38.47 kB / 0.5505 GB, free: 8.559 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.4959, allocations: 138.9 kB / 0.5506 GB, free: 8.543 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.496, allocations: 125.4 kB / 0.5507 GB, free: 8.508 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003324/0.4963, allocations: 322.6 kB / 0.5511 GB, free: 8.434 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.4963, allocations: 1.094 kB / 0.5511 GB, free: 8.434 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4963, allocations: 3.938 kB / 0.5511 GB, free: 8.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.4963, allocations: 4 kB / 0.5511 GB, free: 8.426 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.0007653/0.4971, allocations: 0.5252 MB / 0.5516 GB, free: 8.055 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.4971, allocations: 9.203 kB / 0.5516 GB, free: 8.055 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.258e-05/0.4972, allocations: 56.2 kB / 0.5516 GB, free: 8.016 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.842e-05/0.4972, allocations: 38.05 kB / 0.5517 GB, free: 7.996 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.4976, allocations: 236.1 kB / 0.5519 GB, free: 7.828 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.4976, allocations: 23.77 kB / 0.5519 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.998e-05/0.4976, allocations: 19.31 kB / 0.5519 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.498, allocations: 290.3 kB / 0.5522 GB, free: 7.719 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.498, allocations: 0 / 0.5522 GB, free: 7.719 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.4981, allocations: 6.156 kB / 0.5522 GB, free: 7.719 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.4981, allocations: 9.328 kB / 0.5522 GB, free: 7.715 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.4984, allocations: 169.2 kB / 0.5524 GB, free: 7.699 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.001054/0.4995, allocations: 0.6931 MB / 0.5531 GB, free: 7.227 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004622/0.4999, allocations: 170.4 kB / 0.5532 GB, free: 7.145 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.5001, allocations: 73.19 kB / 0.5533 GB, free: 7.109 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.5001, allocations: 1.375 kB / 0.5533 GB, free: 7.109 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.5001, allocations: 37.42 kB / 0.5533 GB, free: 7.066 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.5001, allocations: 1.438 kB / 0.5533 GB, free: 7.066 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005183/0.5006, allocations: 238.6 kB / 0.5536 GB, free: 6.969 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.5006, allocations: 104.6 kB / 0.5537 GB, free: 6.844 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.5009, allocations: 271.9 kB / 0.5539 GB, free: 6.684 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.5009, allocations: 31.97 kB / 0.554 GB, free: 6.648 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/0.5009, allocations: 168.6 kB / 0.5541 GB, free: 6.504 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/0.501, allocations: 51.3 kB / 0.5542 GB, free: 6.465 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.501, allocations: 36.64 kB / 0.5542 GB, free: 6.438 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.461e-05/0.5011, allocations: 332.9 kB / 0.5545 GB, free: 6.117 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.5012, allocations: 68.11 kB / 0.5546 GB, free: 6.098 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.5014, allocations: 131.2 kB / 0.5547 GB, free: 6.004 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.5017, allocations: 177.6 kB / 0.5549 GB, free: 5.914 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5017, allocations: 0.9062 kB / 0.5549 GB, free: 5.914 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003618/0.502, allocations: 227.2 kB / 0.5551 GB, free: 5.812 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.502, allocations: 5.531 kB / 0.5551 GB, free: 5.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.502, allocations: 1.188 kB / 0.5551 GB, free: 5.812 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.5021, allocations: 2.531 kB / 0.5551 GB, free: 5.812 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.5023, allocations: 51.58 kB / 0.5552 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.5023, allocations: 1.156 kB / 0.5552 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.5024, allocations: 26.77 kB / 0.5552 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.5024, allocations: 8.625 kB / 0.5552 GB, free: 5.789 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.5025, allocations: 147.7 kB / 0.5553 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.284e-05/0.5026, allocations: 32.25 kB / 0.5554 GB, free: 5.641 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.582e-05/0.5027, allocations: 28.61 kB / 0.5554 GB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.5027, allocations: 6.156 kB / 0.5554 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5027, allocations: 4 kB / 0.5554 GB, free: 5.613 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.5027, allocations: 6.266 kB / 0.5554 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/0.503, allocations: 254.5 kB / 0.5556 GB, free: 5.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.503, allocations: 0.7969 kB / 0.5557 GB, free: 5.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/0.5032, allocations: 50.58 kB / 0.5557 GB, free: 5.406 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.5033, allocations: 2.031 kB / 0.5557 GB, free: 5.406 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.5033, allocations: 7.391 kB / 0.5557 GB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.5033, allocations: 1.438 kB / 0.5557 GB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.5033, allocations: 4.844 kB / 0.5557 GB, free: 5.398 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004994/0.5038, allocations: 441.1 kB / 0.5561 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.647e-05/0.5039, allocations: 38.91 kB / 0.5562 GB, free: 5.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.5039, allocations: 3.719 kB / 0.5562 GB, free: 5.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.5041, allocations: 11.83 kB / 0.5562 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.5041, allocations: 17.31 kB / 0.5562 GB, free: 5.078 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.5041, allocations: 3.312 kB / 0.5562 GB, free: 5.078 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001497/0.5043, allocations: 195.7 kB / 0.5564 GB, free: 4.961 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5043, allocations: 1.219 kB / 0.5564 GB, free: 4.961 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003373/0.5046, allocations: 63.83 kB / 0.5565 GB, free: 4.949 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.0006487/0.5053, allocations: 0.9756 MB / 0.5574 GB, free: 4.125 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003253/0.5056, allocations: 154.4 kB / 0.5576 GB, free: 4.078 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.5056, allocations: 1.5 kB / 0.5576 GB, free: 4.078 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.5057, allocations: 70.72 kB / 0.5576 GB, free: 4.059 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005022/0.5062, allocations: 82.75 kB / 0.5577 GB, free: 4.023 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/0.509, allocations: 2.959 MB / 0.5606 GB, free: 2.035 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.5092, allocations: 177.2 kB / 0.5608 GB, free: 1.941 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001552/0.5093, allocations: 55.95 kB / 0.5608 GB, free: 1.934 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.5094, allocations: 81.3 kB / 0.5609 GB, free: 1.875 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5094, allocations: 0 / 0.5609 GB, free: 1.875 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03314/0.5425, allocations: 7.15 MB / 0.5679 GB, free: 15.74 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.3, allocations: 1.062 kB / 0.5679 GB, free: 15.74 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.87325881794095] Failed to read output from testmodel.py, exit status != 0: 11.420838830061257 11.434784055 10.935846517 Calling exit ...