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.000233/0.000233, 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.0001714/0.0001714, 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.09905/0.09905, 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.007698/0.007698, 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 1.242e-06/1.242e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.452e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.testDelay): time 0.002045/0.002069, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.001021/0.003091, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 4.703e-05/0.003138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 6.013e-05/0.003198, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 4.111e-05/0.003239, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.003509, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0001233/0.003632, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 5.793e-05/0.00369, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.003835, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 4.182e-05/0.003876, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.00389, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 3.215e-05/0.003922, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 3.672e-05/0.003959, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 4.288e-05/0.004002, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.004135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 1.551e-05/0.00415, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.104e-06/0.004152, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 5.801e-06/0.004158, 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.0007223/0.00488, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 6.2e-05/0.004942, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.005104, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.005262, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.005286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.00531, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.005589, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.005597, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.005622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-06/0.005624, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 7.277e-05/0.005697, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.006014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 9.178e-05/0.006106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 5.726e-05/0.006163, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.00618, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.006347, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=26): time 4.008e-06/0.006351, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=26): time 0.0002978/0.006649, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.006698, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.493e-05/0.006753, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 5.317e-05/0.006807, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 3.327e-05/0.00684, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 5.418e-05/0.006894, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 7.713e-05/0.006971, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.867e-05/0.00699, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 4.293e-05/0.007033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 7.835e-05/0.007111, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.007395, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.007401, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003401/0.007741, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.007771, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.00778, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.0078, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.008022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.008039, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.008179, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.963e-05/0.008219, 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.0002816/0.0085, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 4.56e-05/0.008546, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.008576, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.00858, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.008584, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.008588, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.008727, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.008729, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.286e-05/0.008762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-06/0.008767, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/0.008797, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.008799, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.008802, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.009102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 3.304e-05/0.009135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.009248, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.763e-05/0.009306, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 6.518e-05/0.009371, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.009399, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 2.297e-05/0.009421, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.244e-06/0.009424, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0004684/0.009892, 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.0001835/0.01008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0003311/0.01041, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.01041, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.01057, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.01079, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00052/0.01131, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 4.029e-05/0.01135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 5.01e-05/0.0114, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/0.0116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.271e-05/0.01162, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.0008309/0.01245, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.6414622133597732]