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.001073/0.001073, allocations: 92.22 kB / 19.65 MB, free: 276 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.001124/0.001124, allocations: 173 kB / 23.02 MB, free: 1.547 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 0.9731/0.9731, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.006177/0.006177, allocations: 1.119 MB / 261.1 MB, free: 11.95 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 1.533e-06/1.533e-06, allocations: 0 / 330.7 MB, free: 18.69 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.432e-05, allocations: 2.312 kB / 330.7 MB, free: 18.69 MB / 266.7 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.NARX): time 0.002093/0.002117, allocations: 2.013 MB / 332.7 MB, free: 16.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.003511, allocations: 1.41 MB / 334.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.003618, allocations: 15.88 kB / 334.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00301/0.006628, allocations: 7.283 MB / 341.5 MB, free: 7.934 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001994/0.008622, allocations: 4.943 MB / 346.4 MB, free: 2.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008768/0.009498, allocations: 319 kB / 346.7 MB, free: 2.668 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001621/0.01112, allocations: 2.98 MB / 349.7 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003167/0.01144, allocations: 343 kB / 350 MB, free: 15.34 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001487/0.01292, allocations: 2.379 MB / 352.4 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005245/0.01817, allocations: 8.069 MB / 360.5 MB, free: 4.879 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006798/0.01885, allocations: 0.625 MB / 361.1 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/0.02012, allocations: 0.8396 MB / 361.9 MB, free: 3.414 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001422/0.02154, allocations: 2.891 MB / 364.8 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00115/0.02269, allocations: 1.744 MB / 366.6 MB, free: 14.76 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004874/0.02757, allocations: 7.456 MB / 374 MB, free: 7.289 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.02757, allocations: 4 kB / 374 MB, free: 7.285 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.02757, allocations: 3.938 kB / 374 MB, free: 7.281 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.000112/0.02769, allocations: 0 / 374 MB, free: 7.281 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.04734/0.07502, allocations: 12.77 MB / 386.8 MB, free: 10.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.07507, allocations: 8.031 kB / 386.8 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009398/0.07601, allocations: 0.9479 MB / 387.8 MB, free: 9.434 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00311/0.07912, allocations: 3.838 MB / 391.6 MB, free: 5.535 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.26e-05/0.07916, allocations: 53.69 kB / 391.7 MB, free: 5.484 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002818/0.07944, allocations: 72.36 kB / 391.7 MB, free: 5.414 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003313/0.08276, allocations: 2.493 MB / 394.2 MB, free: 2.883 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.08277, allocations: 192 / 394.2 MB, free: 2.883 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002586/0.08303, allocations: 28.36 kB / 394.2 MB, free: 2.855 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/0.08315, allocations: 121.9 kB / 394.4 MB, free: 2.738 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01255/0.0957, allocations: 4.094 MB / 398.5 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01568/0.1114, allocations: 12.23 MB / 410.7 MB, free: 2.324 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001934/0.1133, allocations: 1.371 MB / 412.1 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1354/0.2487, allocations: 1.219 MB / 413.3 MB, free: 81.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002247/0.2489, allocations: 48.19 kB / 413.3 MB, free: 81.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005128/0.254, allocations: 2.017 MB / 415.3 MB, free: 81.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=129): time 9.618e-06/0.2541, allocations: 0 / 415.3 MB, free: 81.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=129): time 0.01048/0.2645, allocations: 4.672 MB / 420 MB, free: 80.87 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.502e-05/0.2646, allocations: 204.4 kB / 420.2 MB, free: 80.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00995/0.2746, allocations: 8.388 MB / 428.6 MB, free: 74.69 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001227/0.2758, allocations: 57.69 kB / 428.7 MB, free: 74.62 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003295/0.2791, allocations: 4.385 MB / 433 MB, free: 70.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001389/0.2805, allocations: 408.7 kB / 433.4 MB, free: 69.96 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001172/0.2816, allocations: 212.6 kB / 433.6 MB, free: 69.74 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.963e-05/0.2817, allocations: 0.5292 MB / 434.2 MB, free: 69.21 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001978/0.2837, allocations: 0.9798 MB / 435.2 MB, free: 68.21 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00207/0.2858, allocations: 1.129 MB / 436.3 MB, free: 67.03 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004281/0.2901, allocations: 2.299 MB / 438.6 MB, free: 64.67 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/0.2901, allocations: 7.844 kB / 438.6 MB, free: 64.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.0051/0.2952, allocations: 3.305 MB / 441.9 MB, free: 61.33 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.834e-05/0.2952, allocations: 105.3 kB / 442 MB, free: 61.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.2952, allocations: 4 kB / 442 MB, free: 61.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.865e-05/0.2953, allocations: 9.875 kB / 442 MB, free: 61.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/0.2971, allocations: 347.3 kB / 442.4 MB, free: 60.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.31e-05/0.2971, allocations: 8 kB / 442.4 MB, free: 60.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/0.2989, allocations: 222.5 kB / 442.6 MB, free: 60.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002344/0.2991, allocations: 40.61 kB / 442.6 MB, free: 60.65 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.001381/0.3005, allocations: 369.5 kB / 443 MB, free: 60.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009798/0.3015, allocations: 0.9082 MB / 443.9 MB, free: 59.38 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008817/0.3103, allocations: 4.616 MB / 448.5 MB, free: 54.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.3103, allocations: 12 kB / 448.5 MB, free: 54.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.3103, allocations: 1.969 kB / 448.5 MB, free: 54.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.3103, allocations: 7.969 kB / 448.5 MB, free: 54.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0147/0.325, allocations: 11.23 MB / 459.8 MB, free: 43.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.325, allocations: 0 / 459.8 MB, free: 43.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/0.3267, allocations: 285.9 kB / 460 MB, free: 43.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-05/0.3267, allocations: 4 kB / 460 MB, free: 43.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002492/0.327, allocations: 35.97 kB / 460.1 MB, free: 43.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.327, allocations: 4 kB / 460.1 MB, free: 43.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.327, allocations: 3.844 kB / 460.1 MB, free: 43.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004866/0.3318, allocations: 3.893 MB / 464 MB, free: 39.26 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005597/0.3324, allocations: 0.7048 MB / 464.7 MB, free: 38.56 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005167/0.3329, allocations: 43.97 kB / 464.7 MB, free: 38.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/0.3343, allocations: 171.7 kB / 464.9 MB, free: 38.35 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005174/0.3348, allocations: 79.52 kB / 465 MB, free: 38.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002456/0.3351, allocations: 47.92 kB / 465 MB, free: 38.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.005574/0.3406, allocations: 4.337 MB / 469.3 MB, free: 33.94 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3406, allocations: 2.078 kB / 469.3 MB, free: 33.94 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002967/0.3436, allocations: 1.099 MB / 470.4 MB, free: 32.86 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.0008578/0.3445, allocations: 255.9 kB / 470.7 MB, free: 32.62 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004169/0.3486, allocations: 2.855 MB / 473.6 MB, free: 29.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.3486, allocations: 4 kB / 473.6 MB, free: 29.69 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00202/0.3506, allocations: 1.549 MB / 475.1 MB, free: 28.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/0.3527, allocations: 280.5 kB / 475.4 MB, free: 27.81 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.3645, allocations: 12.51 MB / 487.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.3655, allocations: 1.71 MB / 489.6 MB, free: 13.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002086/0.3676, allocations: 300 kB / 489.9 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00141/0.369, allocations: 64.48 kB / 490 MB, free: 13.09 MB / 330.7 MB Notification: Performance of SimCode: time 2.545e-06/0.369, allocations: 3.281 kB / 490 MB, free: 13.09 MB / 330.7 MB Notification: Performance of Templates: time 0.07284/0.4419, allocations: 49.3 MB / 0.5266 GB, free: 11.72 MB / 378.7 MB " [Timeout remaining time 660] 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: 3.5316719030961394]