Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr NeuralNetwork_main_NeuralNetwork.Examples.NARX.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.0003103/0.0003103, 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.0002642/0.0002642, 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.1422/0.1422, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NeuralNetwork main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NeuralNetwork main/package.mo): time 0.001191/0.001191, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package NeuralNetwork with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NeuralNetwork main/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(NeuralNetwork.Examples.NARX,startTime=0,stopTime=2000,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="NeuralNetwork_main_NeuralNetwork.Examples.NARX",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(NeuralNetwork.Examples.NARX,startTime=0,stopTime=2000,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="NeuralNetwork_main_NeuralNetwork.Examples.NARX",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 7.92e-07/7.92e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.474e-05/1.553e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.NARX): time 0.005451/0.005467, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.005164/0.01063, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.01076, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.008486/0.01924, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.005382/0.02462, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.000737/0.02536, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.002022/0.02738, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0006163/0.028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.002358/0.03036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.005698/0.03606, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0008431/0.0369, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.03798, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.002496/0.04048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.002053/0.04253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.007478/0.05001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0007704/0.05078, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.104e-06/0.05078, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.071e-05/0.0508, 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.01488/0.06569, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0004145/0.0661, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.06731, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.00416/0.07147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.989e-05/0.07156, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007324/0.07229, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.004761/0.07705, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.07708, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004951/0.07757, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001444/0.07772, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02972/0.1074, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01989/0.1273, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.002102/0.1294, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.001804/0.1312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0001498/0.1314, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003663/0.1351, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=129): time 1.052e-05/0.1351, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=129): time 0.007229/0.1423, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 8.382e-05/0.1424, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005899/0.1483, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0007497/0.149, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.001105/0.1501, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0007293/0.1509, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.001871/0.1527, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 3.731e-05/0.1528, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.004765/0.1575, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/0.1593, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.01064/0.17, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/0.17, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=148) (initialization): time 0.0113/0.1813, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 6.058e-05/0.1813, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.1814, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.1814, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007297/0.1887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.088e-05/0.1887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005286/0.194, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00065/0.1946, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 60 (sampler.firstTrigger,$PRE.sampler.firstTrigger,timeDelay.firstTrigger,$PRE.timeDelay.firstTrigger,timeDelay.sampleTrigger,$whenCondition2,sampler.sampleTrigger,$whenCondition3,sampler.y[1],timeTable_u1.nextEventScaled,timeTable_u1.nextEvent,$PRE.timeTable_u1.nextEvent,timeTable_u1.last,timeTable_u1.b,timeTable_u1.a,$whenCondition5,timeTable_u2.nextEventScaled,timeTable_u2.nextEvent,$PRE.timeTable_u2.nextEvent,timeTable_u2.last,timeTable_u2.b,timeTable_u2.a,sampler.y[2],$whenCondition4,sampler.y[3],timeDelay.y[14],$PRE.timeDelay.y[14],timeDelay.y[13],$PRE.timeDelay.y[13],timeDelay.y[12],$PRE.timeDelay.y[12],timeDelay.y[11],$PRE.timeDelay.y[11],timeDelay.y[10],$PRE.timeDelay.y[10],timeDelay.y[9],$PRE.timeDelay.y[9],timeDelay.y[8],$PRE.timeDelay.y[8],timeDelay.y[7],$PRE.timeDelay.y[7],timeDelay.y[6],$PRE.timeDelay.y[6],timeDelay.y[5],$PRE.timeDelay.y[5],timeDelay.y[4],$PRE.timeDelay.y[4],timeDelay.y[3],$PRE.timeDelay.y[3],timeDelay.y[2],$PRE.timeDelay.y[2],timeDelay.y[1],$PRE.timeDelay.y[1],timeTable_y.nextEventScaled,timeTable_y.nextEvent,$PRE.timeTable_y.nextEvent,timeTable_y.last,timeTable_y.b,timeTable_y.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 3 * 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.005206/0.1998, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001143/0.201, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02177/0.2227, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.2228, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.2228, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.2228, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01358/0.2364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.2364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003838/0.2402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/0.2402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006691/0.2409, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.389e-05/0.2409, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.2409, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005103/0.246, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0009186/0.2469, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002158/0.2491, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002117/0.2512, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001834/0.253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006153/0.2537, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.00402/0.2577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 0.000291/0.258, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002969/0.2609, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 41 ($whenCondition1,timeTable_y.a,timeTable_y.b,timeTable_y.last,timeTable_y.nextEvent,timeTable_y.nextEventScaled,sampler.sampleTrigger,timeDelay.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition4,$whenCondition5,timeDelay.firstTrigger,timeDelay.y[1],timeDelay.y[2],timeDelay.y[3],timeDelay.y[4],timeDelay.y[5],timeDelay.y[6],timeDelay.y[7],timeDelay.y[8],timeDelay.y[9],timeDelay.y[10],timeDelay.y[11],timeDelay.y[12],timeDelay.y[13],timeDelay.y[14],timeTable_u1.a,timeTable_u1.b,timeTable_u1.last,timeTable_u1.nextEvent,timeTable_u1.nextEventScaled,sampler.firstTrigger,sampler.y[1],sampler.y[2],sampler.y[3],timeTable_u2.a,timeTable_u2.b,timeTable_u2.last,timeTable_u2.nextEvent,timeTable_u2.nextEventScaled) * Number of discrete states: 30 (timeTable_u1.nextEvent,timeTable_u1.last,timeTable_u1.nextEventScaled,timeTable_u1.b,timeTable_u1.a,$whenCondition5,timeTable_u2.nextEvent,timeTable_u2.last,timeTable_u2.nextEventScaled,timeTable_u2.b,timeTable_u2.a,$whenCondition4,timeDelay.y[1],timeDelay.y[2],timeDelay.y[3],timeDelay.y[4],timeDelay.y[6],timeDelay.y[7],timeDelay.y[8],timeDelay.y[9],timeDelay.u[3],timeDelay.y[11],timeDelay.y[12],timeDelay.y[13],timeTable_y.nextEvent,timeTable_y.last,timeTable_y.nextEventScaled,timeTable_y.b,timeTable_y.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 19 * 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.001677/0.2626, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.004569/0.2672, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 0.0001207/0.2673, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.00254/0.2698, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004261/0.2741, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01496/0.2891, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002744/0.2918, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.001245/0.2931, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004357/0.2974, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 3.687e-05/0.2974, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.008626/0.3061, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 1.0425566686317325]