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.001149/0.001149, allocations: 106.6 kB / 17.06 MB, free: 6.102 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.001187/0.001187, allocations: 194.9 kB / 18 MB, free: 5.172 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.336/1.336, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2647/0.2647, allocations: 48.85 MB / 320.1 MB, free: 11 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.001614/0.001615, allocations: 71.89 kB / 450.1 MB, free: 9.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1074, 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.03315/0.1406, allocations: 21.89 MB / 0.5187 GB, free: 7.754 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.142, allocations: 0.6631 MB / 0.5193 GB, free: 7.082 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.1423, allocations: 7.938 kB / 0.5193 GB, free: 7.074 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002133/0.1425, allocations: 63.5 kB / 0.5194 GB, free: 7.012 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005527/0.143, allocations: 199.1 kB / 0.5196 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.1433, allocations: 63.86 kB / 0.5196 GB, free: 6.754 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005067/0.1438, allocations: 386.6 kB / 0.52 GB, free: 6.375 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002524/0.144, allocations: 160.1 kB / 0.5201 GB, free: 6.219 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004238/0.1445, allocations: 163.4 kB / 0.5203 GB, free: 6.059 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000304/0.1448, allocations: 207.2 kB / 0.5205 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.878e-05/0.1448, allocations: 16 kB / 0.5205 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.145, allocations: 39.98 kB / 0.5206 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.1451, allocations: 135.6 kB / 0.5207 GB, free: 5.668 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001845/0.1453, allocations: 151.3 kB / 0.5208 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004362/0.1458, allocations: 318.7 kB / 0.5211 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1458, allocations: 0 / 0.5211 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1458, allocations: 0 / 0.5211 GB, free: 5.207 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.1458, allocations: 0 / 0.5211 GB, free: 5.207 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.001021/0.1468, allocations: 0.5993 MB / 0.5217 GB, free: 4.559 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.1469, allocations: 19.89 kB / 0.5217 GB, free: 4.539 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.126e-05/0.147, allocations: 54.73 kB / 0.5218 GB, free: 4.477 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.53e-05/0.147, allocations: 36.7 kB / 0.5218 GB, free: 4.441 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000434/0.1475, allocations: 303.7 kB / 0.5221 GB, free: 4.105 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.1475, allocations: 12.38 kB / 0.5221 GB, free: 4.094 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.703e-05/0.1476, allocations: 24.38 kB / 0.5221 GB, free: 4.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000502/0.1481, allocations: 260.1 kB / 0.5224 GB, free: 3.801 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1481, allocations: 0 / 0.5224 GB, free: 3.801 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.1481, allocations: 8 kB / 0.5224 GB, free: 3.793 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.1481, allocations: 8 kB / 0.5224 GB, free: 3.785 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004216/0.1486, allocations: 167.9 kB / 0.5226 GB, free: 3.621 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.00142/0.15, allocations: 0.9282 MB / 0.5235 GB, free: 2.602 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000517/0.1505, allocations: 177.2 kB / 0.5236 GB, free: 2.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.1507, allocations: 85.61 kB / 0.5237 GB, free: 2.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.1507, allocations: 3.938 kB / 0.5237 GB, free: 2.316 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.1508, allocations: 30.56 kB / 0.5238 GB, free: 2.277 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.1508, allocations: 0 / 0.5238 GB, free: 2.277 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006769/0.1514, allocations: 253.5 kB / 0.524 GB, free: 2.023 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.1515, allocations: 102.8 kB / 0.5241 GB, free: 1.898 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.1518, allocations: 266.6 kB / 0.5244 GB, free: 1.633 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.1519, allocations: 33.7 kB / 0.5244 GB, free: 1.594 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.152, allocations: 156.5 kB / 0.5245 GB, free: 1.438 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.279e-05/0.1521, allocations: 55.53 kB / 0.5246 GB, free: 1.383 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.331e-05/0.1521, allocations: 33.7 kB / 0.5246 GB, free: 1.344 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.1523, allocations: 338.8 kB / 0.5249 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.1525, allocations: 63.95 kB / 0.525 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.1527, allocations: 104.1 kB / 0.5251 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.153, allocations: 175.3 kB / 0.5253 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.153, allocations: 3.938 kB / 0.5253 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004305/0.1535, allocations: 221.7 kB / 0.5255 GB, free: 424 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1535, allocations: 4 kB / 0.5255 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1535, allocations: 0 / 0.5255 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1535, allocations: 8.062 kB / 0.5255 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.1538, allocations: 51.91 kB / 0.5255 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.1538, allocations: 4 kB / 0.5256 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.1539, allocations: 27.75 kB / 0.5256 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.1539, allocations: 4 kB / 0.5256 GB, free: 324 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.0001411/0.1541, allocations: 157.8 kB / 0.5257 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.31e-05/0.1542, allocations: 31.81 kB / 0.5258 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.191e-05/0.1542, allocations: 29.7 kB / 0.5258 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1542, allocations: 4.094 kB / 0.5258 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1543, allocations: 3.938 kB / 0.5258 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1543, allocations: 3.938 kB / 0.5258 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2043/0.3586, allocations: 300.1 kB / 0.5261 GB, free: 28.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.3586, allocations: 0 / 0.5261 GB, free: 28.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003315/0.359, allocations: 51.34 kB / 0.5261 GB, free: 28.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.359, allocations: 1.688 kB / 0.5261 GB, free: 28.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.359, allocations: 2.844 kB / 0.5261 GB, free: 28.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.359, allocations: 2.359 kB / 0.5261 GB, free: 28.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.359, allocations: 1.781 kB / 0.5261 GB, free: 28.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006021/0.3596, allocations: 442.8 kB / 0.5266 GB, free: 28.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.3597, allocations: 117.5 kB / 0.5267 GB, free: 28.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.3598, allocations: 11.44 kB / 0.5267 GB, free: 28.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.36, allocations: 9.688 kB / 0.5267 GB, free: 28.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.36, allocations: 14.67 kB / 0.5267 GB, free: 28.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.3601, allocations: 3.688 kB / 0.5267 GB, free: 28.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001604/0.3602, allocations: 190.5 kB / 0.5269 GB, free: 28.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3602, allocations: 4.812 kB / 0.5269 GB, free: 28.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003602/0.3606, allocations: 64.23 kB / 0.527 GB, free: 28.6 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.0007168/0.3613, allocations: 0.9696 MB / 0.5279 GB, free: 27.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003653/0.3617, allocations: 166.8 kB / 0.5281 GB, free: 27.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3617, allocations: 0 / 0.5281 GB, free: 27.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.3618, allocations: 69.92 kB / 0.5281 GB, free: 27.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005423/0.3624, allocations: 76.88 kB / 0.5282 GB, free: 27.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003717/0.3661, allocations: 2.97 MB / 0.5311 GB, free: 26.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.3665, allocations: 0.7857 MB / 0.5319 GB, free: 25.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002518/0.3668, allocations: 54.17 kB / 0.5319 GB, free: 25.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.3669, allocations: 82.67 kB / 0.532 GB, free: 25.68 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.367, allocations: 2.656 kB / 0.532 GB, free: 25.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.3949, allocations: 6.217 MB / 0.5381 GB, free: 25.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.097/8.492, allocations: 8.125 kB / 0.5381 GB, free: 25.28 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 & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWalls.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.pipe 2>&1)