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.0003179/0.0003179, 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.0002587/0.0002587, 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.1838/0.1838, 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.01252/0.01252, 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 2.534e-06/2.534e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/3.01e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.testDelay): time 0.00468/0.00471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0007676/0.005477, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 3.854e-05/0.005516, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 6.767e-05/0.005583, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 2.92e-05/0.005613, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.005837, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 9.67e-05/0.005934, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 4.669e-05/0.005981, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.006095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 3.315e-05/0.006128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.006142, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 2.17e-05/0.006164, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 2.863e-05/0.006193, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 3.296e-05/0.006226, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.003151/0.009376, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 1.169e-05/0.009388, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.803e-06/0.00939, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.022e-05/0.0094, 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.0006829/0.01008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.01014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.01028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.01043, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.01045, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.01047, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.01073, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.01074, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.01077, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-06/0.01077, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 6.166e-05/0.01083, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002645/0.0111, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 7.504e-05/0.01117, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 5.85e-05/0.01123, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.01125, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.01138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=26): time 2.034e-06/0.01138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=26): time 0.000248/0.01163, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.01168, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.868e-05/0.01173, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 5.348e-05/0.01178, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 2.753e-05/0.01181, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.01185, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 6.197e-05/0.01191, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.877e-05/0.01193, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 3.414e-05/0.01196, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 7.356e-05/0.01204, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.003258/0.0153, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/0.0153, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002946/0.0156, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.01562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.01563, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.01565, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.01581, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.01582, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.526e-05/0.01591, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.01594, 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.0002673/0.0162, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 3.161e-05/0.01624, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.492e-05/0.01627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.01627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.01628, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.01628, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.01639, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.01639, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.418e-05/0.01641, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01642, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.01645, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01645, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01645, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.01668, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 2.721e-05/0.0167, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.602e-05/0.01679, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.89e-05/0.01683, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.01688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.0169, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 1.934e-05/0.01692, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.964e-06/0.01692, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0002221/0.01714, 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.0001582/0.0173, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0002822/0.01758, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.01759, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.0177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.01789, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003485/0.02138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 3.109e-05/0.02141, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 5.118e-05/0.02146, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.02162, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 1.678e-05/0.02164, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.0008998/0.02254, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.737748296931386]