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.0002563/0.0002563, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0005259/0.0007822, 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.0001769/0.0001769, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0003593/0.0005361, 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.09425/0.09425, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0415/0.1358, 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.00769/0.00769, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.002093/0.009784, 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 8.02e-07/8.02e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.002e-05/1.082e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.testDelay): time 0.001618/0.001629, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.001067/0.002696, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/0.002726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 4.453e-05/0.002771, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 4.15e-05/0.002812, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.003051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0001197/0.003171, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 5.855e-05/0.003229, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.003375, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 4.071e-05/0.003416, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.003429, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 3.242e-05/0.003462, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 3.197e-05/0.003494, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.003532, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.003661, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 2.122e-05/0.003682, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.613e-06/0.003684, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.002e-05/0.003694, 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.0006355/0.004329, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.004386, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.004568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.004736, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.004757, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.004785, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.005051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.005061, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.005095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.005102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 9.366e-05/0.005196, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.005548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.005655, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 6.499e-05/0.00572, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.005734, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.005895, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=26): time 2.485e-06/0.005897, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=26): time 0.0003007/0.006198, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.006261, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.97e-05/0.006321, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 5.38e-05/0.006375, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 3.068e-05/0.006405, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 5.637e-05/0.006462, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 7.479e-05/0.006536, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.941e-05/0.006556, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 4.132e-05/0.006597, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 6.567e-05/0.006663, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.006923, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.006929, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003134/0.007242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.007269, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.007278, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.007298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.007525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.798e-05/0.007543, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.007674, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.661e-05/0.00772, 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.000246/0.007966, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/0.008005, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.815e-05/0.008033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.008036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.008041, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.008044, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.008173, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.008174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.43e-05/0.008198, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 2.851e-05/0.008227, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.00823, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/0.008259, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.008261, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.008263, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.008546, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.008661, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.694e-05/0.008707, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/0.008766, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.008792, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 2.275e-05/0.008815, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.994e-06/0.008817, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0004583/0.009275, 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.0001645/0.009439, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0003049/0.009744, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.009751, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.009916, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.01016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006339/0.01079, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 3.797e-05/0.01083, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 4.221e-05/0.01087, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.01107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 3.325e-05/0.0111, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.0009513/0.01205, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.5374650554731488]