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.0013/0.0013, allocations: 105 kB / 16.45 MB, free: 6.449 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.001372/0.001372, allocations: 212 kB / 19.43 MB, free: 3.637 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.388/1.388, allocations: 230.6 MB / 252.8 MB, free: 8.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002386/0.002386, allocations: 291.2 kB / 309.1 MB, free: 3.98 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.2/1.2, allocations: 180.9 MB / 0.5333 GB, free: 13.86 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002782/0.002782, allocations: 107.6 kB / 0.7342 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1741, allocations: 95.33 MB / 0.8273 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.003147/0.1773, allocations: 1.873 MB / 0.8292 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.1785, allocations: 0.7674 MB / 0.8299 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.003e-05/0.1786, allocations: 0 / 0.8299 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002067/0.1788, allocations: 35.7 kB / 0.8299 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.179, allocations: 59.67 kB / 0.83 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.1792, allocations: 75.83 kB / 0.8301 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003643/0.1796, allocations: 271.1 kB / 0.8303 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1797, allocations: 41.39 kB / 0.8304 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.1799, allocations: 111.7 kB / 0.8305 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.1801, allocations: 107.7 kB / 0.8306 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.622e-05/0.1801, allocations: 16 kB / 0.8306 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.16e-05/0.1802, allocations: 20 kB / 0.8306 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.496e-05/0.1802, allocations: 63.81 kB / 0.8307 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.1804, allocations: 107.5 kB / 0.8308 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.1807, allocations: 251 kB / 0.831 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1807, allocations: 0 / 0.831 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.532e-06/0.1807, allocations: 0 / 0.831 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.1807, allocations: 0 / 0.831 GB, free: 6.125 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.0009809/0.1817, allocations: 0.5393 MB / 0.8315 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1817, allocations: 12.03 kB / 0.8315 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.955e-05/0.1818, allocations: 46.73 kB / 0.8316 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.1819, allocations: 20.84 kB / 0.8316 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.1822, allocations: 240.5 kB / 0.8318 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1822, allocations: 12.38 kB / 0.8319 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.502e-05/0.1823, allocations: 12.38 kB / 0.8319 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003791/0.1826, allocations: 213.9 kB / 0.8321 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1827, allocations: 0 / 0.8321 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/0.1827, allocations: 11.98 kB / 0.8321 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.1827, allocations: 4 kB / 0.8321 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.1829, allocations: 116.6 kB / 0.8322 GB, free: 4.793 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.001246/0.1842, allocations: 1.006 MB / 0.8332 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007416/0.1849, allocations: 206.4 kB / 0.8334 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.1851, allocations: 72.81 kB / 0.8334 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.1851, allocations: 4 kB / 0.8334 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.1851, allocations: 30.56 kB / 0.8335 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.1851, allocations: 0 / 0.8335 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0005458/0.1857, allocations: 233.5 kB / 0.8337 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.1857, allocations: 59.41 kB / 0.8338 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.1859, allocations: 224 kB / 0.834 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.1859, allocations: 33.7 kB / 0.834 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.994e-05/0.186, allocations: 136.2 kB / 0.8341 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/0.1861, allocations: 43.62 kB / 0.8342 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.601e-05/0.1862, allocations: 53.69 kB / 0.8342 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1863, allocations: 326.8 kB / 0.8345 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.1866, allocations: 159.9 kB / 0.8347 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002788/0.1868, allocations: 212.4 kB / 0.8349 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001869/0.1887, allocations: 0.898 MB / 0.8358 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1887, allocations: 4 kB / 0.8358 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007752/0.1895, allocations: 0.4912 MB / 0.8363 GB, free: 380 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.045e-05/0.1896, allocations: 61.67 kB / 0.8363 GB, free: 312 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.1896, allocations: 7.984 kB / 0.8363 GB, free: 304 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.1896, allocations: 0 / 0.8363 GB, free: 304 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.1898, allocations: 47.92 kB / 0.8364 GB, free: 256 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.1898, allocations: 4.312 kB / 0.8364 GB, free: 252 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.19, allocations: 47.59 kB / 0.8364 GB, free: 204 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.19, allocations: 12.16 kB / 0.8364 GB, free: 192 kB / 0.5762 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.0002279/0.1903, allocations: 179 kB / 0.8366 GB, free: 8 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.773e-05/0.1903, allocations: 20.08 kB / 0.8366 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.307e-05/0.1904, allocations: 21.41 kB / 0.8366 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1904, allocations: 0 / 0.8366 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1904, allocations: 0 / 0.8366 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.1904, allocations: 3.984 kB / 0.8366 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.1907, allocations: 233.3 kB / 0.8369 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1907, allocations: 0 / 0.8369 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.1909, allocations: 35.98 kB / 0.8369 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1909, allocations: 0 / 0.8369 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.1909, allocations: 11.98 kB / 0.8369 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1909, allocations: 0 / 0.8369 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1909, allocations: 0 / 0.8369 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005033/0.1914, allocations: 343.2 kB / 0.8372 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.826e-05/0.1915, allocations: 100.9 kB / 0.8373 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.1915, allocations: 4.062 kB / 0.8373 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.1917, allocations: 8 kB / 0.8373 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.1917, allocations: 7.984 kB / 0.8373 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.1917, allocations: 0 / 0.8373 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001383/0.1919, allocations: 155.3 kB / 0.8375 GB, free: 15 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1919, allocations: 0 / 0.8375 GB, free: 15 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003087/0.1922, allocations: 59.95 kB / 0.8376 GB, free: 14.94 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.0008027/0.193, allocations: 0.8997 MB / 0.8384 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000659/0.1936, allocations: 435.2 kB / 0.8388 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1936, allocations: 0 / 0.8388 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.1938, allocations: 71.95 kB / 0.8389 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.1941, allocations: 32.42 kB / 0.8389 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004352/0.1984, allocations: 3.428 MB / 0.8423 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.1988, allocations: 0.7397 MB / 0.843 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001242/0.1989, allocations: 37.05 kB / 0.8431 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.1991, allocations: 51.42 kB / 0.8431 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of SimCode: time 6.51e-07/0.1991, allocations: 7.875 kB / 0.8431 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03133/0.2304, allocations: 4.629 MB / 0.8476 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.877/8.107, allocations: 3.344 kB / 0.8476 GB, free: 4.598 MB / 0.5919 GB " [Timeout remaining time 652] (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: 12.127153289038688] Failed to read output from testmodel.py, exit status != 0: 8.18717815587297 8.200961014 8.017580508 Calling exit ...