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.00173/0.00173, allocations: 93.3 kB / 16.3 MB, free: 5.996 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.001765/0.001765, allocations: 184.3 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.319/2.319, allocations: 205.4 MB / 223.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6875/0.6875, allocations: 48.77 MB / 320.4 MB, free: 3.844 MB / 254.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.0005433/0.0005434, allocations: 15.98 kB / 391.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1445, allocations: 60.25 MB / 451.5 MB, free: 1.84 MB / 382.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.2734/0.4179, allocations: 1.931 MB / 453.4 MB, free: 47.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002299/0.4203, allocations: 0.6692 MB / 454.1 MB, free: 47.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002368/0.4205, allocations: 12.16 kB / 454.1 MB, free: 47.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.4208, allocations: 46.73 kB / 454.1 MB, free: 47.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006562/0.4215, allocations: 116.8 kB / 454.3 MB, free: 47.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.4218, allocations: 50.28 kB / 454.3 MB, free: 47.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004421/0.4222, allocations: 203.2 kB / 454.5 MB, free: 47.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003864/0.4226, allocations: 122.1 kB / 454.6 MB, free: 47.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/0.4229, allocations: 92.55 kB / 454.7 MB, free: 47.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002951/0.4232, allocations: 114.3 kB / 454.8 MB, free: 47.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.559e-05/0.4233, allocations: 11.41 kB / 454.8 MB, free: 47.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.4234, allocations: 23.19 kB / 454.9 MB, free: 47.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.4237, allocations: 113.1 kB / 455 MB, free: 47.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.18e-05/0.4238, allocations: 76.64 kB / 455 MB, free: 47.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003915/0.4242, allocations: 222.6 kB / 455.3 MB, free: 47.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.4242, allocations: 0 / 455.3 MB, free: 47.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4242, allocations: 4.656 kB / 455.3 MB, free: 47.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.4242, allocations: 0 / 455.3 MB, free: 47.41 MB / 382.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.001218/0.4255, allocations: 0.5537 MB / 455.8 MB, free: 46.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.4255, allocations: 8.781 kB / 455.8 MB, free: 46.96 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.592e-05/0.4256, allocations: 56.45 kB / 455.9 MB, free: 46.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.469e-05/0.4257, allocations: 32.94 kB / 455.9 MB, free: 46.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005054/0.4263, allocations: 283.4 kB / 456.2 MB, free: 46.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.4263, allocations: 21.06 kB / 456.2 MB, free: 46.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.257e-05/0.4264, allocations: 24.31 kB / 456.2 MB, free: 46.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006963/0.4271, allocations: 263.3 kB / 456.5 MB, free: 46.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.4271, allocations: 0 / 456.5 MB, free: 46.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.4272, allocations: 6.531 kB / 456.5 MB, free: 46.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.4272, allocations: 6.703 kB / 456.5 MB, free: 46.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00067/0.4279, allocations: 190.7 kB / 456.7 MB, free: 46.61 MB / 382.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.002066/0.43, allocations: 0.9476 MB / 457.6 MB, free: 46.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009816/0.431, allocations: 184 kB / 457.8 MB, free: 45.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.431, allocations: 0 / 457.8 MB, free: 45.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.789e-05/0.4311, allocations: 43 kB / 457.9 MB, free: 45.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 3.085e-06/0.4311, allocations: 0 / 457.9 MB, free: 45.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001314/0.4324, allocations: 258.3 kB / 458.1 MB, free: 45.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.13e-05/0.4325, allocations: 106.8 kB / 458.2 MB, free: 45.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004571/0.433, allocations: 262.2 kB / 458.5 MB, free: 45.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.4331, allocations: 29.02 kB / 458.5 MB, free: 45.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.4333, allocations: 161.5 kB / 458.7 MB, free: 45.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.97e-05/0.4334, allocations: 53.23 kB / 458.7 MB, free: 45.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.579e-05/0.4334, allocations: 3.375 kB / 458.7 MB, free: 45.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.4336, allocations: 332.4 kB / 459 MB, free: 45.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/0.4339, allocations: 75.95 kB / 459.1 MB, free: 45.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.4342, allocations: 106.7 kB / 459.2 MB, free: 45.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.4345, allocations: 92.42 kB / 459.3 MB, free: 45.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4345, allocations: 0 / 459.3 MB, free: 45.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000719/0.4353, allocations: 233 kB / 459.5 MB, free: 45.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.4353, allocations: 5.125 kB / 459.5 MB, free: 45.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.4353, allocations: 1.562 kB / 459.5 MB, free: 45.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.806e-05/0.4354, allocations: 5.844 kB / 459.6 MB, free: 45.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005193/0.4359, allocations: 59.81 kB / 459.6 MB, free: 45.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.865e-05/0.436, allocations: 2.688 kB / 459.6 MB, free: 45.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003285/0.4363, allocations: 27.83 kB / 459.6 MB, free: 45.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.4364, allocations: 6.156 kB / 459.6 MB, free: 45.04 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002596/0.4366, allocations: 157.2 kB / 459.8 MB, free: 44.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.4368, allocations: 26.83 kB / 459.8 MB, free: 44.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.842e-05/0.4369, allocations: 37.42 kB / 459.9 MB, free: 44.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.4369, allocations: 2.625 kB / 459.9 MB, free: 44.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.4369, allocations: 3.938 kB / 459.9 MB, free: 44.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.4369, allocations: 0 / 459.9 MB, free: 44.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007301/0.4377, allocations: 305.6 kB / 460.2 MB, free: 44.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.4377, allocations: 0 / 460.2 MB, free: 44.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005518/0.4383, allocations: 53.47 kB / 460.2 MB, free: 44.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.4383, allocations: 10.02 kB / 460.2 MB, free: 44.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.233e-05/0.4383, allocations: 4.875 kB / 460.2 MB, free: 44.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.4384, allocations: 3.219 kB / 460.2 MB, free: 44.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4384, allocations: 0 / 460.2 MB, free: 44.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.4395, allocations: 470.1 kB / 460.7 MB, free: 44.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.4397, allocations: 121.6 kB / 460.8 MB, free: 44.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.9e-05/0.4398, allocations: 5.938 kB / 460.8 MB, free: 44.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/0.4402, allocations: 22.06 kB / 460.8 MB, free: 44.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.758e-05/0.4403, allocations: 6.125 kB / 460.9 MB, free: 44.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.4403, allocations: 6.625 kB / 460.9 MB, free: 44.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002426/0.4406, allocations: 188.6 kB / 461 MB, free: 44.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.1e-07/0.4406, allocations: 0 / 461 MB, free: 44.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006174/0.4412, allocations: 65.66 kB / 461.1 MB, free: 44.25 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00122/0.4424, allocations: 1.08 MB / 462.2 MB, free: 43.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005413/0.443, allocations: 160.8 kB / 462.3 MB, free: 43.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.443, allocations: 3.062 kB / 462.3 MB, free: 43.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.4433, allocations: 79.53 kB / 462.4 MB, free: 43.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007252/0.444, allocations: 74.41 kB / 462.5 MB, free: 43.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003733/0.4478, allocations: 2.289 MB / 464.8 MB, free: 42.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.4481, allocations: 0.7875 MB / 465.6 MB, free: 41.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002867/0.4484, allocations: 53.86 kB / 465.6 MB, free: 41.44 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.4486, allocations: 81.45 kB / 465.7 MB, free: 41.43 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4486, allocations: 0 / 465.7 MB, free: 41.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02781/0.4764, allocations: 5.553 MB / 471.3 MB, free: 40.96 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002977/0.4768, allocations: 194.2 kB / 471.4 MB, free: 40.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/2.852, allocations: 0 / 471.4 MB, free: 40.72 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/linux/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) Environment - environmentSimulation: