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.001329/0.001329, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001569/0.001569, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.345/1.345, allocations: 207.6 MB / 234.5 MB, free: 9.996 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.2667/0.2667, allocations: 49.57 MB / 336.3 MB, free: 4.098 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.002319/0.002319, allocations: 72.52 kB / 476.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1126, allocations: 62.43 MB / 0.5261 GB, free: 14.31 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.378/0.4906, allocations: 22.98 MB / 0.5486 GB, free: 9.023 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.4918, allocations: 0.6782 MB / 0.5492 GB, free: 8.941 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.854e-05/0.4919, allocations: 11.41 kB / 0.5493 GB, free: 8.934 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.492, allocations: 57.83 kB / 0.5493 GB, free: 8.906 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004146/0.4924, allocations: 204 kB / 0.5495 GB, free: 8.852 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001339/0.4926, allocations: 60.27 kB / 0.5496 GB, free: 8.852 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004728/0.493, allocations: 394.5 kB / 0.5499 GB, free: 8.754 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.4933, allocations: 99.28 kB / 0.55 GB, free: 8.734 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.4935, allocations: 172.3 kB / 0.5502 GB, free: 8.688 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000319/0.4938, allocations: 218 kB / 0.5504 GB, free: 8.637 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.4938, allocations: 19.78 kB / 0.5504 GB, free: 8.637 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.4939, allocations: 42.66 kB / 0.5505 GB, free: 8.633 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.4941, allocations: 139.3 kB / 0.5506 GB, free: 8.617 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.4942, allocations: 148 kB / 0.5507 GB, free: 8.574 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.4946, allocations: 324.3 kB / 0.551 GB, free: 8.496 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4946, allocations: 0.6562 kB / 0.5511 GB, free: 8.496 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4946, allocations: 0 / 0.5511 GB, free: 8.496 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.4946, allocations: 0 / 0.5511 GB, free: 8.496 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.4954, allocations: 0.5245 MB / 0.5516 GB, free: 8.125 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.4954, allocations: 9.469 kB / 0.5516 GB, free: 8.125 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.604e-05/0.4954, allocations: 52.64 kB / 0.5516 GB, free: 8.086 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.859e-05/0.4955, allocations: 37.61 kB / 0.5517 GB, free: 8.066 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.4958, allocations: 243.1 kB / 0.5519 GB, free: 7.895 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.4958, allocations: 11.97 kB / 0.5519 GB, free: 7.895 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.97e-05/0.4959, allocations: 20.91 kB / 0.5519 GB, free: 7.895 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003989/0.4963, allocations: 266.6 kB / 0.5522 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.4963, allocations: 0 / 0.5522 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.4963, allocations: 7.406 kB / 0.5522 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.4963, allocations: 4.531 kB / 0.5522 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003331/0.4966, allocations: 172.8 kB / 0.5524 GB, free: 7.797 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.001075/0.4977, allocations: 0.8934 MB / 0.5532 GB, free: 7.121 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004427/0.4981, allocations: 169.6 kB / 0.5534 GB, free: 7.039 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.4983, allocations: 76.39 kB / 0.5535 GB, free: 7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.4983, allocations: 2.844 kB / 0.5535 GB, free: 7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/0.4983, allocations: 32.25 kB / 0.5535 GB, free: 6.961 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.203e-06/0.4983, allocations: 0 / 0.5535 GB, free: 6.961 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005061/0.4988, allocations: 242.5 kB / 0.5537 GB, free: 6.859 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.4988, allocations: 106.2 kB / 0.5538 GB, free: 6.734 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.4991, allocations: 267.7 kB / 0.5541 GB, free: 6.578 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.4991, allocations: 30.86 kB / 0.5541 GB, free: 6.543 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.764e-05/0.4992, allocations: 169.3 kB / 0.5543 GB, free: 6.398 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.4992, allocations: 50.38 kB / 0.5543 GB, free: 6.359 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.4992, allocations: 35.89 kB / 0.5544 GB, free: 6.332 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.42e-05/0.4993, allocations: 334 kB / 0.5547 GB, free: 6.012 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.4994, allocations: 66.66 kB / 0.5547 GB, free: 5.992 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.4996, allocations: 105.3 kB / 0.5548 GB, free: 5.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.4998, allocations: 172.9 kB / 0.555 GB, free: 5.844 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4998, allocations: 5.125 kB / 0.555 GB, free: 5.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000342/0.5002, allocations: 219.7 kB / 0.5552 GB, free: 5.746 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.5002, allocations: 9.031 kB / 0.5552 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.5002, allocations: 1.25 kB / 0.5552 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.5002, allocations: 2.5 kB / 0.5552 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.5005, allocations: 55.38 kB / 0.5553 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.5005, allocations: 1.5 kB / 0.5553 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.5006, allocations: 27.2 kB / 0.5553 GB, free: 5.719 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.5006, allocations: 2.75 kB / 0.5553 GB, free: 5.719 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.761e-05/0.5007, allocations: 156.3 kB / 0.5555 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-05/0.5008, allocations: 32.61 kB / 0.5555 GB, free: 5.562 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.656e-05/0.5008, allocations: 31.7 kB / 0.5555 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.5008, allocations: 1.969 kB / 0.5555 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.5008, allocations: 0.9688 kB / 0.5555 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.5008, allocations: 5.859 kB / 0.5555 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003208/0.5011, allocations: 282.9 kB / 0.5558 GB, free: 5.324 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.5011, allocations: 1.156 kB / 0.5558 GB, free: 5.324 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002733/0.5014, allocations: 50.36 kB / 0.5558 GB, free: 5.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.5014, allocations: 1.031 kB / 0.5558 GB, free: 5.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.5014, allocations: 8.609 kB / 0.5559 GB, free: 5.316 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5014, allocations: 1.188 kB / 0.5559 GB, free: 5.316 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5014, allocations: 0 / 0.5559 GB, free: 5.316 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004812/0.5019, allocations: 445 kB / 0.5563 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-05/0.502, allocations: 34.69 kB / 0.5563 GB, free: 5.008 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/0.502, allocations: 7.75 kB / 0.5563 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.5022, allocations: 12.22 kB / 0.5563 GB, free: 5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/0.5023, allocations: 16.62 kB / 0.5564 GB, free: 4.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.5023, allocations: 3.5 kB / 0.5564 GB, free: 4.992 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.5024, allocations: 191.8 kB / 0.5565 GB, free: 4.879 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5024, allocations: 4 kB / 0.5565 GB, free: 4.875 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00033/0.5028, allocations: 65.38 kB / 0.5566 GB, free: 4.863 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.0006562/0.5034, allocations: 0.9803 MB / 0.5576 GB, free: 4.031 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003291/0.5037, allocations: 147.4 kB / 0.5577 GB, free: 3.992 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5037, allocations: 0 / 0.5577 GB, free: 3.992 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.5039, allocations: 71.56 kB / 0.5578 GB, free: 3.973 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005054/0.5044, allocations: 88.78 kB / 0.5579 GB, free: 3.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.5072, allocations: 2.968 MB / 0.5608 GB, free: 1.926 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/0.5074, allocations: 0.7847 MB / 0.5615 GB, free: 1.215 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001503/0.5075, allocations: 52.41 kB / 0.5616 GB, free: 1.211 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.982e-05/0.5076, allocations: 80.34 kB / 0.5616 GB, free: 1.152 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.5076, allocations: 0 / 0.5616 GB, free: 1.152 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.76/2.268, allocations: 6.452 MB / 0.5679 GB, free: 15.61 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.19/17.46, allocations: 1.281 kB / 0.5679 GB, free: 15.61 MB / 430.1 MB " [Timeout remaining time 642] (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: 22.04627433884889] Failed to read output from testmodel.py, exit status != 0: 17.573729968164116 17.595304989 17.096920848 Calling exit ...