Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.MultiLayerHeatConduction1DNodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002141/0.0002141, allocations: 0 / 0, free: 0 / 0 " [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.0003377/0.0003377, allocations: 0 / 0, free: 0 / 0 " [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.1491/0.1491, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.0007364/0.0007364, allocations: 0 / 0, free: 0 / 0 " [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.1376/0.1376, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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: simulate(BuildingSystems.HAM.HeatConduction.Examples.MultiLayerHeatConduction1DNodes,startTime=0,stopTime=864000,tolerance=1e-06,numberOfIntervals=240,outputFormat="empty",variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.MultiLayerHeatConduction1DNodes",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(BuildingSystems.HAM.HeatConduction.Examples.MultiLayerHeatConduction1DNodes,startTime=0,stopTime=864000,tolerance=1e-06,numberOfIntervals=240,outputFormat="empty",variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.MultiLayerHeatConduction1DNodes",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.684e-05/1.795e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.MultiLayerHeatConduction1DNodes): time 0.002795/0.002813, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.001471/0.004284, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 8.689e-05/0.004371, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0002289/0.0046, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0003453/0.004945, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.005205, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001133/0.006338, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0002794/0.006618, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.007628, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0007545/0.008383, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.008513, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.008658, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0002787/0.008936, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0004335/0.00937, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001045/0.01041, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001637/0.01058, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.253e-06/0.01058, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 9.909e-06/0.01059, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001997/0.01259, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 8.721e-05/0.01267, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003257/0.013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006374/0.01364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.201e-05/0.01371, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.01388, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009381/0.01482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.01484, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.4e-05/0.01492, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.01494, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003974/0.01533, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005222/0.02056, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0051/0.02566, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.02581, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.02583, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.02585, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=29): time 4.859e-06/0.02586, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=29): time 0.0009728/0.02683, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/0.02685, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004326/0.02728, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001321/0.02742, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.02761, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.02775, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.003411/0.03116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 4.73e-05/0.03121, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005608/0.03177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005832/0.03235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.00472/0.03707, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.03708, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=145) (initialization): time 0.001743/0.03882, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001855/0.03901, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.03902, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0002528/0.03927, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006303/0.0399, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004687/0.04459, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004833/0.04507, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/0.04526, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 20 variables: body[1].layer[1].T[1]:VARIABLE(min = 0.0 start = body[1].layer[1].T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [2,2,5] body[1].layer[1].T[2]:VARIABLE(min = 0.0 start = body[1].layer[1].T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [2,2,5] body[1].layer[1].T[3]:VARIABLE(min = 0.0 start = body[1].layer[1].T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [2,2,5] body[1].layer[1].T[4]:VARIABLE(min = 0.0 start = body[1].layer[1].T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [2,2,5] body[1].layer[1].T[5]:VARIABLE(min = 0.0 start = body[1].layer[1].T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [2,2,5] body[1].layer[2].T[1]:VARIABLE(min = 0.0 start = body[1].layer[2].T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [2,2,5] body[1].layer[2].T[2]:VARIABLE(min = 0.0 start = body[1].layer[2].T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [2,2,5] body[1].layer[2].T[3]:VARIABLE(min = 0.0 start = body[1].layer[2].T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [2,2,5] body[1].layer[2].T[4]:VARIABLE(min = 0.0 start = body[1].layer[2].T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [2,2,5] body[1].layer[2].T[5]:VARIABLE(min = 0.0 start = body[1].layer[2].T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [2,2,5] body[2].layer[1].T[1]:VARIABLE(min = 0.0 start = body[2].layer[1].T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [2,2,5] body[2].layer[1].T[2]:VARIABLE(min = 0.0 start = body[2].layer[1].T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [2,2,5] body[2].layer[1].T[3]:VARIABLE(min = 0.0 start = body[2].layer[1].T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [2,2,5] body[2].layer[1].T[4]:VARIABLE(min = 0.0 start = body[2].layer[1].T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [2,2,5] body[2].layer[1].T[5]:VARIABLE(min = 0.0 start = body[2].layer[1].T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [2,2,5] body[2].layer[2].T[1]:VARIABLE(min = 0.0 start = body[2].layer[2].T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [2,2,5] body[2].layer[2].T[2]:VARIABLE(min = 0.0 start = body[2].layer[2].T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [2,2,5] body[2].layer[2].T[3]:VARIABLE(min = 0.0 start = body[2].layer[2].T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [2,2,5] body[2].layer[2].T[4]:VARIABLE(min = 0.0 start = body[2].layer[2].T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [2,2,5] body[2].layer[2].T[5]:VARIABLE(min = 0.0 start = body[2].layer[2].T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [2,2,5] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (82): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0005657/0.04583, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.04593, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003308/0.04924, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.04924, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.04925, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.04925, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005229/0.04977, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.04978, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006208/0.0504, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.0002065/0.05061, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.05072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004397/0.05511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.05512, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008367/0.05595, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.05606, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000266/0.05633, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.05658, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/0.05678, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.84e-05/0.05685, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0002617/0.05711, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.833e-05/0.05714, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.004112/0.06125, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (body[1].layer[1].T[1],body[1].layer[1].T[2],body[1].layer[1].T[3],body[1].layer[1].T[4],body[1].layer[1].T[5],body[1].layer[2].T[1],body[1].layer[2].T[2],body[1].layer[2].T[3],body[1].layer[2].T[4],body[1].layer[2].T[5],body[2].layer[1].T[1],body[2].layer[1].T[2],body[2].layer[1].T[3],body[2].layer[1].T[4],body[2].layer[1].T[5],body[2].layer[2].T[1],body[2].layer[2].T[2],body[2].layer[2].T[3],body[2].layer[2].T[4],body[2].layer[2].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 (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002691/0.06152, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001627/0.06314, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.06315, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0003903/0.06354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003912/0.06745, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005807/0.07325, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.07349, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0001997/0.07369, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000778/0.07446, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.943e-05/0.07449, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.004219/0.07871, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.9528116290457547]