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.000828/0.000828, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009082/0.0009082, allocations: 177 kB / 23.36 MB, free: 1.133 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.073/1.073, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.01479/0.01479, allocations: 1.131 MB / 261.4 MB, free: 11.84 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.152e-06/1.152e-06, allocations: 0 / 278 MB, free: 11.26 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768e-05/1.884e-05, allocations: 5.688 kB / 278 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.NARX): time 0.003927/0.003946, allocations: 2.055 MB / 280 MB, free: 9.191 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.006137, allocations: 1.418 MB / 281.4 MB, free: 7.766 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.006286, allocations: 11.88 kB / 281.4 MB, free: 7.754 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005588/0.01187, allocations: 7.279 MB / 288.7 MB, free: 472 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1078/0.1196, allocations: 4.943 MB / 293.7 MB, free: 26.33 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008554/0.1205, allocations: 284.6 kB / 293.9 MB, free: 26.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003976/0.1245, allocations: 2.97 MB / 296.9 MB, free: 25.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002905/0.1248, allocations: 350.3 kB / 297.3 MB, free: 25.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002643/0.1274, allocations: 2.387 MB / 299.6 MB, free: 24.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003845/0.1312, allocations: 6.893 MB / 306.5 MB, free: 18.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006981/0.1319, allocations: 0.6143 MB / 307.2 MB, free: 17.65 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007706/0.1327, allocations: 0.8618 MB / 308 MB, free: 16.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009801/0.1337, allocations: 2.871 MB / 310.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001248/0.1349, allocations: 1.725 MB / 312.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003259/0.1382, allocations: 7.394 MB / 320 MB, free: 4.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1382, allocations: 0 / 320 MB, free: 4.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1382, allocations: 0.5312 kB / 320 MB, free: 4.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000131/0.1383, allocations: 0.625 kB / 320 MB, free: 4.82 MB / 266.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.007902/0.1462, allocations: 7.572 MB / 327.6 MB, free: 13.15 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1463, allocations: 8.625 kB / 327.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007955/0.1471, allocations: 0.4893 MB / 328.1 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002448/0.1495, allocations: 3.567 MB / 331.6 MB, free: 9.055 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/0.1496, allocations: 49.69 kB / 331.7 MB, free: 9.008 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003088/0.1499, allocations: 70.53 kB / 331.8 MB, free: 8.941 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002578/0.1524, allocations: 2.271 MB / 334 MB, free: 6.637 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.1525, allocations: 3.656 kB / 334 MB, free: 6.637 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000244/0.1527, allocations: 37.44 kB / 334.1 MB, free: 6.602 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.356e-05/0.1528, allocations: 118.5 kB / 334.2 MB, free: 6.488 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01023/0.163, allocations: 2.362 MB / 336.6 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01154/0.1746, allocations: 6.952 MB / 343.5 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.176, allocations: 1.071 MB / 344.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001201/0.1772, allocations: 0.8416 MB / 345.4 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.1773, allocations: 51.91 kB / 345.5 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002178/0.1795, allocations: 1.787 MB / 347.3 MB, free: 9.348 MB / 298.7 MB Notification: Performance of pre-optimization done (n=129): time 4.409e-06/0.1795, allocations: 0 / 347.3 MB, free: 9.348 MB / 298.7 MB Notification: Performance of matching and sorting (n=129): time 0.004653/0.1842, allocations: 2.918 MB / 350.2 MB, free: 6.371 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.429e-05/0.1843, allocations: 198.3 kB / 350.4 MB, free: 6.145 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004919/0.1892, allocations: 6.154 MB / 356.5 MB, free: 36 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005172/0.1897, allocations: 57.78 kB / 356.6 MB, free: 15.97 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009254/0.1906, allocations: 1.423 MB / 358 MB, free: 14.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005123/0.1911, allocations: 412.5 kB / 358.4 MB, free: 14.13 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008825/0.192, allocations: 186.8 kB / 358.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.1921, allocations: 357.8 kB / 358.9 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.1932, allocations: 0.6196 MB / 359.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.1944, allocations: 0.7243 MB / 360.3 MB, free: 12.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002764/0.1972, allocations: 1.61 MB / 361.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.1972, allocations: 0 / 361.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.003362/0.2006, allocations: 1.971 MB / 363.9 MB, free: 8.512 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.803e-05/0.2006, allocations: 101.1 kB / 364 MB, free: 8.395 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.2006, allocations: 6.75 kB / 364 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.2006, allocations: 4 kB / 364 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002065/0.2027, allocations: 216.9 kB / 364.2 MB, free: 8.188 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.2027, allocations: 7.984 kB / 364.2 MB, free: 8.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.2041, allocations: 83.41 kB / 364.3 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002485/0.2044, allocations: 35.92 kB / 364.3 MB, free: 8.062 MB / 314.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.001297/0.2057, allocations: 313.5 kB / 364.6 MB, free: 7.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007798/0.2065, allocations: 483.4 kB / 365.1 MB, free: 7.277 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007821/0.2143, allocations: 3.663 MB / 368.7 MB, free: 3.578 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.2143, allocations: 14.16 kB / 368.8 MB, free: 3.566 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2143, allocations: 4 kB / 368.8 MB, free: 3.562 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.2143, allocations: 3.984 kB / 368.8 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/0.2245, allocations: 6.81 MB / 375.6 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.2245, allocations: 4 kB / 375.6 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001919/0.2264, allocations: 151.8 kB / 375.7 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.2264, allocations: 4 kB / 375.7 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002592/0.2267, allocations: 31.98 kB / 375.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.2267, allocations: 7.984 kB / 375.8 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2267, allocations: 3.938 kB / 375.8 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004167/0.2308, allocations: 2.415 MB / 378.2 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005524/0.2314, allocations: 0.7087 MB / 378.9 MB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005987/0.232, allocations: 35.98 kB / 378.9 MB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/0.2332, allocations: 35.97 kB / 379 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005595/0.2338, allocations: 72.8 kB / 379 MB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002527/0.2341, allocations: 31.98 kB / 379.1 MB, free: 9.145 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003249/0.2373, allocations: 3.381 MB / 382.5 MB, free: 5.805 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2373, allocations: 0 / 382.5 MB, free: 5.805 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001933/0.2392, allocations: 1.101 MB / 383.6 MB, free: 4.703 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.0005414/0.2398, allocations: 242.2 kB / 383.8 MB, free: 4.461 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003201/0.243, allocations: 2.087 MB / 385.9 MB, free: 2.297 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.146e-05/0.2431, allocations: 88.25 kB / 386 MB, free: 2.211 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001628/0.2447, allocations: 1.153 MB / 387.1 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.2461, allocations: 280.6 kB / 387.4 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.2588, allocations: 12.16 MB / 399.6 MB, free: 4.438 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/0.2601, allocations: 1.706 MB / 401.3 MB, free: 2.703 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002072/0.2622, allocations: 105 kB / 401.4 MB, free: 2.602 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002228/0.2644, allocations: 191.3 kB / 401.5 MB, free: 2.414 MB / 346.7 MB Notification: Performance of SimCode: time 2.805e-06/0.2644, allocations: 0 / 401.5 MB, free: 2.414 MB / 346.7 MB Notification: Performance of Templates: time 0.1678/0.4322, allocations: 49.51 MB / 451.1 MB, free: 119 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > NeuralNetwork_main_NeuralNetwork.Examples.NARX.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3660566988401115]