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.001386/0.001386, allocations: 80.75 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.0009763/0.0009763, allocations: 181 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 0.9792/0.9792, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.00622/0.00622, allocations: 1.131 MB / 261.4 MB, free: 11.85 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 5.881e-06/5.881e-06, allocations: 4 kB / 277.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.117e-05/3.705e-05, allocations: 6.312 kB / 277.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.NARX): time 0.003521/0.003558, allocations: 1.999 MB / 279.9 MB, free: 9.297 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002369/0.005927, allocations: 1.426 MB / 281.4 MB, free: 7.863 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.006089, allocations: 11.88 kB / 281.4 MB, free: 7.852 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004168/0.01026, allocations: 7.279 MB / 288.6 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1156/0.1259, allocations: 4.939 MB / 293.6 MB, free: 26.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009287/0.1268, allocations: 323 kB / 293.9 MB, free: 26.33 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00463/0.1314, allocations: 2.97 MB / 296.9 MB, free: 25.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000309/0.1317, allocations: 349.6 kB / 297.2 MB, free: 25.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003646/0.1354, allocations: 2.388 MB / 299.6 MB, free: 24.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005361/0.1407, allocations: 6.891 MB / 306.5 MB, free: 18.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007937/0.1415, allocations: 0.6138 MB / 307.1 MB, free: 17.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007847/0.1423, allocations: 0.8336 MB / 307.9 MB, free: 16.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0011/0.1434, allocations: 2.873 MB / 310.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001336/0.1447, allocations: 1.725 MB / 312.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003577/0.1483, allocations: 7.382 MB / 319.9 MB, free: 4.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1483, allocations: 4.594 kB / 319.9 MB, free: 4.926 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1483, allocations: 0 / 319.9 MB, free: 4.926 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001875/0.1485, allocations: 0.5625 kB / 319.9 MB, free: 4.926 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.008772/0.1573, allocations: 7.577 MB / 327.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1573, allocations: 8.031 kB / 327.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009236/0.1583, allocations: 0.4903 MB / 328 MB, free: 12.76 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002805/0.1611, allocations: 3.56 MB / 331.6 MB, free: 9.164 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/0.1611, allocations: 57.66 kB / 331.6 MB, free: 9.109 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003302/0.1614, allocations: 68.38 kB / 331.7 MB, free: 9.043 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002692/0.1641, allocations: 2.268 MB / 333.9 MB, free: 6.742 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1641, allocations: 7.281 kB / 334 MB, free: 6.738 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002774/0.1644, allocations: 25.38 kB / 334 MB, free: 6.715 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.189e-05/0.1645, allocations: 117.9 kB / 334.1 MB, free: 6.602 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009697/0.1742, allocations: 2.37 MB / 336.5 MB, free: 4.258 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01165/0.1858, allocations: 6.95 MB / 343.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.1874, allocations: 1.07 MB / 344.5 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.1886, allocations: 0.8382 MB / 345.3 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.1887, allocations: 56.94 kB / 345.4 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001917/0.1906, allocations: 1.788 MB / 347.2 MB, free: 9.449 MB / 298.7 MB Notification: Performance of pre-optimization done (n=129): time 4.558e-06/0.1906, allocations: 0 / 347.2 MB, free: 9.449 MB / 298.7 MB Notification: Performance of matching and sorting (n=129): time 0.004926/0.1955, allocations: 2.922 MB / 350.1 MB, free: 6.469 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.7e-05/0.1956, allocations: 198.8 kB / 350.3 MB, free: 6.242 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004396/0.2, allocations: 6.15 MB / 356.4 MB, free: 140 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003169/0.2003, allocations: 57.69 kB / 356.5 MB, free: 76 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008952/0.2012, allocations: 1.423 MB / 357.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004578/0.2017, allocations: 400.5 kB / 358.3 MB, free: 14.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008406/0.2025, allocations: 198.8 kB / 358.5 MB, free: 14.05 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.578e-05/0.2026, allocations: 353.8 kB / 358.8 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.2038, allocations: 0.6235 MB / 359.5 MB, free: 13.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.205, allocations: 0.7176 MB / 360.2 MB, free: 12.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002473/0.2074, allocations: 1.613 MB / 361.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.2074, allocations: 0 / 361.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.003396/0.2108, allocations: 1.964 MB / 363.8 MB, free: 8.621 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.981e-05/0.2109, allocations: 105.1 kB / 363.9 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.2109, allocations: 0 / 363.9 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.2109, allocations: 10.58 kB / 363.9 MB, free: 8.492 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001644/0.2126, allocations: 205.2 kB / 364.1 MB, free: 8.309 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.2126, allocations: 4.547 kB / 364.1 MB, free: 8.305 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.2139, allocations: 83.39 kB / 364.2 MB, free: 8.223 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002359/0.2141, allocations: 35.92 kB / 364.2 MB, free: 8.188 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.001266/0.2154, allocations: 308.1 kB / 364.5 MB, free: 7.875 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007337/0.2161, allocations: 483.4 kB / 365 MB, free: 7.402 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007157/0.2232, allocations: 3.673 MB / 368.6 MB, free: 3.699 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/0.2233, allocations: 8 kB / 368.6 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2233, allocations: 8 kB / 368.7 MB, free: 3.684 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.2233, allocations: 3.984 kB / 368.7 MB, free: 3.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008737/0.232, allocations: 6.802 MB / 375.5 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.232, allocations: 0 / 375.5 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/0.2335, allocations: 149 kB / 375.6 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/0.2335, allocations: 4 kB / 375.6 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002253/0.2338, allocations: 31.97 kB / 375.6 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.2338, allocations: 7.938 kB / 375.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2338, allocations: 0 / 375.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003442/0.2372, allocations: 2.419 MB / 378.1 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005308/0.2377, allocations: 0.7037 MB / 378.8 MB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005073/0.2382, allocations: 43.97 kB / 378.8 MB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.2394, allocations: 35.98 kB / 378.8 MB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000407/0.2398, allocations: 72.8 kB / 378.9 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002278/0.2401, allocations: 27.98 kB / 378.9 MB, free: 9.285 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003087/0.2431, allocations: 3.385 MB / 382.3 MB, free: 5.941 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2431, allocations: 0 / 382.3 MB, free: 5.941 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001557/0.2447, allocations: 1.097 MB / 383.4 MB, free: 4.844 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.0005503/0.2452, allocations: 248 kB / 383.7 MB, free: 4.594 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003323/0.2486, allocations: 2.079 MB / 385.8 MB, free: 2.438 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.066e-05/0.2486, allocations: 92 kB / 385.8 MB, free: 2.348 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001556/0.2502, allocations: 1.149 MB / 387 MB, free: 1.137 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.2516, allocations: 288.2 kB / 387.3 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/0.2633, allocations: 12.16 MB / 399.4 MB, free: 4.574 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/0.2645, allocations: 1.702 MB / 401.1 MB, free: 2.844 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001347/0.2659, allocations: 101.3 kB / 401.2 MB, free: 2.746 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002119/0.268, allocations: 191.3 kB / 401.4 MB, free: 2.559 MB / 346.7 MB Notification: Performance of SimCode: time 1.272e-06/0.268, allocations: 0 / 401.4 MB, free: 2.559 MB / 346.7 MB Notification: Performance of Templates: time 0.1787/0.4467, allocations: 49.51 MB / 450.9 MB, free: 119.1 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.3758138259872794]