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] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002358/0.002358, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 MB " [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.002212/0.002212, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [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 1.643/1.643, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.01129/0.01129, allocations: 1.12 MB / 260.7 MB, free: 12 MB / 250.7 MB " [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: translateModel(NeuralNetwork.Examples.NARX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="NeuralNetwork_main_NeuralNetwork.Examples.NARX") translateModel(NeuralNetwork.Examples.NARX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="NeuralNetwork_main_NeuralNetwork.Examples.NARX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.106e-06/3.106e-06, allocations: 0 / 330 MB, free: 19.04 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.841e-05/4.152e-05, allocations: 3.859 kB / 330 MB, free: 19.03 MB / 266.7 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.NARX): time 0.004252/0.004294, allocations: 1.968 MB / 332 MB, free: 17.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003409/0.007703, allocations: 1.406 MB / 333.4 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003318/0.008035, allocations: 11.88 kB / 333.4 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006687/0.01472, allocations: 7.287 MB / 340.7 MB, free: 8.324 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004786/0.01951, allocations: 4.936 MB / 345.6 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.02108, allocations: 327 kB / 345.9 MB, free: 3.059 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003712/0.02479, allocations: 2.976 MB / 348.9 MB, free: 80 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007664/0.02556, allocations: 351 kB / 349.3 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006631/0.03219, allocations: 2.379 MB / 351.6 MB, free: 13.34 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.015/0.04719, allocations: 8.061 MB / 359.7 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002821/0.05001, allocations: 0.625 MB / 360.3 MB, free: 4.648 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002997/0.05301, allocations: 0.8434 MB / 361.2 MB, free: 3.805 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005068/0.05808, allocations: 2.899 MB / 364.1 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003773/0.06185, allocations: 1.744 MB / 365.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01315/0.075, allocations: 10.26 MB / 376.1 MB, free: 4.867 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.07501, allocations: 0 / 376.1 MB, free: 4.867 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.07501, allocations: 0 / 376.1 MB, free: 4.867 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002436/0.07525, allocations: 0 / 376.1 MB, free: 4.867 MB / 298.7 MB 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.1199/0.1952, allocations: 13.36 MB / 389.4 MB, free: 7.383 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.1952, allocations: 8.031 kB / 389.4 MB, free: 7.375 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002704/0.1979, allocations: 0.9479 MB / 390.4 MB, free: 6.422 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009148/0.2071, allocations: 3.838 MB / 394.2 MB, free: 2.523 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-05/0.2071, allocations: 53.67 kB / 394.3 MB, free: 2.473 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001348/0.2085, allocations: 72.36 kB / 394.3 MB, free: 2.402 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006756/0.2152, allocations: 2.567 MB / 396.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.2153, allocations: 192 / 396.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004236/0.2157, allocations: 28.38 kB / 396.9 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001659/0.2159, allocations: 117.9 kB / 397.1 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0298/0.2456, allocations: 8.301 MB / 405.4 MB, free: 7.328 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1723/0.4179, allocations: 13.82 MB / 419.2 MB, free: 78.03 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004114/0.422, allocations: 1.379 MB / 420.6 MB, free: 77.69 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003294/0.4253, allocations: 1.207 MB / 421.8 MB, free: 77.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002122/0.4255, allocations: 44 kB / 421.8 MB, free: 77.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004572/0.4301, allocations: 2.093 MB / 423.9 MB, free: 76.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=129): time 5.29e-06/0.4301, allocations: 0 / 423.9 MB, free: 76.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=129): time 0.01125/0.4413, allocations: 4.745 MB / 428.6 MB, free: 71.88 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.585e-05/0.4414, allocations: 197.7 kB / 428.8 MB, free: 71.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009891/0.4513, allocations: 10.03 MB / 438.9 MB, free: 61.69 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001089/0.4524, allocations: 57.69 kB / 438.9 MB, free: 61.62 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003815/0.4562, allocations: 4.925 MB / 443.8 MB, free: 56.74 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001312/0.4575, allocations: 444.1 kB / 444.3 MB, free: 56.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001336/0.4589, allocations: 248.6 kB / 444.5 MB, free: 56.11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.459, allocations: 0.5563 MB / 445.1 MB, free: 55.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002347/0.4613, allocations: 1.003 MB / 446.1 MB, free: 54.53 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002435/0.4638, allocations: 1.176 MB / 447.3 MB, free: 53.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005243/0.469, allocations: 2.434 MB / 449.7 MB, free: 50.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.469, allocations: 0 / 449.7 MB, free: 50.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.008146/0.4772, allocations: 3.349 MB / 453 MB, free: 47.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.803e-05/0.4772, allocations: 101.1 kB / 453.1 MB, free: 47.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.4772, allocations: 4 kB / 453.1 MB, free: 47.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.783e-05/0.4773, allocations: 8.875 kB / 453.2 MB, free: 47.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004223/0.4815, allocations: 347.3 kB / 453.5 MB, free: 46.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.369e-05/0.4815, allocations: 11.75 kB / 453.5 MB, free: 46.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004014/0.4855, allocations: 228.6 kB / 453.7 MB, free: 46.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007775/0.4863, allocations: 39.98 kB / 453.8 MB, free: 46.72 MB / 330.7 MB 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.002364/0.4887, allocations: 362.1 kB / 454.1 MB, free: 46.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001779/0.4904, allocations: 0.9121 MB / 455 MB, free: 45.42 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01737/0.5078, allocations: 4.658 MB / 459.7 MB, free: 40.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.5078, allocations: 8 kB / 459.7 MB, free: 40.74 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.5078, allocations: 4 kB / 459.7 MB, free: 40.74 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.5078, allocations: 3.984 kB / 459.7 MB, free: 40.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02921/0.537, allocations: 12.42 MB / 472.1 MB, free: 28.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.5371, allocations: 7.938 kB / 472.1 MB, free: 28.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004444/0.5415, allocations: 284.3 kB / 472.4 MB, free: 28.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.755e-05/0.5415, allocations: 4 kB / 472.4 MB, free: 28.05 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008411/0.5424, allocations: 39.94 kB / 472.5 MB, free: 28.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.084e-05/0.5424, allocations: 4 kB / 472.5 MB, free: 28.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.5424, allocations: 4 kB / 472.5 MB, free: 28.01 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009517/0.5519, allocations: 3.974 MB / 476.4 MB, free: 23.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/0.5531, allocations: 0.7112 MB / 477.1 MB, free: 23.28 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001242/0.5544, allocations: 43.97 kB / 477.2 MB, free: 23.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003589/0.558, allocations: 168.4 kB / 477.4 MB, free: 23.08 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001009/0.559, allocations: 76.86 kB / 477.4 MB, free: 23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006034/0.5596, allocations: 47.97 kB / 477.5 MB, free: 22.96 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.008063/0.5676, allocations: 4.88 MB / 482.4 MB, free: 18.12 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5676, allocations: 0 / 482.4 MB, free: 18.12 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003866/0.5715, allocations: 1.107 MB / 483.5 MB, free: 17.04 MB / 330.7 MB 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.0009073/0.5724, allocations: 250.2 kB / 483.7 MB, free: 16.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005747/0.5782, allocations: 2.914 MB / 486.6 MB, free: 13.81 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.5782, allocations: 0 / 486.6 MB, free: 13.81 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00293/0.5811, allocations: 1.567 MB / 488.2 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/0.5835, allocations: 300.1 kB / 488.5 MB, free: 11.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0149/0.5984, allocations: 12.55 MB / 0.4893 GB, free: 15.22 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004985/0.6034, allocations: 3.475 MB / 0.4927 GB, free: 11.7 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0033/0.6067, allocations: 293 kB / 0.493 GB, free: 11.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001979/0.6087, allocations: 72.47 kB / 0.493 GB, free: 11.34 MB / 346.7 MB Notification: Performance of SimCode: time 2.164e-06/0.6087, allocations: 0 / 0.493 GB, free: 11.34 MB / 346.7 MB Notification: Performance of Templates: time 0.09646/0.7051, allocations: 47.78 MB / 0.5397 GB, free: 11.48 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f NeuralNetwork_main_NeuralNetwork.Examples.NARX.makefile [Timeout 660] (rm -f NeuralNetwork_main_NeuralNetwork.Examples.NARX.pipe ; mkfifo NeuralNetwork_main_NeuralNetwork.Examples.NARX.pipe ; head -c 1048576 < NeuralNetwork_main_NeuralNetwork.Examples.NARX.pipe >> ../files/NeuralNetwork_main_NeuralNetwork.Examples.NARX.sim & ./NeuralNetwork_main_NeuralNetwork.Examples.NARX -abortSlowSimulation -alarm=240 -lv LOG_STATS > NeuralNetwork_main_NeuralNetwork.Examples.NARX.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.069333091960289]