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.001415/0.001415, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001771/0.001771, allocations: 212.2 kB / 22.24 MB, free: 5.258 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.42/1.42, allocations: 230.6 MB / 256 MB, free: 7.785 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.002606/0.002606, allocations: 286.6 kB / 312.7 MB, free: 2.688 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.204/1.204, allocations: 180.6 MB / 0.5369 GB, free: 14.38 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.002892/0.002892, allocations: 101 kB / 0.7395 GB, free: 28.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1791, allocations: 95.37 MB / 0.8326 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.003238/0.1823, allocations: 1.838 MB / 0.8344 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.1836, allocations: 0.7051 MB / 0.8351 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.528e-05/0.1837, allocations: 4 kB / 0.8351 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002278/0.1839, allocations: 31.78 kB / 0.8351 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.1841, allocations: 67.59 kB / 0.8352 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.1844, allocations: 71.83 kB / 0.8353 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004002/0.1848, allocations: 271.2 kB / 0.8355 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.1849, allocations: 33.58 kB / 0.8356 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.1852, allocations: 115.7 kB / 0.8357 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.1853, allocations: 99.7 kB / 0.8358 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.377e-05/0.1854, allocations: 20 kB / 0.8358 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.478e-05/0.1855, allocations: 27.94 kB / 0.8358 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.85e-05/0.1856, allocations: 59.86 kB / 0.8359 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.1857, allocations: 87.66 kB / 0.8359 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003406/0.186, allocations: 254.9 kB / 0.8362 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.186, allocations: 0 / 0.8362 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/0.186, allocations: 0 / 0.8362 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.186, allocations: 0 / 0.8362 GB, free: 4.637 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.0008997/0.1869, allocations: 479.1 kB / 0.8366 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.187, allocations: 9.344 kB / 0.8367 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.556e-05/0.187, allocations: 42.73 kB / 0.8367 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.1872, allocations: 32.83 kB / 0.8367 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.1875, allocations: 170.2 kB / 0.8369 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.1875, allocations: 16.38 kB / 0.8369 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.692e-05/0.1875, allocations: 12.38 kB / 0.8369 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/0.1879, allocations: 206 kB / 0.8371 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1879, allocations: 0 / 0.8371 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.188, allocations: 8 kB / 0.8371 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.188, allocations: 3.984 kB / 0.8371 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002355/0.1882, allocations: 124.5 kB / 0.8372 GB, free: 3.473 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.001072/0.1893, allocations: 0.6374 MB / 0.8379 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007583/0.19, allocations: 206.4 kB / 0.8381 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.1902, allocations: 72.75 kB / 0.8381 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.1902, allocations: 0 / 0.8381 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.1902, allocations: 34.56 kB / 0.8382 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.1902, allocations: 4 kB / 0.8382 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0005011/0.1907, allocations: 233.6 kB / 0.8384 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.88e-05/0.1908, allocations: 55.41 kB / 0.8384 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.191, allocations: 231.8 kB / 0.8387 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.1911, allocations: 25.7 kB / 0.8387 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.1912, allocations: 144.2 kB / 0.8388 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.1912, allocations: 31.73 kB / 0.8389 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.692e-05/0.1913, allocations: 57.66 kB / 0.8389 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.1915, allocations: 330.8 kB / 0.8392 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.1918, allocations: 225.5 kB / 0.8394 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003658/0.1922, allocations: 270.2 kB / 0.8397 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00184/0.194, allocations: 0.9106 MB / 0.8406 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.194, allocations: 0 / 0.8406 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007946/0.1948, allocations: 0.567 MB / 0.8411 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001443/0.195, allocations: 59.86 kB / 0.8412 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.195, allocations: 4 kB / 0.8412 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.195, allocations: 0 / 0.8412 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.1952, allocations: 59.91 kB / 0.8413 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1952, allocations: 0 / 0.8413 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.1954, allocations: 39.62 kB / 0.8413 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.1954, allocations: 12 kB / 0.8413 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.0002777/0.1957, allocations: 180.8 kB / 0.8415 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.826e-05/0.1957, allocations: 11.91 kB / 0.8415 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.005e-05/0.1958, allocations: 25.39 kB / 0.8415 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1958, allocations: 4 kB / 0.8415 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1958, allocations: 0 / 0.8415 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1958, allocations: 0 / 0.8415 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.1961, allocations: 192.5 kB / 0.8417 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1961, allocations: 0 / 0.8417 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.1963, allocations: 35.97 kB / 0.8417 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1963, allocations: 0 / 0.8417 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.1963, allocations: 0 / 0.8417 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1963, allocations: 7.938 kB / 0.8417 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1963, allocations: 0 / 0.8417 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004885/0.1968, allocations: 357.3 kB / 0.8421 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.399e-05/0.1968, allocations: 19.92 kB / 0.8421 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.1969, allocations: 7.984 kB / 0.8421 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.197, allocations: 4 kB / 0.8421 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.197, allocations: 3.984 kB / 0.8421 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.197, allocations: 8 kB / 0.8421 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001348/0.1972, allocations: 155.3 kB / 0.8423 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.1972, allocations: 3.938 kB / 0.8423 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003081/0.1975, allocations: 56 kB / 0.8423 GB, free: 13.98 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.0007755/0.1983, allocations: 0.8806 MB / 0.8432 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006519/0.1989, allocations: 460.9 kB / 0.8436 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1989, allocations: 0 / 0.8436 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.199, allocations: 75.89 kB / 0.8437 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.1993, allocations: 37.42 kB / 0.8437 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004477/0.2038, allocations: 3.669 MB / 0.8473 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.204, allocations: 123.4 kB / 0.8474 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001129/0.2041, allocations: 41.05 kB / 0.8475 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.2042, allocations: 51.42 kB / 0.8475 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of SimCode: time 5.31e-07/0.2042, allocations: 0 / 0.8475 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03327/0.2374, allocations: 5.308 MB / 0.8527 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.17, allocations: 4.625 kB / 0.8527 GB, free: 3.324 MB / 0.5919 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3600 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.301113014575094] Failed to read output from testmodel.py, exit status != 0: 11.275424113031477 11.29423469 11.104991875 Calling exit ...