Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.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.001354/0.001354, allocations: 114.3 kB / 18.94 MB, free: 2.781 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.001674/0.001674, allocations: 217.5 kB / 22.25 MB, free: 5.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.44/1.44, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002501/0.002501, allocations: 279.3 kB / 312.7 MB, free: 2.898 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.21/1.21, allocations: 180.6 MB / 0.5369 GB, free: 13.01 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1DNodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1DNodes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 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.002881/0.002881, allocations: 109.9 kB / 0.7396 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1753, allocations: 95.38 MB / 0.8327 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.003386/0.1786, allocations: 1.885 MB / 0.8345 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.1799, allocations: 0.7713 MB / 0.8353 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.735e-05/0.18, allocations: 7.938 kB / 0.8353 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.1802, allocations: 31.78 kB / 0.8353 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.1804, allocations: 67.59 kB / 0.8354 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.1807, allocations: 67.89 kB / 0.8355 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003971/0.1811, allocations: 275.1 kB / 0.8357 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.1812, allocations: 33.58 kB / 0.8358 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.1814, allocations: 115.7 kB / 0.8359 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.1816, allocations: 103.7 kB / 0.836 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.884e-05/0.1816, allocations: 24 kB / 0.836 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.886e-05/0.1817, allocations: 20 kB / 0.836 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.703e-05/0.1818, allocations: 59.81 kB / 0.8361 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.1819, allocations: 107.5 kB / 0.8362 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.1822, allocations: 247 kB / 0.8364 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1822, allocations: 0 / 0.8364 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.784e-06/0.1822, allocations: 0 / 0.8364 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.1823, allocations: 0 / 0.8364 GB, free: 4.832 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0009125/0.1832, allocations: 484.2 kB / 0.8369 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1832, allocations: 9.344 kB / 0.8369 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.852e-05/0.1833, allocations: 50.67 kB / 0.8369 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.1834, allocations: 28.83 kB / 0.837 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.1837, allocations: 174.2 kB / 0.8371 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.1837, allocations: 20.31 kB / 0.8371 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.781e-05/0.1838, allocations: 12.38 kB / 0.8372 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003868/0.1842, allocations: 209.9 kB / 0.8374 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1842, allocations: 0 / 0.8374 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.1842, allocations: 8 kB / 0.8374 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1842, allocations: 0 / 0.8374 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002499/0.1844, allocations: 120.6 kB / 0.8375 GB, free: 3.656 MB / 0.5762 GB 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.001286/0.1857, allocations: 0.9736 MB / 0.8384 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007656/0.1865, allocations: 206.4 kB / 0.8386 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.1866, allocations: 72.81 kB / 0.8387 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.1867, allocations: 0 / 0.8387 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.1867, allocations: 38.5 kB / 0.8387 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.1867, allocations: 0 / 0.8387 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0005242/0.1872, allocations: 241.5 kB / 0.839 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.1872, allocations: 51.41 kB / 0.839 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.1875, allocations: 224 kB / 0.8392 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.1875, allocations: 29.7 kB / 0.8392 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.1876, allocations: 140.2 kB / 0.8394 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.1877, allocations: 35.69 kB / 0.8394 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.1878, allocations: 57.69 kB / 0.8395 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1879, allocations: 330.8 kB / 0.8398 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.1882, allocations: 159.9 kB / 0.8399 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002877/0.1885, allocations: 206.8 kB / 0.8401 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/0.1903, allocations: 0.8913 MB / 0.841 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1903, allocations: 0 / 0.841 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007679/0.1911, allocations: 0.4989 MB / 0.8415 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.921e-05/0.1912, allocations: 63.55 kB / 0.8416 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.1912, allocations: 0 / 0.8416 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.1912, allocations: 4 kB / 0.8416 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.1914, allocations: 56.06 kB / 0.8416 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1914, allocations: 0 / 0.8416 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.1916, allocations: 39.72 kB / 0.8417 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.1917, allocations: 15.94 kB / 0.8417 GB, free: 15.09 MB / 0.5919 GB Warning: Assuming fixed start value for the following 5 variables: body.T[1]:VARIABLE(min = 0.0 start = body.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [5] body.T[2]:VARIABLE(min = 0.0 start = body.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [5] body.T[3]:VARIABLE(min = 0.0 start = body.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [5] body.T[4]:VARIABLE(min = 0.0 start = body.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [5] body.T[5]:VARIABLE(min = 0.0 start = body.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [5] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * 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.0002922/0.192, allocations: 177.3 kB / 0.8418 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/0.192, allocations: 11.91 kB / 0.8418 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.554e-05/0.1921, allocations: 21.41 kB / 0.8419 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1921, allocations: 0 / 0.8419 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1921, allocations: 0 / 0.8419 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1921, allocations: 8 kB / 0.8419 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/0.1924, allocations: 208.4 kB / 0.8421 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1924, allocations: 0 / 0.8421 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.1926, allocations: 35.97 kB / 0.8421 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1926, allocations: 0 / 0.8421 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.1927, allocations: 4 kB / 0.8421 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1927, allocations: 0 / 0.8421 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.1927, allocations: 4 kB / 0.8421 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005316/0.1932, allocations: 351.2 kB / 0.8424 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.079e-05/0.1932, allocations: 15.97 kB / 0.8425 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.1933, allocations: 7.984 kB / 0.8425 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.1934, allocations: 0 / 0.8425 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.1934, allocations: 15.92 kB / 0.8425 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.1934, allocations: 4 kB / 0.8425 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001423/0.1936, allocations: 155.3 kB / 0.8426 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1936, allocations: 0 / 0.8426 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003138/0.1939, allocations: 59.95 kB / 0.8427 GB, free: 13.97 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (body.T[1],body.T[2],body.T[3],body.T[4],body.T[5]) * 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 (8): * Single equations (assignments): 8 * 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.0008393/0.1947, allocations: 0.8801 MB / 0.8436 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006935/0.1954, allocations: 439.9 kB / 0.844 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1954, allocations: 4 kB / 0.844 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.1956, allocations: 71.89 kB / 0.844 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.1959, allocations: 30.19 kB / 0.8441 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004423/0.2003, allocations: 3.437 MB / 0.8474 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.2007, allocations: 0.7436 MB / 0.8482 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001083/0.2008, allocations: 37.05 kB / 0.8482 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.2009, allocations: 47.42 kB / 0.8482 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of SimCode: time 7.81e-07/0.2009, allocations: 4 kB / 0.8482 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03322/0.2341, allocations: 4.826 MB / 0.853 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.41, allocations: 8.375 kB / 0.853 GB, free: 3.449 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1DNodes_fmu --startTime=0 --stopTime=864000 --stepSize=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1DNodes.fmu > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.480450693052262] Failed to read output from testmodel.py, exit status != 0: 11.528683364158496 11.558059362 11.370649318 Calling exit ...