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.001267/0.001267, 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.001376/0.001376, allocations: 211.8 kB / 22.25 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.396/1.396, 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.00246/0.00246, allocations: 282.9 kB / 312.7 MB, free: 2.59 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.166/1.166, allocations: 180.6 MB / 0.5369 GB, free: 14.5 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.003223/0.003223, allocations: 106.7 kB / 0.7395 GB, free: 27.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1804, allocations: 95.39 MB / 0.8326 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.003314/0.1837, allocations: 1.823 MB / 0.8344 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.1851, allocations: 0.709 MB / 0.8351 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.1852, allocations: 0 / 0.8351 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.1854, allocations: 35.77 kB / 0.8351 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.1857, allocations: 67.61 kB / 0.8352 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.1859, allocations: 75.83 kB / 0.8353 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004062/0.1863, allocations: 271.2 kB / 0.8355 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.1865, allocations: 33.56 kB / 0.8356 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000241/0.1867, allocations: 111.7 kB / 0.8357 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.1869, allocations: 103.6 kB / 0.8358 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.388e-05/0.187, allocations: 16 kB / 0.8358 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.827e-05/0.187, allocations: 24 kB / 0.8358 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.174e-05/0.1871, allocations: 59.81 kB / 0.8359 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.1872, allocations: 91.64 kB / 0.836 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003211/0.1876, allocations: 255 kB / 0.8362 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1876, allocations: 4 kB / 0.8362 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1876, allocations: 0 / 0.8362 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.1876, allocations: 4 kB / 0.8362 GB, free: 4.629 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.000908/0.1885, allocations: 471 kB / 0.8367 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.1885, allocations: 13.34 kB / 0.8367 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.805e-05/0.1886, allocations: 50.73 kB / 0.8367 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.1887, allocations: 20.84 kB / 0.8367 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.1891, allocations: 182.2 kB / 0.8369 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.1891, allocations: 8.375 kB / 0.8369 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.261e-05/0.1891, allocations: 16.38 kB / 0.8369 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.1895, allocations: 201.2 kB / 0.8371 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1895, allocations: 0 / 0.8371 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.1895, allocations: 4 kB / 0.8371 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.1895, allocations: 7.984 kB / 0.8371 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002384/0.1898, allocations: 124.6 kB / 0.8373 GB, free: 3.469 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.001092/0.1908, allocations: 0.6335 MB / 0.8379 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007253/0.1916, allocations: 202.4 kB / 0.8381 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.1917, allocations: 80.73 kB / 0.8381 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.1917, allocations: 4 kB / 0.8381 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.1917, allocations: 30.56 kB / 0.8382 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.1917, allocations: 0 / 0.8382 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0004887/0.1922, allocations: 229.5 kB / 0.8384 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.1923, allocations: 55.34 kB / 0.8384 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.1925, allocations: 227.9 kB / 0.8387 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.1925, allocations: 29.7 kB / 0.8387 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.1926, allocations: 144.3 kB / 0.8388 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.1927, allocations: 35.73 kB / 0.8389 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-05/0.1928, allocations: 65.64 kB / 0.8389 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1929, allocations: 326.8 kB / 0.8392 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003014/0.1932, allocations: 217.6 kB / 0.8394 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/0.1935, allocations: 275.9 kB / 0.8397 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001813/0.1954, allocations: 0.9066 MB / 0.8406 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1954, allocations: 0 / 0.8406 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008091/0.1962, allocations: 0.5748 MB / 0.8412 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.996e-05/0.1962, allocations: 53.67 kB / 0.8412 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1962, allocations: 0 / 0.8412 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1963, allocations: 7.938 kB / 0.8412 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.1965, allocations: 43.98 kB / 0.8413 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.1965, allocations: 7.984 kB / 0.8413 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.1967, allocations: 31.73 kB / 0.8413 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/0.1967, allocations: 16.14 kB / 0.8413 GB, free: 15.1 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.0002378/0.1969, allocations: 187.6 kB / 0.8415 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.197, allocations: 15.91 kB / 0.8415 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.45e-05/0.197, allocations: 17.41 kB / 0.8415 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.83e-06/0.197, allocations: 7.984 kB / 0.8415 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.197, allocations: 0 / 0.8415 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.197, allocations: 0 / 0.8415 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.1973, allocations: 188.5 kB / 0.8417 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.1973, allocations: 0 / 0.8417 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.1975, allocations: 39.92 kB / 0.8417 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1975, allocations: 4 kB / 0.8417 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.1975, allocations: 7.984 kB / 0.8418 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1975, allocations: 3.938 kB / 0.8418 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1975, allocations: 0 / 0.8418 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004971/0.198, allocations: 343.3 kB / 0.8421 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.175e-05/0.1981, allocations: 19.97 kB / 0.8421 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.1981, allocations: 8.062 kB / 0.8421 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.1982, allocations: 4 kB / 0.8421 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.1983, allocations: 7.984 kB / 0.8421 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.1983, allocations: 0 / 0.8421 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001436/0.1984, allocations: 163.3 kB / 0.8423 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1984, allocations: 0 / 0.8423 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002958/0.1987, allocations: 60 kB / 0.8423 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.0007927/0.1995, allocations: 0.8806 MB / 0.8432 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006596/0.2002, allocations: 456.8 kB / 0.8436 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2002, allocations: 320 / 0.8436 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.2003, allocations: 79.88 kB / 0.8437 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.2006, allocations: 23.98 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.004437/0.205, allocations: 3.665 MB / 0.8473 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.2052, allocations: 131.4 kB / 0.8474 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001188/0.2053, allocations: 41.03 kB / 0.8475 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.2054, allocations: 47.42 kB / 0.8475 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.2054, allocations: 4 kB / 0.8475 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03586/0.2413, allocations: 5.329 MB / 0.8527 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/10.94, allocations: 8.062 kB / 0.8527 GB, free: 3.309 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 & /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: 14.936908254399896] Failed to read output from testmodel.py, exit status != 0: 11.049051709938794 11.065587753 10.874543599 Calling exit ...