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.001051/0.001051, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001405/0.002456, allocations: 435.8 kB / 10.33 MB, free: 368 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.001053/0.001053, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001157/0.00221, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9535/0.9535, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09745/1.051, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.001799/0.001799, allocations: 225.5 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001243/0.003042, allocations: 474.9 kB / 244.7 MB, free: 14.17 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.7595/0.7595, allocations: 138.7 MB / 384.1 MB, free: 488 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07958/0.8391, allocations: 42.4 MB / 426.5 MB, free: 5.938 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.392e-06/1.392e-06, allocations: 0 / 427.8 MB, free: 4.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.011e-05, allocations: 2.312 kB / 427.8 MB, free: 4.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.003218/0.003239, allocations: 3.004 MB / 430.8 MB, free: 1.633 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.004397, allocations: 0.7865 MB / 431.5 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.004551, allocations: 23.75 kB / 431.6 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.004693, allocations: 67.47 kB / 431.6 MB, free: 0.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.004855, allocations: 126.9 kB / 431.8 MB, free: 0.625 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001527/0.005007, allocations: 67.78 kB / 431.8 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003045/0.005312, allocations: 389.8 kB / 432.2 MB, free: 180 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.005454, allocations: 78.91 kB / 432.3 MB, free: 100 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2012/0.2067, allocations: 220.5 kB / 432.5 MB, free: 1.508 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002629/0.2069, allocations: 111.3 kB / 432.6 MB, free: 1.508 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.937e-05/0.207, allocations: 23.91 kB / 432.6 MB, free: 1.508 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.2071, allocations: 30.25 kB / 432.7 MB, free: 1.508 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.211e-05/0.2072, allocations: 45.02 kB / 432.7 MB, free: 1.508 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.642e-05/0.2073, allocations: 89.27 kB / 432.8 MB, free: 1.508 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003535/0.2076, allocations: 205.7 kB / 433 MB, free: 1.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.689e-05/0.2076, allocations: 0.75 kB / 433 MB, free: 1.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2076, allocations: 1.875 kB / 433 MB, free: 1.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.827e-05/0.2076, allocations: 0 / 433 MB, free: 1.5 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.0007453/0.2084, allocations: 0.5623 MB / 433.6 MB, free: 17.17 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.2084, allocations: 11.69 kB / 433.6 MB, free: 17.17 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002346/0.2087, allocations: 134.3 kB / 433.7 MB, free: 17.08 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.2089, allocations: 194.9 kB / 433.9 MB, free: 16.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.2089, allocations: 22.66 kB / 433.9 MB, free: 16.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.724e-05/0.209, allocations: 22.31 kB / 433.9 MB, free: 16.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.2092, allocations: 183.6 kB / 434.1 MB, free: 16.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.2092, allocations: 2.375 kB / 434.1 MB, free: 16.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.2092, allocations: 8.562 kB / 434.1 MB, free: 16.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.2092, allocations: 11.38 kB / 434.1 MB, free: 16.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.2093, allocations: 73.7 kB / 434.2 MB, free: 16.88 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007619/0.2101, allocations: 0.5029 MB / 434.7 MB, free: 16.67 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004014/0.2105, allocations: 214.5 kB / 434.9 MB, free: 16.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.705e-05/0.2105, allocations: 26.78 kB / 434.9 MB, free: 16.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.2106, allocations: 7.531 kB / 435 MB, free: 16.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.2106, allocations: 38.72 kB / 435 MB, free: 16.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=16): time 2.144e-06/0.2106, allocations: 0.5 kB / 435 MB, free: 16.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005378/0.2111, allocations: 244.7 kB / 435.2 MB, free: 16.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.2112, allocations: 59.25 kB / 435.3 MB, free: 16.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.2114, allocations: 271.1 kB / 435.6 MB, free: 16.33 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.2114, allocations: 28.39 kB / 435.6 MB, free: 16.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.2115, allocations: 211.5 kB / 435.8 MB, free: 16.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.56e-05/0.2115, allocations: 72.22 kB / 435.9 MB, free: 16.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.959e-05/0.2116, allocations: 67.25 kB / 435.9 MB, free: 16.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.666e-05/0.2117, allocations: 343.5 kB / 436.3 MB, free: 15.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.336e-05/0.2117, allocations: 29.48 kB / 436.3 MB, free: 15.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.086e-05/0.2118, allocations: 142.5 kB / 436.4 MB, free: 15.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.212, allocations: 246.1 kB / 436.7 MB, free: 15.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.212, allocations: 2.375 kB / 436.7 MB, free: 15.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003374/0.2124, allocations: 280.8 kB / 436.9 MB, free: 15.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.2124, allocations: 7.031 kB / 436.9 MB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.2124, allocations: 6.297 kB / 437 MB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002124/0.2126, allocations: 79.83 kB / 437 MB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.2128, allocations: 89.17 kB / 437.1 MB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/0.215, allocations: 4.65 MB / 441.8 MB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.2152, allocations: 35.61 kB / 441.8 MB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.2152, allocations: 13.53 kB / 441.8 MB, free: 10.89 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.0001886/0.2154, allocations: 163.9 kB / 442 MB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.619e-05/0.2154, allocations: 23.03 kB / 442 MB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.328e-05/0.2154, allocations: 34.47 kB / 442 MB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2154, allocations: 2.938 kB / 442 MB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.2154, allocations: 4.688 kB / 442 MB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.2154, allocations: 5.906 kB / 442 MB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.2156, allocations: 144.1 kB / 442.2 MB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.2156, allocations: 1.109 kB / 442.2 MB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.2158, allocations: 39.22 kB / 442.2 MB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-05/0.2158, allocations: 28.25 kB / 442.3 MB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001739/0.216, allocations: 79.22 kB / 442.3 MB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.216, allocations: 2.109 kB / 442.3 MB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002154/0.2181, allocations: 4.626 MB / 447 MB, free: 6.125 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.2181, allocations: 5.531 kB / 447 MB, free: 6.121 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.2184, allocations: 290.9 kB / 447.3 MB, free: 5.953 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.2185, allocations: 6.344 kB / 447.3 MB, free: 5.953 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.452e-05/0.2185, allocations: 5.938 kB / 447.3 MB, free: 5.953 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/0.2186, allocations: 16.95 kB / 447.3 MB, free: 5.953 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.2186, allocations: 3.844 kB / 447.3 MB, free: 5.953 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.397e-05/0.2187, allocations: 88.42 kB / 447.4 MB, free: 5.938 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2187, allocations: 0 / 447.4 MB, free: 5.938 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003215/0.219, allocations: 96.95 kB / 447.5 MB, free: 5.934 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 0.0001141/0.2191, allocations: 86.7 kB / 447.5 MB, free: 5.863 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004717/0.2196, allocations: 0.5947 MB / 448.1 MB, free: 5.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.456e-05/0.2196, allocations: 7.859 kB / 448.2 MB, free: 5.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002943/0.2199, allocations: 0.5051 MB / 448.7 MB, free: 4.961 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.2201, allocations: 74.02 kB / 448.7 MB, free: 4.957 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004023/0.2241, allocations: 0.547 MB / 449.3 MB, free: 4.652 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.175e-05/0.2242, allocations: 92.66 kB / 449.4 MB, free: 4.582 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.2244, allocations: 34.69 kB / 449.4 MB, free: 4.582 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.2245, allocations: 101.4 kB / 449.5 MB, free: 4.539 MB / 426.7 MB Notification: Performance of SimCode: time 1.293e-06/0.2245, allocations: 0 / 449.5 MB, free: 4.539 MB / 426.7 MB Notification: Performance of Templates: time 0.008521/0.233, allocations: 4.532 MB / 454 MB, free: 3.68 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.6149611491709948]