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.00153/0.00153, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001444/0.001444, allocations: 214 kB / 24.51 MB, free: 3.918 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.343/1.343, allocations: 207.7 MB / 235.4 MB, free: 9.758 MB / 190.1 MB " [Timeout remaining time 178] 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.2948/0.2948, allocations: 49.6 MB / 337.2 MB, free: 3.867 MB / 270.1 MB " [Timeout remaining time 179] 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.002157/0.002157, allocations: 63.91 kB / 477.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1048, allocations: 62.42 MB / 0.5269 GB, free: 14.13 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.3929/0.4976, allocations: 22.68 MB / 0.5491 GB, free: 9.121 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.4988, allocations: 0.6439 MB / 0.5497 GB, free: 8.977 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.4989, allocations: 8.312 kB / 0.5497 GB, free: 8.973 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.4991, allocations: 58.42 kB / 0.5498 GB, free: 8.945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004155/0.4995, allocations: 199.9 kB / 0.5499 GB, free: 8.867 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001353/0.4996, allocations: 68.41 kB / 0.55 GB, free: 8.859 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004341/0.5001, allocations: 385.2 kB / 0.5504 GB, free: 8.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.5003, allocations: 99.3 kB / 0.5505 GB, free: 8.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.5005, allocations: 174.6 kB / 0.5506 GB, free: 8.711 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003232/0.5009, allocations: 220.2 kB / 0.5508 GB, free: 8.656 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.287e-05/0.5009, allocations: 19.53 kB / 0.5509 GB, free: 8.656 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.501, allocations: 42.53 kB / 0.5509 GB, free: 8.656 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.5012, allocations: 134.7 kB / 0.551 GB, free: 8.641 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.5013, allocations: 125.8 kB / 0.5512 GB, free: 8.605 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003637/0.5017, allocations: 322.4 kB / 0.5515 GB, free: 8.535 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.5017, allocations: 0 / 0.5515 GB, free: 8.535 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.5017, allocations: 4 kB / 0.5515 GB, free: 8.531 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.5017, allocations: 5.594 kB / 0.5515 GB, free: 8.527 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.0007954/0.5025, allocations: 0.5222 MB / 0.552 GB, free: 8.156 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.5025, allocations: 9.656 kB / 0.552 GB, free: 8.156 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.119e-05/0.5025, allocations: 5.969 kB / 0.552 GB, free: 8.156 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.324e-05/0.5026, allocations: 52.7 kB / 0.552 GB, free: 8.117 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.355e-05/0.5026, allocations: 41.17 kB / 0.5521 GB, free: 8.094 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.5029, allocations: 243.4 kB / 0.5523 GB, free: 7.922 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.503, allocations: 14.88 kB / 0.5523 GB, free: 7.922 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.056e-05/0.503, allocations: 18.94 kB / 0.5524 GB, free: 7.922 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004336/0.5034, allocations: 289.3 kB / 0.5526 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.5034, allocations: 0 / 0.5526 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.5035, allocations: 6.469 kB / 0.5526 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.5035, allocations: 5.156 kB / 0.5526 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003443/0.5038, allocations: 179.5 kB / 0.5528 GB, free: 7.766 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.001057/0.5049, allocations: 0.685 MB / 0.5535 GB, free: 7.301 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004753/0.5053, allocations: 174.6 kB / 0.5536 GB, free: 7.215 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.5055, allocations: 66.94 kB / 0.5537 GB, free: 7.184 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.5055, allocations: 1.656 kB / 0.5537 GB, free: 7.184 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.5055, allocations: 41.75 kB / 0.5538 GB, free: 7.137 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.5055, allocations: 0 / 0.5538 GB, free: 7.137 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005316/0.5061, allocations: 247.5 kB / 0.554 GB, free: 7.031 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.5061, allocations: 109.1 kB / 0.5541 GB, free: 6.902 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.5063, allocations: 268.6 kB / 0.5543 GB, free: 6.746 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.5063, allocations: 26.41 kB / 0.5544 GB, free: 6.715 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.166e-05/0.5064, allocations: 165.9 kB / 0.5545 GB, free: 6.574 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.5064, allocations: 52.84 kB / 0.5546 GB, free: 6.535 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.539e-05/0.5065, allocations: 33.75 kB / 0.5546 GB, free: 6.508 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.885e-05/0.5065, allocations: 332.3 kB / 0.5549 GB, free: 6.188 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.5067, allocations: 72.67 kB / 0.555 GB, free: 6.164 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.5068, allocations: 127.7 kB / 0.5551 GB, free: 6.074 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.5071, allocations: 170.5 kB / 0.5553 GB, free: 5.992 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5071, allocations: 256 / 0.5553 GB, free: 5.992 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003899/0.5075, allocations: 231.8 kB / 0.5555 GB, free: 5.887 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.5075, allocations: 5.344 kB / 0.5555 GB, free: 5.887 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5075, allocations: 5.719 kB / 0.5555 GB, free: 5.883 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.5075, allocations: 2 kB / 0.5555 GB, free: 5.883 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.5078, allocations: 50.2 kB / 0.5556 GB, free: 5.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.5078, allocations: 6.5 kB / 0.5556 GB, free: 5.875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.5079, allocations: 22.31 kB / 0.5556 GB, free: 5.863 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.5079, allocations: 4.766 kB / 0.5556 GB, free: 5.863 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 9.87e-05/0.508, allocations: 147.2 kB / 0.5557 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.658e-05/0.5081, allocations: 32.02 kB / 0.5558 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.771e-05/0.5082, allocations: 33.83 kB / 0.5558 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.5082, allocations: 1.406 kB / 0.5558 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5082, allocations: 5.312 kB / 0.5558 GB, free: 5.688 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5082, allocations: 0.5625 kB / 0.5558 GB, free: 5.688 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003101/0.5085, allocations: 258.2 kB / 0.5561 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5085, allocations: 1.031 kB / 0.5561 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003108/0.5088, allocations: 51.06 kB / 0.5561 GB, free: 5.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.5088, allocations: 5.25 kB / 0.5561 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.5088, allocations: 7.797 kB / 0.5561 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5088, allocations: 1.219 kB / 0.5561 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5088, allocations: 5.344 kB / 0.5561 GB, free: 5.469 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005033/0.5093, allocations: 438.1 kB / 0.5565 GB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.209e-05/0.5094, allocations: 37.39 kB / 0.5566 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.5094, allocations: 4.312 kB / 0.5566 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.5096, allocations: 11.81 kB / 0.5566 GB, free: 5.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.5097, allocations: 17.27 kB / 0.5566 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.5097, allocations: 4.109 kB / 0.5566 GB, free: 5.152 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.5098, allocations: 191.4 kB / 0.5568 GB, free: 5.039 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5098, allocations: 0 / 0.5568 GB, free: 5.039 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003579/0.5102, allocations: 65.14 kB / 0.5569 GB, free: 5.027 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.0006647/0.5109, allocations: 0.9745 MB / 0.5578 GB, free: 4.203 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003604/0.5112, allocations: 155.8 kB / 0.558 GB, free: 4.156 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5112, allocations: 0 / 0.558 GB, free: 4.156 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.5114, allocations: 71.86 kB / 0.558 GB, free: 4.137 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005473/0.5119, allocations: 81.81 kB / 0.5581 GB, free: 4.102 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/0.5148, allocations: 2.975 MB / 0.561 GB, free: 2.098 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.515, allocations: 175.8 kB / 0.5612 GB, free: 2.008 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000182/0.5151, allocations: 52.25 kB / 0.5612 GB, free: 2.004 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.5152, allocations: 80.44 kB / 0.5613 GB, free: 1.945 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.5152, allocations: 0 / 0.5613 GB, free: 1.945 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02802/0.5433, allocations: 6.791 MB / 0.5679 GB, free: 212 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.78, allocations: 15.5 kB / 0.5679 GB, free: 200 kB / 414.1 MB " [Timeout remaining time 648] (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: 14.533391752047464] Failed to read output from testmodel.py, exit status != 0: 11.951072240015492 11.964157821 11.459875052 Calling exit ...