Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Hydraulic_circuit.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 [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003416/0.0003416, 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.0003243/0.0003243, 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.2879/0.2879, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0358/0.0358, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.Coursework.ThermSys_component_models.Hydraulic_circuit,startTime=0,stopTime=50,tolerance=1e-06,numberOfIntervals=500,outputFormat="empty",variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Hydraulic_circuit",simflags="-lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(AES.Coursework.ThermSys_component_models.Hydraulic_circuit,startTime=0,stopTime=50,tolerance=1e-06,numberOfIntervals=500,outputFormat="empty",variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Hydraulic_circuit",simflags="-lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.805e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Hydraulic_circuit): time 0.008774/0.008792, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.004021/0.01281, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0004199/0.01323, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0004079/0.01364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.001221/0.01486, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.01593, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001774/0.0177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001204/0.01891, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.01992, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.001273/0.02119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0003784/0.02157, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0004025/0.02197, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0004493/0.02242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0007986/0.02322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.002312/0.02553, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001506/0.02568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.234e-06/0.02568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.3e-05/0.0257, 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.004884/0.03058, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001114/0.03069, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008321/0.03152, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/0.03381, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.03392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003794/0.03429, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.003418/0.03771, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 4.037e-05/0.03775, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002575/0.03801, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.03803, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002488/0.04052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01002/0.05054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.004231/0.05477, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/0.05594, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 7.414e-05/0.05601, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.042e-05/0.05607, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007699/0.05684, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=61): time 1.162e-05/0.05686, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=61): time 0.00624/0.0631, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.06314, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.06469, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001987/0.06489, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0004453/0.06534, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0005686/0.0659, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009484/0.06685, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0003857/0.06724, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/0.06854, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.07008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.004321/0.0744, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-05/0.07442, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=93) (initialization): time 0.005733/0.08015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 4.208e-05/0.08019, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.08021, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.002925/0.08313, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.08468, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/0.09615, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009424/0.09709, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002069/0.0973, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 1 variables: Vessel.lfrac:VARIABLE(start = Vessel.lfracstart fixed = true ) type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001901/0.0992, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001456/0.1007, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003968/0.1046, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.42e-05/0.1046, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=93) (initialization_lambda0): time 0.005106/0.1097, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 4.418e-05/0.1098, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.1098, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.002549/0.1124, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/0.1139, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/0.1245, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009886/0.1255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002149/0.1257, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 1 variables: Vessel.lfrac:VARIABLE(start = Vessel.lfracstart fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (83): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0007214/0.1264, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005945/0.127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004032/0.1311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.1311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.1311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.1311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002933/0.134, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/0.134, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002282/0.1363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.001343/0.1377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002361/0.1379, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008956/0.1469, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1469, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00516/0.152, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0008667/0.1529, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004532/0.1533, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007302/0.1541, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000723/0.1548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001993/0.155, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0008192/0.1558, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.455e-05/0.1558, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.003625/0.1595, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 22 (Vessel.lfrac,tube.fluidStream.w,tube.fluidStream.T[1],tube.fluidStream.T[2],tube.fluidStream.T[3],tube.fluidStream.T[4],tube.fluidStream.T[5],tube.wall.wall.T[1,1],tube.wall.wall.T[1,2],tube.wall.wall.T[1,3],tube.wall.wall.T[2,1],tube.wall.wall.T[2,2],tube.wall.wall.T[2,3],tube.wall.wall.T[3,1],tube.wall.wall.T[3,2],tube.wall.wall.T[3,3],tube.wall.wall.T[4,1],tube.wall.wall.T[4,2],tube.wall.wall.T[4,3],tube.wall.wall.T[5,1],tube.wall.wall.T[5,2],tube.wall.wall.T[5,3]) * 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 (65): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (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.00062/0.1601, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.006424/0.1665, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.1665, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.002268/0.1688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002521/0.1713, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00872/0.18, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006353/0.1806, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.001283/0.1819, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000883/0.1828, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 4.461e-05/0.1829, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.003525/0.1864, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 1.6192231462337077]