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.0002128/0.0002128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0003924/0.0006051, 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.0002734/0.0002734, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0003821/0.0006555, 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.1139/0.1139, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.04597/0.1599, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NeuralNetwork 2.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NeuralNetwork 2.1.0-main/package.mo): time 0.001218/0.001218, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0005171/0.001735, 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 2.1.0-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 1.042e-06/1.042e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.261e-05/1.366e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.NARX): time 0.002214/0.002227, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.002305/0.004532, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.004637, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.007929/0.01257, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.005013/0.01758, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0007978/0.01838, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.002178/0.02055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0004417/0.021, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.002694/0.02369, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.005441/0.02913, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0007763/0.02991, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.03092, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.001924/0.03284, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.001615/0.03446, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.006315/0.04077, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0006915/0.04147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.495e-06/0.04147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.793e-05/0.04149, 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.01432/0.05581, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0003932/0.0562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004193/0.0604, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.007087/0.06748, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.233e-05/0.06756, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007076/0.06827, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/0.07894, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.07896, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004732/0.07943, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001385/0.07957, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06598/0.1455, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01956/0.1651, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.167, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.001627/0.1686, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0001516/0.1687, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003216/0.1719, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=129): time 1.224e-05/0.172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=129): time 0.006304/0.1783, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.1784, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005504/0.1839, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0006811/0.1846, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0009357/0.1855, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0006594/0.1862, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.001644/0.1878, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 3.402e-05/0.1878, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.001562/0.1894, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/0.191, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.004178/0.1952, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.1952, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=148) (initialization): time 0.004718/0.1999, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 6.573e-05/0.2, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.2, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.2, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006819/0.2068, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.127e-05/0.2069, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002089/0.209, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006023/0.2096, 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.00232/0.2119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001018/0.2129, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/0.2246, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.2246, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.2246, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.2247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01335/0.238, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.238, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006745/0.2448, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0009122/0.2457, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/0.2457, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006669/0.2463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.504e-05/0.2464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004965/0.2513, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002202/0.2535, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002328/0.2559, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00196/0.2578, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006619/0.2585, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.004134/0.2626, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 0.0002875/0.2629, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.003159/0.2661, 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.001916/0.268, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.004887/0.2729, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 0.00014/0.273, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.002948/0.2759, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003578/0.2795, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01523/0.2948, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002904/0.2977, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.001372/0.299, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004288/0.3033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 5.558e-05/0.3034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.008546/0.3119, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.9217659533023834]