Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.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.001013/0.001013, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001543/0.002557, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001121/0.001121, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001511/0.002632, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9662/0.9662, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0785/1.045, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] 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.001885/0.001885, allocations: 234.2 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001302/0.003187, allocations: 475.6 kB / 244.8 MB, free: 14.07 MB / 250.7 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 0.707/0.707, allocations: 138.7 MB / 384.3 MB, free: 364 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0705/0.7775, allocations: 42.41 MB / 426.7 MB, free: 5.828 MB / 410.7 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: translateModel(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D") translateModel(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 428 MB, free: 4.52 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.1e-05, allocations: 6.25 kB / 428 MB, free: 4.512 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.002907/0.002928, allocations: 3.012 MB / 431 MB, free: 1.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.003965, allocations: 0.7787 MB / 431.8 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.004104, allocations: 15.88 kB / 431.8 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.004253, allocations: 75.41 kB / 431.9 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001595/0.004412, allocations: 122.9 kB / 432 MB, free: 496 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/0.00456, allocations: 75.72 kB / 432.1 MB, free: 420 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.004836, allocations: 393.8 kB / 432.5 MB, free: 24 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1899/0.1948, allocations: 62.97 kB / 432.6 MB, free: 1.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004498/0.1952, allocations: 231.7 kB / 432.8 MB, free: 1.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.1954, allocations: 108 kB / 432.9 MB, free: 1.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.1954, allocations: 24.25 kB / 432.9 MB, free: 1.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.618e-05/0.1955, allocations: 33.64 kB / 432.9 MB, free: 1.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.505e-05/0.1955, allocations: 43.22 kB / 433 MB, free: 1.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.978e-05/0.1956, allocations: 87.8 kB / 433.1 MB, free: 1.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.1959, allocations: 205.4 kB / 433.3 MB, free: 1.398 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.1959, allocations: 0 / 433.3 MB, free: 1.398 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1959, allocations: 0 / 433.3 MB, free: 1.398 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.1959, allocations: 0.5 kB / 433.3 MB, free: 1.398 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0005351/0.1964, allocations: 0.5593 MB / 433.8 MB, free: 17.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.745e-05/0.1964, allocations: 12.62 kB / 433.8 MB, free: 17.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.1966, allocations: 130.5 kB / 434 MB, free: 16.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.1968, allocations: 202.2 kB / 434.2 MB, free: 16.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.1968, allocations: 18.62 kB / 434.2 MB, free: 16.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.1969, allocations: 27.81 kB / 434.2 MB, free: 16.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.1971, allocations: 184.7 kB / 434.4 MB, free: 16.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1971, allocations: 192 / 434.4 MB, free: 16.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.1971, allocations: 13.75 kB / 434.4 MB, free: 16.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.1971, allocations: 15.38 kB / 434.4 MB, free: 16.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.561e-05/0.1972, allocations: 70.69 kB / 434.5 MB, free: 16.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006348/0.1978, allocations: 0.4982 MB / 435 MB, free: 16.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004576/0.1983, allocations: 222 kB / 435.2 MB, free: 16.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.953e-05/0.1983, allocations: 26.75 kB / 435.2 MB, free: 16.53 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.1983, allocations: 2.5 kB / 435.2 MB, free: 16.53 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.1983, allocations: 44.11 kB / 435.3 MB, free: 16.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.1983, allocations: 0 / 435.3 MB, free: 16.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.000531/0.1989, allocations: 237.8 kB / 435.5 MB, free: 16.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.1989, allocations: 61.44 kB / 435.6 MB, free: 16.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.1991, allocations: 271 kB / 435.8 MB, free: 16.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.1991, allocations: 31.14 kB / 435.9 MB, free: 16.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.266e-05/0.1992, allocations: 207.5 kB / 436.1 MB, free: 16.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.142e-05/0.1992, allocations: 70.73 kB / 436.1 MB, free: 16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.559e-05/0.1993, allocations: 70.73 kB / 436.2 MB, free: 15.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.252e-05/0.1994, allocations: 340.7 kB / 436.5 MB, free: 15.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.748e-05/0.1995, allocations: 29.64 kB / 436.6 MB, free: 15.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.191e-05/0.1995, allocations: 140.3 kB / 436.7 MB, free: 15.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/0.1998, allocations: 267 kB / 437 MB, free: 15.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1998, allocations: 2.688 kB / 437 MB, free: 15.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003656/0.2002, allocations: 277.8 kB / 437.2 MB, free: 15.33 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.2002, allocations: 7.094 kB / 437.2 MB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.2002, allocations: 13.06 kB / 437.3 MB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000228/0.2004, allocations: 81.86 kB / 437.3 MB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.2006, allocations: 90.7 kB / 437.4 MB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/0.2029, allocations: 4.635 MB / 442.1 MB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.203, allocations: 37.86 kB / 442.1 MB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.2031, allocations: 13.72 kB / 442.1 MB, free: 10.77 MB / 426.7 MB Warning: Assuming fixed start value for the following 5 variables: body1.T:VARIABLE(min = 0.0 start = body1.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the thermal node\" type: Real body2.T:VARIABLE(min = 0.0 start = body2.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the thermal node\" type: Real body3.T:VARIABLE(min = 0.0 start = body3.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the thermal node\" type: Real body4.T:VARIABLE(min = 0.0 start = body4.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the thermal node\" type: Real body5.T:VARIABLE(min = 0.0 start = body5.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the thermal node\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000178/0.2032, allocations: 160.3 kB / 442.3 MB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.2033, allocations: 17.17 kB / 442.3 MB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.363e-05/0.2033, allocations: 31.88 kB / 442.3 MB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2033, allocations: 2.953 kB / 442.3 MB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.2033, allocations: 1.406 kB / 442.3 MB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2033, allocations: 6.844 kB / 442.3 MB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.2035, allocations: 148.4 kB / 442.5 MB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2035, allocations: 0.9375 kB / 442.5 MB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.2037, allocations: 44.7 kB / 442.5 MB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.019e-05/0.2037, allocations: 27.16 kB / 442.5 MB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001835/0.2039, allocations: 76.23 kB / 442.6 MB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.2039, allocations: 3.719 kB / 442.6 MB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002115/0.206, allocations: 4.629 MB / 447.2 MB, free: 6.016 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.206, allocations: 4.625 kB / 447.3 MB, free: 6.012 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004358/0.2065, allocations: 293.2 kB / 447.5 MB, free: 5.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.2065, allocations: 8.094 kB / 447.5 MB, free: 5.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.003e-05/0.2066, allocations: 3.391 kB / 447.5 MB, free: 5.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.2066, allocations: 18.86 kB / 447.6 MB, free: 5.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.2066, allocations: 6.859 kB / 447.6 MB, free: 5.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.021e-05/0.2067, allocations: 88.58 kB / 447.7 MB, free: 5.824 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2067, allocations: 0 / 447.7 MB, free: 5.824 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003747/0.2071, allocations: 94.48 kB / 447.8 MB, free: 5.816 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (body1.T,body2.T,body3.T,body4.T,body5.T) * 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 (12): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.508e-05/0.2072, allocations: 91.03 kB / 447.8 MB, free: 5.746 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004577/0.2077, allocations: 0.599 MB / 448.4 MB, free: 5.293 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.411e-05/0.2077, allocations: 7.156 kB / 448.4 MB, free: 5.293 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003277/0.208, allocations: 0.5037 MB / 449 MB, free: 4.844 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.2084, allocations: 378.9 kB / 449.3 MB, free: 4.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005371/0.2138, allocations: 0.5395 MB / 449.9 MB, free: 4.219 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.162e-05/0.2138, allocations: 92.59 kB / 450 MB, free: 4.148 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.214, allocations: 33.52 kB / 450 MB, free: 4.145 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.2141, allocations: 108.6 kB / 450.1 MB, free: 4.098 MB / 426.7 MB Notification: Performance of SimCode: time 9.02e-07/0.2141, allocations: 1.438 kB / 450.1 MB, free: 4.098 MB / 426.7 MB Notification: Performance of Templates: time 0.008324/0.2224, allocations: 4.765 MB / 454.9 MB, free: 3.094 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.sim & ./BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.51633342821151]