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.001369/0.001369, allocations: 92.22 kB / 19.65 MB, free: 280 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.001469/0.001469, allocations: 165 kB / 23.02 MB, free: 1.555 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.04/1.04, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.01751/0.01751, allocations: 1.113 MB / 261.1 MB, free: 11.96 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.513e-06/1.513e-06, allocations: 3.938 kB / 330.7 MB, free: 18.7 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.432e-05, allocations: 5.125 kB / 330.7 MB, free: 18.7 MB / 266.7 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.NARX): time 0.002015/0.00204, allocations: 2.003 MB / 332.7 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.003345, allocations: 1.414 MB / 334.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.871e-05/0.003444, allocations: 15.81 kB / 334.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002869/0.006313, allocations: 7.283 MB / 341.4 MB, free: 7.949 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001873/0.008186, allocations: 4.939 MB / 346.4 MB, free: 3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007715/0.008957, allocations: 323 kB / 346.7 MB, free: 2.684 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00141/0.01037, allocations: 2.976 MB / 349.7 MB, free: 15.7 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003073/0.01067, allocations: 343 kB / 350 MB, free: 15.36 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.012, allocations: 2.383 MB / 352.4 MB, free: 12.97 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004782/0.01678, allocations: 8.065 MB / 360.5 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006927/0.01747, allocations: 0.625 MB / 361.1 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009167/0.01839, allocations: 0.8396 MB / 361.9 MB, free: 3.434 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001447/0.01983, allocations: 2.903 MB / 364.8 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001238/0.02107, allocations: 1.74 MB / 366.6 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004857/0.02593, allocations: 7.46 MB / 374 MB, free: 7.297 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.02593, allocations: 0 / 374 MB, free: 7.297 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.02593, allocations: 0 / 374 MB, free: 7.297 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001173/0.02605, allocations: 0 / 374 MB, free: 7.297 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.05187/0.07792, allocations: 12.77 MB / 386.8 MB, free: 10.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.07798, allocations: 8.031 kB / 386.8 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/0.0795, allocations: 0.9479 MB / 387.7 MB, free: 9.449 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003938/0.08344, allocations: 3.834 MB / 391.6 MB, free: 5.555 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.898e-05/0.08348, allocations: 53.67 kB / 391.6 MB, free: 5.504 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003395/0.08382, allocations: 76.36 kB / 391.7 MB, free: 5.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003554/0.08737, allocations: 2.493 MB / 394.2 MB, free: 2.898 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.08739, allocations: 192 / 394.2 MB, free: 2.898 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002385/0.08763, allocations: 24.38 kB / 394.2 MB, free: 2.875 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001188/0.08775, allocations: 125.9 kB / 394.3 MB, free: 2.754 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01298/0.1007, allocations: 4.098 MB / 398.4 MB, free: 14.63 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02272/0.1235, allocations: 12.22 MB / 410.7 MB, free: 2.352 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00254/0.126, allocations: 1.378 MB / 412 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1426/0.2686, allocations: 1.228 MB / 413.3 MB, free: 82.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001898/0.2688, allocations: 47.39 kB / 413.3 MB, free: 82.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003593/0.2724, allocations: 2.015 MB / 415.3 MB, free: 82.49 MB / 330.7 MB Notification: Performance of pre-optimization done (n=129): time 4.389e-06/0.2724, allocations: 0 / 415.3 MB, free: 82.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=129): time 0.007601/0.28, allocations: 4.674 MB / 420 MB, free: 82.15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.991e-05/0.2801, allocations: 202.3 kB / 420.2 MB, free: 81.96 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00743/0.2875, allocations: 8.384 MB / 428.6 MB, free: 76.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008788/0.2884, allocations: 57.69 kB / 428.6 MB, free: 76.13 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002367/0.2907, allocations: 4.387 MB / 433 MB, free: 71.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009496/0.2917, allocations: 410.4 kB / 433.4 MB, free: 71.47 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001189/0.2929, allocations: 216.6 kB / 433.6 MB, free: 71.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.082e-05/0.293, allocations: 0.5316 MB / 434.2 MB, free: 70.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/0.2945, allocations: 0.9759 MB / 435.1 MB, free: 69.72 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001647/0.2962, allocations: 1.133 MB / 436.3 MB, free: 68.53 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003364/0.2996, allocations: 2.296 MB / 438.6 MB, free: 66.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.2996, allocations: 0 / 438.6 MB, free: 66.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.005165/0.3047, allocations: 3.31 MB / 441.9 MB, free: 62.83 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.38e-05/0.3048, allocations: 105.1 kB / 442 MB, free: 62.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.3048, allocations: 4 kB / 442 MB, free: 62.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.893e-05/0.3048, allocations: 5.875 kB / 442 MB, free: 62.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002013/0.3068, allocations: 347.4 kB / 442.3 MB, free: 62.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/0.3069, allocations: 5.969 kB / 442.3 MB, free: 62.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/0.3087, allocations: 228.9 kB / 442.6 MB, free: 62.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002394/0.309, allocations: 36 kB / 442.6 MB, free: 62.14 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.001372/0.3103, allocations: 368.1 kB / 443 MB, free: 61.78 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009953/0.3113, allocations: 0.9121 MB / 443.9 MB, free: 60.86 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008789/0.3201, allocations: 4.619 MB / 448.5 MB, free: 56.22 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.3201, allocations: 12 kB / 448.5 MB, free: 56.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.495e-06/0.3201, allocations: 0 / 448.5 MB, free: 56.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.3202, allocations: 3.984 kB / 448.5 MB, free: 56.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/0.3332, allocations: 11.23 MB / 459.7 MB, free: 44.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.3332, allocations: 2.953 kB / 459.7 MB, free: 44.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001913/0.3351, allocations: 281.9 kB / 460 MB, free: 44.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/0.3351, allocations: 4 kB / 460 MB, free: 44.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002485/0.3354, allocations: 39.97 kB / 460.1 MB, free: 44.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.523e-06/0.3354, allocations: 8 kB / 460.1 MB, free: 44.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3354, allocations: 0 / 460.1 MB, free: 44.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005229/0.3406, allocations: 3.892 MB / 464 MB, free: 40.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007366/0.3413, allocations: 0.7048 MB / 464.7 MB, free: 40 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00058/0.3419, allocations: 35.98 kB / 464.7 MB, free: 39.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/0.3434, allocations: 175.7 kB / 464.9 MB, free: 39.79 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004514/0.3438, allocations: 68.86 kB / 464.9 MB, free: 39.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002403/0.3441, allocations: 57.12 kB / 465 MB, free: 39.67 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003997/0.3481, allocations: 4.334 MB / 469.3 MB, free: 35.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3481, allocations: 0 / 469.3 MB, free: 35.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001688/0.3498, allocations: 1.105 MB / 470.4 MB, free: 34.28 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.0005194/0.3503, allocations: 255.3 kB / 470.7 MB, free: 34.04 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003857/0.3541, allocations: 2.859 MB / 473.5 MB, free: 31.11 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3541, allocations: 0 / 473.5 MB, free: 31.11 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001889/0.356, allocations: 1.542 MB / 475.1 MB, free: 29.51 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.3577, allocations: 297.7 kB / 475.4 MB, free: 29.22 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.3688, allocations: 12.51 MB / 487.9 MB, free: 16.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009353/0.3697, allocations: 1.702 MB / 489.6 MB, free: 14.87 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00196/0.3717, allocations: 293 kB / 489.9 MB, free: 14.58 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001441/0.3731, allocations: 72.47 kB / 489.9 MB, free: 14.51 MB / 330.7 MB Notification: Performance of SimCode: time 2.605e-06/0.3731, allocations: 4 kB / 490 MB, free: 14.5 MB / 330.7 MB Notification: Performance of Templates: time 0.06498/0.4381, allocations: 48.74 MB / 0.5261 GB, free: 13.68 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.9119354668073356]