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.001295/0.001295, allocations: 110.3 kB / 17.06 MB, free: 6.004 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.001276/0.001276, allocations: 198.9 kB / 18 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2589/0.2589, allocations: 48.84 MB / 320.1 MB, free: 11.01 MB / 270.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.001431/0.001431, allocations: 71.91 kB / 450 MB, free: 9.039 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09985/0.1013, allocations: 59.16 MB / 0.4973 GB, free: 13.75 MB / 398.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.03086/0.1322, allocations: 21.79 MB / 0.5185 GB, free: 7.867 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.1337, allocations: 0.667 MB / 0.5192 GB, free: 7.191 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.1339, allocations: 7.938 kB / 0.5192 GB, free: 7.184 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001976/0.1341, allocations: 51.58 kB / 0.5193 GB, free: 7.133 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004907/0.1346, allocations: 191.1 kB / 0.5194 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.1348, allocations: 59.92 kB / 0.5195 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004356/0.1352, allocations: 390.5 kB / 0.5199 GB, free: 6.504 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.1355, allocations: 156.1 kB / 0.52 GB, free: 6.352 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.1357, allocations: 163.4 kB / 0.5202 GB, free: 6.191 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002792/0.136, allocations: 207.2 kB / 0.5204 GB, free: 5.988 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.1361, allocations: 20 kB / 0.5204 GB, free: 5.969 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.1362, allocations: 31.98 kB / 0.5204 GB, free: 5.938 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.1363, allocations: 135.7 kB / 0.5205 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.1365, allocations: 151.3 kB / 0.5207 GB, free: 5.656 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003547/0.1368, allocations: 314.9 kB / 0.521 GB, free: 5.348 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.1368, allocations: 0 / 0.521 GB, free: 5.348 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1369, allocations: 0 / 0.521 GB, free: 5.348 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.1369, allocations: 0 / 0.521 GB, free: 5.348 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.0009085/0.1378, allocations: 0.5995 MB / 0.5216 GB, free: 4.699 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1378, allocations: 11.89 kB / 0.5216 GB, free: 4.688 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.664e-05/0.1379, allocations: 54.73 kB / 0.5216 GB, free: 4.625 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.887e-05/0.138, allocations: 40.55 kB / 0.5217 GB, free: 4.586 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.1383, allocations: 299.5 kB / 0.522 GB, free: 4.254 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.1384, allocations: 16.38 kB / 0.522 GB, free: 4.238 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.1384, allocations: 16.38 kB / 0.522 GB, free: 4.223 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004225/0.1388, allocations: 268.1 kB / 0.5223 GB, free: 3.945 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.1389, allocations: 0 / 0.5223 GB, free: 3.945 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.1389, allocations: 12 kB / 0.5223 GB, free: 3.934 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.1389, allocations: 4 kB / 0.5223 GB, free: 3.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003383/0.1392, allocations: 167.9 kB / 0.5224 GB, free: 3.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.001271/0.1405, allocations: 0.9279 MB / 0.5233 GB, free: 2.746 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004959/0.141, allocations: 181.2 kB / 0.5235 GB, free: 2.551 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.1412, allocations: 77.67 kB / 0.5236 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.1412, allocations: 0 / 0.5236 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1412, allocations: 38.5 kB / 0.5236 GB, free: 2.422 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.1412, allocations: 3.938 kB / 0.5236 GB, free: 2.418 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.000591/0.1418, allocations: 237.2 kB / 0.5238 GB, free: 2.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/0.1419, allocations: 106.8 kB / 0.524 GB, free: 2.051 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.1422, allocations: 270.6 kB / 0.5242 GB, free: 1.781 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.1422, allocations: 29.7 kB / 0.5242 GB, free: 1.746 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.928e-05/0.1423, allocations: 160.3 kB / 0.5244 GB, free: 1.586 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.992e-05/0.1424, allocations: 51.42 kB / 0.5244 GB, free: 1.535 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.378e-05/0.1424, allocations: 37.7 kB / 0.5245 GB, free: 1.492 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1426, allocations: 338.8 kB / 0.5248 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.1427, allocations: 59.95 kB / 0.5249 GB, free: 1.094 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.1429, allocations: 108.1 kB / 0.525 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/0.1432, allocations: 175.3 kB / 0.5251 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1432, allocations: 0 / 0.5251 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003992/0.1436, allocations: 221.2 kB / 0.5253 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1436, allocations: 8.062 kB / 0.5253 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.1436, allocations: 4 kB / 0.5253 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1437, allocations: 0 / 0.5253 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.1439, allocations: 55.91 kB / 0.5254 GB, free: 0.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/0.1439, allocations: 3.938 kB / 0.5254 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.1441, allocations: 24.08 kB / 0.5254 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.1441, allocations: 4 kB / 0.5254 GB, free: 480 kB / 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.0001414/0.1443, allocations: 157.8 kB / 0.5256 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.847e-05/0.1443, allocations: 23.72 kB / 0.5256 GB, free: 288 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.337e-05/0.1444, allocations: 33.7 kB / 0.5256 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.1444, allocations: 4 kB / 0.5256 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1444, allocations: 0 / 0.5256 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.485e-06/0.1444, allocations: 12.02 kB / 0.5257 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2087/0.3531, allocations: 306.6 kB / 0.5259 GB, free: 29.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.3532, allocations: 1.188 kB / 0.5259 GB, free: 29.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003803/0.3535, allocations: 50.31 kB / 0.526 GB, free: 29.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.3536, allocations: 2.094 kB / 0.526 GB, free: 29.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.3536, allocations: 4.016 kB / 0.526 GB, free: 29.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.207e-06/0.3536, allocations: 5.219 kB / 0.526 GB, free: 29.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3536, allocations: 1.25 kB / 0.526 GB, free: 29.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005786/0.3542, allocations: 438.2 kB / 0.5264 GB, free: 28.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.3543, allocations: 115.2 kB / 0.5265 GB, free: 28.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/0.3544, allocations: 8.828 kB / 0.5265 GB, free: 28.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.3546, allocations: 14.05 kB / 0.5266 GB, free: 28.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.3546, allocations: 8.891 kB / 0.5266 GB, free: 28.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.3546, allocations: 6.938 kB / 0.5266 GB, free: 28.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001692/0.3548, allocations: 194.2 kB / 0.5268 GB, free: 28.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3548, allocations: 0 / 0.5268 GB, free: 28.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003786/0.3552, allocations: 65.08 kB / 0.5268 GB, free: 28.67 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.0006752/0.3559, allocations: 0.9692 MB / 0.5278 GB, free: 27.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003333/0.3562, allocations: 159.5 kB / 0.5279 GB, free: 27.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3563, allocations: 1.156 kB / 0.5279 GB, free: 27.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.3564, allocations: 74.06 kB / 0.528 GB, free: 27.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005349/0.3569, allocations: 77.81 kB / 0.5281 GB, free: 27.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003095/0.36, allocations: 2.952 MB / 0.5309 GB, free: 26.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.3603, allocations: 0.7819 MB / 0.5317 GB, free: 25.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001791/0.3605, allocations: 59.73 kB / 0.5318 GB, free: 25.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.3606, allocations: 86.8 kB / 0.5318 GB, free: 25.76 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3606, allocations: 0 / 0.5318 GB, free: 25.76 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02854/0.3892, allocations: 6.305 MB / 0.538 GB, free: 25.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.745/8.134, allocations: 6.312 kB / 0.538 GB, free: 25.36 MB / 414.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/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)