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.001367/0.001367, allocations: 84.73 kB / 19.44 MB, free: 360 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.001675/0.001675, allocations: 161.7 kB / 22.76 MB, free: 1.684 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.503/1.503, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.0157/0.0157, allocations: 1.124 MB / 260.7 MB, free: 11.98 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 2.455e-06/2.455e-06, allocations: 0 / 330 MB, free: 19.05 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/3.225e-05, allocations: 2.312 kB / 330 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.NARX): time 0.004123/0.004155, allocations: 1.951 MB / 332 MB, free: 17.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003126/0.007281, allocations: 1.383 MB / 333.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002203/0.007501, allocations: 11.88 kB / 333.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007482/0.01498, allocations: 7.283 MB / 340.6 MB, free: 8.387 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005141/0.02012, allocations: 4.947 MB / 345.6 MB, free: 3.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.02176, allocations: 319 kB / 345.9 MB, free: 3.117 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003759/0.02552, allocations: 2.972 MB / 348.9 MB, free: 144 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007623/0.02629, allocations: 351 kB / 349.2 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006047/0.03233, allocations: 2.387 MB / 351.6 MB, free: 13.4 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01583/0.04817, allocations: 8.057 MB / 359.7 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00228/0.05045, allocations: 0.625 MB / 360.3 MB, free: 4.707 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002546/0.05299, allocations: 0.8473 MB / 361.1 MB, free: 3.859 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004772/0.05777, allocations: 2.895 MB / 364 MB, free: 0.957 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004325/0.06209, allocations: 1.744 MB / 365.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01382/0.07591, allocations: 10.26 MB / 376 MB, free: 4.926 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.07591, allocations: 4 kB / 376 MB, free: 4.922 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.07591, allocations: 0 / 376 MB, free: 4.922 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001408/0.07605, allocations: 0 / 376 MB, free: 4.922 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.09932/0.1754, allocations: 12.25 MB / 388.3 MB, free: 8.551 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.1754, allocations: 12.03 kB / 388.3 MB, free: 8.539 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00221/0.1776, allocations: 0.944 MB / 389.2 MB, free: 7.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007492/0.1851, allocations: 3.984 MB / 393.2 MB, free: 3.547 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.413e-05/0.1852, allocations: 57.66 kB / 393.3 MB, free: 3.492 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00123/0.1864, allocations: 68.38 kB / 393.3 MB, free: 3.426 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0139/0.2003, allocations: 7.785 MB / 401.1 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.2004, allocations: 192 / 401.1 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004393/0.2008, allocations: 32.36 kB / 401.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001631/0.201, allocations: 117.9 kB / 401.3 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1773/0.3783, allocations: 18.87 MB / 420.1 MB, free: 83.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03324/0.4115, allocations: 16.86 MB / 437 MB, free: 66.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006945/0.4185, allocations: 7.305 MB / 444.3 MB, free: 59.64 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00634/0.4248, allocations: 6.963 MB / 451.3 MB, free: 52.65 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002233/0.425, allocations: 50.05 kB / 451.3 MB, free: 52.6 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008082/0.4331, allocations: 7.845 MB / 459.2 MB, free: 44.7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=129): time 5.19e-06/0.4331, allocations: 0 / 459.2 MB, free: 44.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=129): time 0.02433/0.4575, allocations: 23.26 MB / 482.4 MB, free: 21.78 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.4576, allocations: 204.9 kB / 482.6 MB, free: 21.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01423/0.4718, allocations: 9.823 MB / 492.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001648/0.4735, allocations: 53.7 kB / 492.5 MB, free: 11.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00334/0.4768, allocations: 3.816 MB / 496.3 MB, free: 7.922 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001605/0.4784, allocations: 394 kB / 496.7 MB, free: 7.543 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001514/0.4799, allocations: 346.9 kB / 497 MB, free: 7.199 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4801, allocations: 353.9 kB / 497.4 MB, free: 6.848 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006226/0.4863, allocations: 6.969 MB / 0.4925 GB, free: 15.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01079/0.4971, allocations: 7.08 MB / 0.4995 GB, free: 8.734 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02228/0.5193, allocations: 14.16 MB / 0.5133 GB, free: 10.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.416e-05/0.5194, allocations: 3.938 kB / 0.5133 GB, free: 10.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.02908/0.5484, allocations: 16.34 MB / 0.5292 GB, free: 10.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00014/0.5486, allocations: 105.2 kB / 0.5293 GB, free: 9.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/0.5486, allocations: 4 kB / 0.5294 GB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.229e-05/0.5487, allocations: 4 kB / 0.5294 GB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004565/0.5532, allocations: 331.3 kB / 0.5297 GB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.262e-05/0.5532, allocations: 8 kB / 0.5297 GB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004215/0.5575, allocations: 219.2 kB / 0.5299 GB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001191/0.5587, allocations: 47.98 kB / 0.5299 GB, free: 9.387 MB / 378.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.007435/0.5661, allocations: 2.85 MB / 0.5327 GB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003846/0.5699, allocations: 0.916 MB / 0.5336 GB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03951/0.6094, allocations: 17.4 MB / 0.5506 GB, free: 4.156 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.487e-05/0.6095, allocations: 12 kB / 0.5506 GB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.6095, allocations: 3.938 kB / 0.5506 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.734e-05/0.6095, allocations: 7.984 kB / 0.5506 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.191/0.8005, allocations: 24.84 MB / 0.5749 GB, free: 133.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.8006, allocations: 0 / 0.5749 GB, free: 133.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003403/0.804, allocations: 282.5 kB / 0.5752 GB, free: 133 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.679e-05/0.804, allocations: 7.75 kB / 0.5752 GB, free: 133 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000453/0.8044, allocations: 39.97 kB / 0.5752 GB, free: 133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/0.8044, allocations: 5.25 kB / 0.5752 GB, free: 133 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8044, allocations: 1.5 kB / 0.5752 GB, free: 133 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01535/0.8198, allocations: 16.55 MB / 0.5914 GB, free: 116.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009696/0.8208, allocations: 0.7178 MB / 0.5921 GB, free: 116.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001141/0.8219, allocations: 39.98 kB / 0.5921 GB, free: 116.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003018/0.8249, allocations: 172.4 kB / 0.5923 GB, free: 116 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008903/0.8258, allocations: 72.86 kB / 0.5924 GB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003975/0.8262, allocations: 49.5 kB / 0.5924 GB, free: 115.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.008358/0.8346, allocations: 6.942 MB / 0.5992 GB, free: 109 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8346, allocations: 0 / 0.5992 GB, free: 109 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003616/0.8382, allocations: 1.098 MB / 0.6002 GB, free: 107.9 MB / 394.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.0008294/0.839, allocations: 260.9 kB / 0.6005 GB, free: 107.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01288/0.8519, allocations: 14.54 MB / 0.6147 GB, free: 93.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.8519, allocations: 0 / 0.6147 GB, free: 93.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006504/0.8584, allocations: 7.236 MB / 0.6218 GB, free: 85.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/0.8608, allocations: 299.4 kB / 0.622 GB, free: 85.47 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02304/0.8839, allocations: 21.45 MB / 0.643 GB, free: 63.94 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003767/0.8876, allocations: 3.836 MB / 0.6467 GB, free: 60.05 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004034/0.8917, allocations: 1.301 MB / 0.648 GB, free: 58.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002093/0.8938, allocations: 72.47 kB / 0.6481 GB, free: 58.7 MB / 394.7 MB Notification: Performance of SimCode: time 2.194e-06/0.8938, allocations: 0 / 0.6481 GB, free: 58.7 MB / 394.7 MB Notification: Performance of Templates: time 0.06676/0.9605, allocations: 48.03 MB / 0.695 GB, free: 10.59 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=480 -lv LOG_STATS > NeuralNetwork_main_NeuralNetwork.Examples.NARX.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.3452240570914]