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.001331/0.001331, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001496/0.001496, allocations: 177.4 kB / 23.36 MB, free: 1.129 MB / 18.57 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.091/1.091, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.001666/0.001666, allocations: 249.5 kB / 260.5 MB, free: 12.69 MB / 250.7 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 0.6891/0.6891, allocations: 138.4 MB / 402.2 MB, free: 0.5703 MB / 362.7 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: translateModel(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=240,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes") translateModel(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=240,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 462.3 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.908e-05, allocations: 5.25 kB / 462.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.003034/0.003053, allocations: 1.906 MB / 464.2 MB, free: 15.68 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.004385, allocations: 0.7543 MB / 464.9 MB, free: 15.2 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.004488, allocations: 6.938 kB / 464.9 MB, free: 15.19 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002289/0.004717, allocations: 30.94 kB / 465 MB, free: 15.18 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002518/0.004968, allocations: 67.83 kB / 465 MB, free: 15.14 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003447/0.005313, allocations: 78.05 kB / 465.1 MB, free: 15.11 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004343/0.005747, allocations: 278.7 kB / 465.4 MB, free: 14.98 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.005868, allocations: 34 kB / 465.4 MB, free: 14.97 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003075/0.006175, allocations: 155.3 kB / 465.6 MB, free: 14.91 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.00638, allocations: 94.45 kB / 465.7 MB, free: 14.88 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.124e-05/0.006421, allocations: 18.91 kB / 465.7 MB, free: 14.88 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.903e-05/0.00649, allocations: 24.89 kB / 465.7 MB, free: 14.88 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.91e-05/0.00657, allocations: 60.91 kB / 465.8 MB, free: 14.84 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.006675, allocations: 75.45 kB / 465.8 MB, free: 14.82 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003003/0.006976, allocations: 182.5 kB / 466 MB, free: 14.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.006978, allocations: 0 / 466 MB, free: 14.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.006979, allocations: 0 / 466 MB, free: 14.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.006984, allocations: 0.6875 kB / 466 MB, free: 14.75 MB / 426.7 MB 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.0006823/0.007666, allocations: 447.8 kB / 466.5 MB, free: 14.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.007701, allocations: 8.781 kB / 466.5 MB, free: 14.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.00787, allocations: 31.59 kB / 466.5 MB, free: 14.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.008096, allocations: 158.8 kB / 466.7 MB, free: 14.24 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.008112, allocations: 8.375 kB / 466.7 MB, free: 14.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/0.008153, allocations: 17.27 kB / 466.7 MB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.00839, allocations: 154.9 kB / 466.8 MB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.008398, allocations: 192 / 466.8 MB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.008415, allocations: 4.375 kB / 466.8 MB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.008423, allocations: 7.938 kB / 466.8 MB, free: 14.06 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.142e-05/0.008505, allocations: 31.28 kB / 466.9 MB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006496/0.009154, allocations: 0.4933 MB / 467.4 MB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004136/0.009568, allocations: 154.8 kB / 467.5 MB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.263e-05/0.009611, allocations: 16.84 kB / 467.5 MB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.009626, allocations: 0 / 467.5 MB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.00965, allocations: 38.56 kB / 467.6 MB, free: 13.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.009651, allocations: 0.75 kB / 467.6 MB, free: 13.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002033/0.009855, allocations: 79.56 kB / 467.7 MB, free: 13.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.009891, allocations: 55.39 kB / 467.7 MB, free: 13.15 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.01003, allocations: 200.8 kB / 467.9 MB, free: 12.94 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.01006, allocations: 29.7 kB / 467.9 MB, free: 12.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.959e-05/0.01013, allocations: 137.3 kB / 468.1 MB, free: 12.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.01016, allocations: 31.7 kB / 468.1 MB, free: 12.74 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.028e-05/0.01025, allocations: 61.64 kB / 468.2 MB, free: 12.67 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.548e-05/0.01034, allocations: 327.7 kB / 468.5 MB, free: 12.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.01048, allocations: 101.7 kB / 468.6 MB, free: 12.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.01061, allocations: 143.9 kB / 468.7 MB, free: 12.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.01096, allocations: 319.7 kB / 469 MB, free: 11.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.01097, allocations: 1 kB / 469 MB, free: 11.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003588/0.01133, allocations: 311.4 kB / 469.3 MB, free: 11.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.254e-05/0.01138, allocations: 57.61 kB / 469.4 MB, free: 11.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.01138, allocations: 1.125 kB / 469.4 MB, free: 11.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.0114, allocations: 7.938 kB / 469.4 MB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.01156, allocations: 40.48 kB / 469.4 MB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.01157, allocations: 12.61 kB / 469.5 MB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.01169, allocations: 35.72 kB / 469.5 MB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.01172, allocations: 4.531 kB / 469.5 MB, free: 11.25 MB / 426.7 MB 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.0001637/0.01188, allocations: 152.8 kB / 469.6 MB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.01192, allocations: 11.98 kB / 469.7 MB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.652e-05/0.01195, allocations: 21.47 kB / 469.7 MB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.01196, allocations: 4.469 kB / 469.7 MB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.01196, allocations: 3.984 kB / 469.7 MB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01196, allocations: 0.9375 kB / 469.7 MB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.01212, allocations: 106.4 kB / 469.8 MB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.01212, allocations: 1.281 kB / 469.8 MB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.01229, allocations: 27.98 kB / 469.8 MB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.01229, allocations: 0 / 469.8 MB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.01231, allocations: 8.688 kB / 469.8 MB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.01231, allocations: 4.797 kB / 469.8 MB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.01231, allocations: 0.5938 kB / 469.8 MB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.01255, allocations: 235.8 kB / 470.1 MB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.068e-05/0.01257, allocations: 15.53 kB / 470.1 MB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.0126, allocations: 8 kB / 470.1 MB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.271e-05/0.01268, allocations: 1.125 kB / 470.1 MB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.01272, allocations: 12.67 kB / 470.1 MB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.01273, allocations: 0 / 470.1 MB, free: 10.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.577e-05/0.01278, allocations: 54.44 kB / 470.1 MB, free: 10.58 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01278, allocations: 0.9062 kB / 470.1 MB, free: 10.58 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003003/0.01308, allocations: 63.89 kB / 470.2 MB, free: 10.52 MB / 426.7 MB 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 9.286e-05/0.01318, allocations: 82.66 kB / 470.3 MB, free: 10.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003283/0.0135, allocations: 266.3 kB / 470.6 MB, free: 10.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.01351, allocations: 0.9062 kB / 470.6 MB, free: 10.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.67e-05/0.01356, allocations: 20.86 kB / 470.6 MB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.01379, allocations: 30.34 kB / 470.6 MB, free: 10.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.01488, allocations: 457.2 kB / 471 MB, free: 9.652 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.646e-05/0.01496, allocations: 90.19 kB / 471.1 MB, free: 9.547 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.961e-05/0.01503, allocations: 10.95 kB / 471.1 MB, free: 9.535 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.01518, allocations: 75.92 kB / 471.2 MB, free: 9.461 MB / 426.7 MB Notification: Performance of SimCode: time 1.553e-06/0.01518, allocations: 0 / 471.2 MB, free: 9.461 MB / 426.7 MB Notification: Performance of Templates: time 0.004917/0.0201, allocations: 2.475 MB / 473.7 MB, free: 7.203 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.647854105103761]