Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.testDelay.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.0003501/0.0003501, 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.0004687/0.0004687, 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.4029/0.4029, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.02587/0.02587, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/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(IndustrialControlSystems.LinearSystems.Examples.testDelay,startTime=0,stopTime=15,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.testDelay",simflags="-alarm=480 -lv LOG_STATS") simulate(IndustrialControlSystems.LinearSystems.Examples.testDelay,startTime=0,stopTime=15,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.testDelay",simflags="-alarm=480 -lv LOG_STATS") [Timeout 1140] "Notification: Performance of FrontEnd - loaded program: time 9.22e-07/9.22e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/2.896e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.testDelay): time 0.004119/0.004148, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.001909/0.006057, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 9.979e-05/0.006157, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.006267, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 9.841e-05/0.006366, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.000538/0.006904, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0002358/0.00714, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 7.881e-05/0.007218, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0002748/0.007493, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.007597, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.007624, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 6.102e-05/0.007685, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 5.876e-05/0.007744, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.00788, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.008234, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 3.051e-05/0.008265, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.276e-06/0.008268, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 9.277e-06/0.008277, 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001369/0.009647, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.195e-05/0.009719, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004412/0.01016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.000507/0.01067, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.711e-05/0.0107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 5.356e-05/0.01076, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008541/0.01161, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.01162, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.134e-05/0.01167, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.01167, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005191/0.01219, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.01364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.000471/0.01411, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0004145/0.01453, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.01456, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007511/0.01531, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=26): time 4.981e-05/0.01536, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=26): time 0.001835/0.01719, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002124/0.01741, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.01768, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.00014/0.01782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.01793, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.01809, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003401/0.01843, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0003194/0.01875, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004146/0.01916, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005966/0.01976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.002198/0.02196, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.747e-05/0.02198, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=50) (initialization): time 0.002505/0.02448, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 9.278e-05/0.02457, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.512e-05/0.0246, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 3.88e-05/0.02464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/0.02507, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.259e-05/0.02512, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003659/0.02548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.02559, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 22 variables: multiStepsDelay.y:DISCRETE(flow=false fixed = true ) \"output\" type: Real multiStepsDelay.buffer[10]:DISCRETE(start = multiStepsDelay.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay.buffer[9]:DISCRETE(start = multiStepsDelay.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay.buffer[8]:DISCRETE(start = multiStepsDelay.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay.buffer[7]:DISCRETE(start = multiStepsDelay.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay.buffer[6]:DISCRETE(start = multiStepsDelay.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay.buffer[5]:DISCRETE(start = multiStepsDelay.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay.buffer[4]:DISCRETE(start = multiStepsDelay.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay.buffer[3]:DISCRETE(start = multiStepsDelay.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay.buffer[2]:DISCRETE(start = multiStepsDelay.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay.buffer[1]:DISCRETE(start = multiStepsDelay.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay_Init.y:DISCRETE(flow=false fixed = true ) \"output\" type: Real multiStepsDelay_Init.buffer[10]:DISCRETE(start = multiStepsDelay_Init.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay_Init.buffer[9]:DISCRETE(start = multiStepsDelay_Init.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay_Init.buffer[8]:DISCRETE(start = multiStepsDelay_Init.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay_Init.buffer[7]:DISCRETE(start = multiStepsDelay_Init.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay_Init.buffer[6]:DISCRETE(start = multiStepsDelay_Init.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay_Init.buffer[5]:DISCRETE(start = multiStepsDelay_Init.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay_Init.buffer[4]:DISCRETE(start = multiStepsDelay_Init.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay_Init.buffer[3]:DISCRETE(start = multiStepsDelay_Init.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay_Init.buffer[2]:DISCRETE(start = multiStepsDelay_Init.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay_Init.buffer[1]:DISCRETE(start = multiStepsDelay_Init.y_start fixed = true protected = true ) type: Real [10] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 46 ($PRE.multiStepsDelay.y,multiStepsDelay.y,$PRE.multiStepsDelay.buffer[10],multiStepsDelay.buffer[10],$PRE.multiStepsDelay.buffer[9],multiStepsDelay.buffer[9],$PRE.multiStepsDelay.buffer[8],multiStepsDelay.buffer[8],$PRE.multiStepsDelay.buffer[7],multiStepsDelay.buffer[7],$PRE.multiStepsDelay.buffer[6],multiStepsDelay.buffer[6],$PRE.multiStepsDelay.buffer[5],multiStepsDelay.buffer[5],$PRE.multiStepsDelay.buffer[4],multiStepsDelay.buffer[4],$PRE.multiStepsDelay.buffer[3],multiStepsDelay.buffer[3],$PRE.multiStepsDelay.buffer[2],multiStepsDelay.buffer[2],$PRE.multiStepsDelay.buffer[1],multiStepsDelay.buffer[1],$PRE.multiStepsDelay_Init.y,multiStepsDelay_Init.y,$PRE.multiStepsDelay_Init.buffer[10],multiStepsDelay_Init.buffer[10],$PRE.multiStepsDelay_Init.buffer[9],multiStepsDelay_Init.buffer[9],$PRE.multiStepsDelay_Init.buffer[8],multiStepsDelay_Init.buffer[8],$PRE.multiStepsDelay_Init.buffer[7],multiStepsDelay_Init.buffer[7],$PRE.multiStepsDelay_Init.buffer[6],multiStepsDelay_Init.buffer[6],$PRE.multiStepsDelay_Init.buffer[5],multiStepsDelay_Init.buffer[5],$PRE.multiStepsDelay_Init.buffer[4],multiStepsDelay_Init.buffer[4],$PRE.multiStepsDelay_Init.buffer[3],multiStepsDelay_Init.buffer[3],$PRE.multiStepsDelay_Init.buffer[2],multiStepsDelay_Init.buffer[2],$PRE.multiStepsDelay_Init.buffer[1],multiStepsDelay_Init.buffer[1],$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 2 * 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.0009362/0.02653, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.02673, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.154e-05/0.02679, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.0268, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.0268, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.02681, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005614/0.02737, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.02737, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.308e-05/0.02745, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.02745, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-05/0.02755, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.02755, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.02755, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/0.02955, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/0.02974, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002683/0.03001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.03016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/0.03039, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.133e-05/0.03047, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0002506/0.03072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 9.628e-06/0.03073, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001375/0.0321, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$whenCondition2,multiStepsDelay.y,multiStepsDelay.buffer[1],multiStepsDelay.buffer[2],multiStepsDelay.buffer[3],multiStepsDelay.buffer[4],multiStepsDelay.buffer[5],multiStepsDelay.buffer[6],multiStepsDelay.buffer[7],multiStepsDelay.buffer[8],multiStepsDelay.buffer[9],multiStepsDelay.buffer[10],multiStepsDelay_Init.y,multiStepsDelay_Init.buffer[1],multiStepsDelay_Init.buffer[2],multiStepsDelay_Init.buffer[3],multiStepsDelay_Init.buffer[4],multiStepsDelay_Init.buffer[5],multiStepsDelay_Init.buffer[6],multiStepsDelay_Init.buffer[7],multiStepsDelay_Init.buffer[8],multiStepsDelay_Init.buffer[9],multiStepsDelay_Init.buffer[10]) * Number of discrete states: 27 (multiStepsDelay_Init.y,multiStepsDelay_Init.buffer[10],multiStepsDelay_Init.buffer[9],multiStepsDelay_Init.buffer[8],multiStepsDelay_Init.buffer[7],multiStepsDelay_Init.buffer[6],multiStepsDelay_Init.buffer[5],multiStepsDelay_Init.buffer[4],multiStepsDelay_Init.buffer[3],multiStepsDelay_Init.buffer[2],multiStepsDelay_Init.buffer[1],$whenCondition1,i,multiStepsDelay_Init.buffer[i - 1],multiStepsDelay.y,multiStepsDelay.buffer[10],multiStepsDelay.buffer[9],multiStepsDelay.buffer[8],multiStepsDelay.buffer[7],multiStepsDelay.buffer[6],multiStepsDelay.buffer[5],multiStepsDelay.buffer[4],multiStepsDelay.buffer[3],multiStepsDelay.buffer[2],multiStepsDelay.buffer[1],$whenCondition2,multiStepsDelay.buffer[i - 1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0004324/0.03254, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001712/0.03425, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.03425, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0009359/0.03519, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.03638, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.03804, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.03829, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.000131/0.03842, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003023/0.03873, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0003778/0.0391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.001056/0.04016, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 1140] [Calling sys.exit(0), Time elapsed: 1.2925323730014497]