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.00136/0.00136, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.00152/0.00152, allocations: 169.4 kB / 24.05 MB, free: 460 kB / 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.9965/0.9965, allocations: 177.1 MB / 204.5 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.006476/0.006476, allocations: 1.123 MB / 262.2 MB, free: 11.81 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.403e-06/1.403e-06, allocations: 0 / 332 MB, free: 18.41 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.481e-05/1.621e-05, allocations: 2.312 kB / 332 MB, free: 18.41 MB / 266.7 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.NARX): time 0.002681/0.002698, allocations: 1.992 MB / 334 MB, free: 16.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.004648, allocations: 1.402 MB / 335.4 MB, free: 15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.004789, allocations: 11.88 kB / 335.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003698/0.008487, allocations: 7.287 MB / 342.7 MB, free: 7.684 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002794/0.01128, allocations: 4.936 MB / 347.6 MB, free: 2.738 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007643/0.01205, allocations: 327 kB / 347.9 MB, free: 2.418 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002191/0.01424, allocations: 2.972 MB / 350.9 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003861/0.01462, allocations: 347 kB / 351.2 MB, free: 15.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002515/0.01714, allocations: 2.383 MB / 353.6 MB, free: 12.71 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006416/0.02355, allocations: 8.01 MB / 361.6 MB, free: 4.688 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008826/0.02444, allocations: 0.6133 MB / 362.2 MB, free: 4.074 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.02547, allocations: 0.8279 MB / 363.1 MB, free: 3.246 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001911/0.02738, allocations: 2.868 MB / 365.9 MB, free: 380 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005703/0.03308, allocations: 1.736 MB / 367.7 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01181/0.04489, allocations: 7.386 MB / 375 MB, free: 7.219 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.0449, allocations: 0 / 375 MB, free: 7.219 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.0449, allocations: 0 / 375 MB, free: 7.219 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001178/0.04502, allocations: 0 / 375 MB, free: 7.219 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.02644/0.07146, allocations: 8.423 MB / 383.5 MB, free: 14.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.07149, allocations: 8.031 kB / 383.5 MB, free: 14.67 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/0.07277, allocations: 0.9518 MB / 384.4 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003352/0.07612, allocations: 3.534 MB / 388 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.483e-05/0.07617, allocations: 53.67 kB / 388 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004268/0.07659, allocations: 68.38 kB / 388.1 MB, free: 10 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009674/0.08627, allocations: 2.278 MB / 390.4 MB, free: 7.688 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.08628, allocations: 4.188 kB / 390.4 MB, free: 7.684 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003499/0.08663, allocations: 28.38 kB / 390.4 MB, free: 7.656 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/0.08675, allocations: 117.9 kB / 390.5 MB, free: 7.543 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01401/0.1008, allocations: 2.742 MB / 393.2 MB, free: 4.777 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01258/0.1133, allocations: 9.461 MB / 402.7 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.1148, allocations: 1.16 MB / 403.9 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/0.1161, allocations: 1.019 MB / 404.9 MB, free: 9.016 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.1162, allocations: 44.95 kB / 404.9 MB, free: 8.969 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002063/0.1183, allocations: 1.808 MB / 406.7 MB, free: 7.102 MB / 330.7 MB Notification: Performance of pre-optimization done (n=129): time 3.757e-06/0.1183, allocations: 3.938 kB / 406.7 MB, free: 7.098 MB / 330.7 MB Notification: Performance of matching and sorting (n=129): time 0.006169/0.1245, allocations: 4.052 MB / 410.8 MB, free: 2.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.468e-05/0.1246, allocations: 203.1 kB / 411 MB, free: 2.746 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1357/0.2602, allocations: 8.28 MB / 419.3 MB, free: 80.58 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001269/0.2615, allocations: 61.55 kB / 419.3 MB, free: 80.55 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003907/0.2654, allocations: 4.512 MB / 423.8 MB, free: 78.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000828/0.2662, allocations: 416 kB / 424.3 MB, free: 78.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001314/0.2675, allocations: 220.7 kB / 424.5 MB, free: 78.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.901e-05/0.2676, allocations: 0.5355 MB / 425 MB, free: 77.61 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.2688, allocations: 0.7665 MB / 425.8 MB, free: 77.51 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/0.2699, allocations: 0.9263 MB / 426.7 MB, free: 76.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002267/0.2722, allocations: 1.888 MB / 428.6 MB, free: 74.92 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2722, allocations: 0 / 428.6 MB, free: 74.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.00424/0.2764, allocations: 2.885 MB / 431.5 MB, free: 72.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.342e-05/0.2765, allocations: 105.1 kB / 431.6 MB, free: 72.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.2765, allocations: 4 kB / 431.6 MB, free: 72.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.2765, allocations: 11.98 kB / 431.6 MB, free: 72.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002301/0.2788, allocations: 202.2 kB / 431.8 MB, free: 71.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.862e-05/0.2788, allocations: 11.38 kB / 431.8 MB, free: 71.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/0.2807, allocations: 82.12 kB / 431.9 MB, free: 71.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004815/0.2811, allocations: 32 kB / 431.9 MB, free: 71.87 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.0016/0.2827, allocations: 363.8 kB / 432.3 MB, free: 71.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001207/0.2839, allocations: 0.916 MB / 433.2 MB, free: 70.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008242/0.2922, allocations: 4.196 MB / 437.4 MB, free: 66.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.2922, allocations: 17.25 kB / 437.4 MB, free: 66.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.2922, allocations: 0 / 437.4 MB, free: 66.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.2922, allocations: 7.984 kB / 437.4 MB, free: 66.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009071/0.3013, allocations: 8.711 MB / 446.1 MB, free: 57.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.3013, allocations: 0 / 446.1 MB, free: 57.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001695/0.303, allocations: 147.1 kB / 446.3 MB, free: 57.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.303, allocations: 7.938 kB / 446.3 MB, free: 57.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002211/0.3032, allocations: 37.19 kB / 446.3 MB, free: 57.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.3032, allocations: 4 kB / 446.3 MB, free: 57.46 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3032, allocations: 0 / 446.3 MB, free: 57.46 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003861/0.3071, allocations: 3.478 MB / 449.8 MB, free: 53.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004465/0.3075, allocations: 0.6994 MB / 450.5 MB, free: 53.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005181/0.308, allocations: 51.91 kB / 450.5 MB, free: 53.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.3093, allocations: 29.33 kB / 450.6 MB, free: 53.15 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004303/0.3097, allocations: 76.7 kB / 450.6 MB, free: 53.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002287/0.31, allocations: 39.98 kB / 450.7 MB, free: 53.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003103/0.3131, allocations: 4.071 MB / 454.7 MB, free: 49.01 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3131, allocations: 0 / 454.7 MB, free: 49.01 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001447/0.3145, allocations: 1.096 MB / 455.8 MB, free: 47.94 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.0004661/0.315, allocations: 261.4 kB / 456.1 MB, free: 47.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002883/0.3179, allocations: 2.438 MB / 458.5 MB, free: 45.2 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3179, allocations: 0 / 458.5 MB, free: 45.2 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001513/0.3194, allocations: 1.34 MB / 459.9 MB, free: 43.8 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.3213, allocations: 285.5 kB / 460.2 MB, free: 43.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009516/0.3308, allocations: 12.31 MB / 472.5 MB, free: 31.12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/0.332, allocations: 1.706 MB / 474.2 MB, free: 29.39 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002714/0.3347, allocations: 101.1 kB / 474.3 MB, free: 29.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002031/0.3367, allocations: 230.1 kB / 474.5 MB, free: 29.07 MB / 330.7 MB Notification: Performance of SimCode: time 1.353e-06/0.3367, allocations: 0 / 474.5 MB, free: 29.07 MB / 330.7 MB Notification: Performance of Templates: time 0.06637/0.4031, allocations: 50.74 MB / 0.5129 GB, free: 10.24 MB / 362.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.782280927989632]