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.000993/0.000993, allocations: 81.92 kB / 19.87 MB, free: 4.621 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.001079/0.001079, allocations: 173.7 kB / 23.28 MB, free: 1.223 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.043/1.043, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.01661/0.01661, allocations: 1.131 MB / 261.4 MB, free: 11.82 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.573e-06/1.573e-06, allocations: 0 / 331.2 MB, free: 3.496 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.69e-05, allocations: 6.25 kB / 331.2 MB, free: 3.488 MB / 298.7 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.NARX): time 0.005974/0.006001, allocations: 1.99 MB / 333.2 MB, free: 1.484 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00503/0.01103, allocations: 1.418 MB / 334.6 MB, free: 56 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/0.01122, allocations: 11.88 kB / 334.6 MB, free: 44 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01171/0.02293, allocations: 7.283 MB / 341.9 MB, free: 8.746 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006828/0.02976, allocations: 4.939 MB / 346.8 MB, free: 3.797 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008325/0.03059, allocations: 319 kB / 347.1 MB, free: 3.484 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005712/0.0363, allocations: 2.968 MB / 350.1 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003619/0.03666, allocations: 351 kB / 350.4 MB, free: 168 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009632/0.0463, allocations: 2.383 MB / 352.8 MB, free: 13.78 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01239/0.05868, allocations: 8.01 MB / 360.8 MB, free: 5.758 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004143/0.06283, allocations: 0.621 MB / 361.4 MB, free: 5.137 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.06416, allocations: 0.824 MB / 362.3 MB, free: 4.312 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001731/0.06589, allocations: 2.868 MB / 365.1 MB, free: 1.438 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005441/0.07133, allocations: 1.732 MB / 366.9 MB, free: 15.7 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00731/0.07864, allocations: 7.39 MB / 374.3 MB, free: 8.289 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.07864, allocations: 3.984 kB / 374.3 MB, free: 8.285 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.07864, allocations: 3.938 kB / 374.3 MB, free: 8.281 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.626e-05/0.07873, allocations: 4 kB / 374.3 MB, free: 8.277 MB / 346.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.008779/0.08751, allocations: 8.415 MB / 382.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.08755, allocations: 20.03 kB / 382.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009369/0.08849, allocations: 0.944 MB / 383.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002766/0.09125, allocations: 3.534 MB / 387.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.49e-05/0.09129, allocations: 53.67 kB / 387.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002837/0.09157, allocations: 68.38 kB / 387.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002611/0.09418, allocations: 2.27 MB / 389.6 MB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.0942, allocations: 192 / 389.6 MB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002247/0.09442, allocations: 24.38 kB / 389.6 MB, free: 8.738 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.805e-05/0.09451, allocations: 121.9 kB / 389.7 MB, free: 8.617 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009217/0.1037, allocations: 2.75 MB / 392.5 MB, free: 5.848 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01446/0.1182, allocations: 9.462 MB / 401.9 MB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.1196, allocations: 1.16 MB / 403.1 MB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/0.1208, allocations: 1.019 MB / 404.1 MB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/0.1209, allocations: 73.67 kB / 404.2 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002031/0.1229, allocations: 1.819 MB / 406 MB, free: 8.129 MB / 378.7 MB Notification: Performance of pre-optimization done (n=129): time 2.605e-06/0.1229, allocations: 0 / 406 MB, free: 8.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=129): time 0.005495/0.1284, allocations: 4.056 MB / 410.1 MB, free: 4.008 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.073e-05/0.1285, allocations: 191.2 kB / 410.2 MB, free: 3.785 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006548/0.1351, allocations: 8.285 MB / 418.5 MB, free: 11.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003102/0.1354, allocations: 57.69 kB / 418.6 MB, free: 11.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003198/0.1386, allocations: 4.522 MB / 423.1 MB, free: 6.949 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002536/0.1411, allocations: 412.6 kB / 423.5 MB, free: 6.543 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001411/0.1425, allocations: 216.5 kB / 423.7 MB, free: 6.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002297/0.1428, allocations: 0.5315 MB / 424.3 MB, free: 5.781 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001895/0.1447, allocations: 0.7728 MB / 425 MB, free: 4.992 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002078/0.1467, allocations: 0.926 MB / 425.9 MB, free: 4.008 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00428/0.151, allocations: 1.878 MB / 427.8 MB, free: 2.062 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.151, allocations: 0 / 427.8 MB, free: 2.062 MB / 394.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.006197/0.1572, allocations: 2.892 MB / 430.7 MB, free: 15.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.918e-05/0.1573, allocations: 109.1 kB / 430.8 MB, free: 15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.1573, allocations: 128 / 430.8 MB, free: 15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.1573, allocations: 12 kB / 430.8 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/0.1589, allocations: 199.7 kB / 431 MB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.1589, allocations: 15.92 kB / 431 MB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.1605, allocations: 83.34 kB / 431.1 MB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002188/0.1607, allocations: 35.98 kB / 431.2 MB, free: 14.66 MB / 410.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.001262/0.162, allocations: 358.8 kB / 431.5 MB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001285/0.1633, allocations: 0.916 MB / 432.4 MB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008824/0.1721, allocations: 4.199 MB / 436.6 MB, free: 9.121 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.1721, allocations: 19.94 kB / 436.6 MB, free: 9.102 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1721, allocations: 0 / 436.6 MB, free: 9.102 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.1721, allocations: 11.91 kB / 436.7 MB, free: 9.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01341/0.1856, allocations: 8.704 MB / 445.4 MB, free: 320 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.1856, allocations: 0 / 445.4 MB, free: 320 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/0.1871, allocations: 143.8 kB / 445.5 MB, free: 176 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/0.1871, allocations: 4 kB / 445.5 MB, free: 172 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002111/0.1873, allocations: 39.97 kB / 445.5 MB, free: 132 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.1873, allocations: 4 kB / 445.6 MB, free: 128 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1873, allocations: 7.875 kB / 445.6 MB, free: 120 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1433/0.3306, allocations: 3.474 MB / 449 MB, free: 141.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007398/0.3313, allocations: 0.7039 MB / 449.7 MB, free: 141.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005668/0.3319, allocations: 39.31 kB / 449.8 MB, free: 141.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.3332, allocations: 37.19 kB / 449.8 MB, free: 141.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000381/0.3335, allocations: 75.2 kB / 449.9 MB, free: 141.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002104/0.3337, allocations: 35.22 kB / 449.9 MB, free: 141.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003729/0.3375, allocations: 4.075 MB / 454 MB, free: 141.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3375, allocations: 0 / 454 MB, free: 141.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001957/0.3394, allocations: 1.098 MB / 455.1 MB, free: 141.1 MB / 410.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.0005638/0.34, allocations: 262.3 kB / 455.3 MB, free: 141 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003151/0.3431, allocations: 2.431 MB / 457.8 MB, free: 140.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3431, allocations: 1.438 kB / 457.8 MB, free: 140.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001585/0.3447, allocations: 1.338 MB / 459.1 MB, free: 140.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.3466, allocations: 293.7 kB / 459.4 MB, free: 140.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/0.3601, allocations: 12.3 MB / 471.7 MB, free: 135.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001665/0.3617, allocations: 1.7 MB / 473.4 MB, free: 135.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002701/0.3644, allocations: 102.6 kB / 473.5 MB, free: 135.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002007/0.3665, allocations: 234.3 kB / 473.7 MB, free: 135 MB / 410.7 MB Notification: Performance of SimCode: time 3.637e-06/0.3665, allocations: 0 / 473.7 MB, free: 135 MB / 410.7 MB Notification: Performance of Templates: time 0.06027/0.4267, allocations: 49.57 MB / 0.511 GB, free: 91.27 MB / 410.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.565913521219045]