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 Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0005238/0.0005238, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.000693/0.001217, 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.0009071/0.0009071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0007427/0.00165, 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.2339/0.2339, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.09772/0.3316, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.02089/0.02089, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.009917/0.03081, 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="-abortSlowSimulation -alarm=240 -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="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 7.42e-07/7.42e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.005e-05/3.079e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.testDelay): time 0.008191/0.008222, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.004075/0.0123, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 3.355e-05/0.01233, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 5.426e-05/0.01238, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 4.016e-05/0.01242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.01269, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.000144/0.01283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 7.956e-05/0.01291, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.000257/0.01317, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 7.777e-05/0.01324, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.01327, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 3.393e-05/0.0133, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 3.6e-05/0.01334, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 3.792e-05/0.01337, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.01351, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 2.723e-05/0.01354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.525e-06/0.01354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.926e-05/0.01356, 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.0009961/0.01456, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/0.01462, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.01482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.01502, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.792e-05/0.01505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 3.969e-05/0.01509, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.003383/0.01848, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.01849, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.989e-05/0.01853, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.01854, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.01866, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.01904, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.01917, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 9.587e-05/0.01927, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.0193, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.0195, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=26): time 9.327e-06/0.01951, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=26): time 0.0003529/0.01987, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 7.374e-05/0.01994, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.773e-05/0.02001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 7.995e-05/0.02009, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/0.02013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 5.147e-05/0.02018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 8.824e-05/0.02027, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 3.475e-05/0.02031, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 5.421e-05/0.02036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 9.739e-05/0.02046, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0003631/0.02082, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.02083, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=50) (initialization): time 0.00345/0.02428, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.02433, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.02434, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 3.45e-05/0.02437, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.02464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-05/0.02466, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.02479, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-05/0.02483, 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.0003956/0.02522, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.02526, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.855e-05/0.0253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.0253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/0.02532, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.02532, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.02548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.02548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.967e-05/0.02551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.02554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.02555, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.127e-05/0.02558, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.02558, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.02558, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/0.02595, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.0261, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.34e-05/0.02616, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 6.861e-05/0.02623, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.02625, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 2.965e-05/0.02628, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.716e-06/0.02628, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0002618/0.02654, 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.0002236/0.02677, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.003437/0.0302, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.222e-05/0.03022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.03042, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.03067, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009104/0.03158, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 4.288e-05/0.03162, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 5.394e-05/0.03168, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/0.0319, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 1.981e-05/0.03192, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.001657/0.03358, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.8158121060114354]