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.001556/0.001556, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001361/0.001361, allocations: 168.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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.364/1.364, allocations: 177.1 MB / 202.8 MB, free: 9.199 MB / 190.1 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.009159/0.009159, allocations: 1.113 MB / 260.3 MB, free: 15.62 MB / 254.1 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.252e-06/1.252e-06, allocations: 0 / 382.8 MB, free: 3.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.816e-05, allocations: 4.109 kB / 382.8 MB, free: 3.676 MB / 302.1 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.NARX): time 0.003114/0.003142, allocations: 1.944 MB / 384.8 MB, free: 1.719 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.005427, allocations: 1.402 MB / 386.2 MB, free: 316 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.005557, allocations: 11.88 kB / 386.2 MB, free: 304 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00678/0.01234, allocations: 7.283 MB / 393.5 MB, free: 8.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004595/0.01693, allocations: 4.936 MB / 398.4 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.01812, allocations: 326.4 kB / 398.7 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003454/0.02157, allocations: 2.968 MB / 401.7 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004831/0.02205, allocations: 363 kB / 402.1 MB, free: 412 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002876/0.02493, allocations: 2.379 MB / 404.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008296/0.03322, allocations: 8.061 MB / 412.5 MB, free: 5.945 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001203/0.03443, allocations: 0.625 MB / 413.1 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/0.03586, allocations: 0.8434 MB / 414 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002494/0.03836, allocations: 2.887 MB / 416.9 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002321/0.04068, allocations: 1.755 MB / 418.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009835/0.05051, allocations: 10.25 MB / 428.9 MB, free: 5.551 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.05052, allocations: 8 kB / 428.9 MB, free: 5.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.05053, allocations: 0 / 428.9 MB, free: 5.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001756/0.0507, allocations: 0 / 428.9 MB, free: 5.543 MB / 350.1 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.1129/0.1636, allocations: 12.25 MB / 441.1 MB, free: 9.176 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.1637, allocations: 12.03 kB / 441.1 MB, free: 9.164 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/0.1651, allocations: 0.8933 MB / 442 MB, free: 8.266 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005576/0.1707, allocations: 3.976 MB / 446 MB, free: 4.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.329e-05/0.1707, allocations: 53.67 kB / 446.1 MB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006079/0.1713, allocations: 68.38 kB / 446.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1596/0.331, allocations: 7.784 MB / 453.9 MB, free: 65.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.331, allocations: 1.188 kB / 453.9 MB, free: 65.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004165/0.3314, allocations: 33.58 kB / 453.9 MB, free: 65.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001418/0.3315, allocations: 119.6 kB / 454.1 MB, free: 65 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03255/0.3641, allocations: 18.88 MB / 472.9 MB, free: 55.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02596/0.3901, allocations: 16.86 MB / 489.8 MB, free: 39.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005815/0.3959, allocations: 7.307 MB / 497.1 MB, free: 31.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005291/0.4012, allocations: 6.967 MB / 0.4923 GB, free: 24.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/0.4013, allocations: 41.8 kB / 0.4923 GB, free: 24.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005914/0.4072, allocations: 7.848 MB / 0.5 GB, free: 16.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=129): time 3.567e-06/0.4072, allocations: 0 / 0.5 GB, free: 16.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=129): time 0.0215/0.4287, allocations: 23.23 MB / 0.5226 GB, free: 10.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001605/0.4289, allocations: 191.2 kB / 0.5228 GB, free: 9.805 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01273/0.4416, allocations: 9.823 MB / 0.5324 GB, free: 32 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001012/0.4426, allocations: 61.69 kB / 0.5325 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003951/0.4466, allocations: 3.808 MB / 0.5362 GB, free: 12.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001043/0.4476, allocations: 403 kB / 0.5366 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001445/0.4491, allocations: 342.9 kB / 0.5369 GB, free: 11.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.4492, allocations: 357.9 kB / 0.5372 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008701/0.4579, allocations: 6.957 MB / 0.544 GB, free: 4.168 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009117/0.4671, allocations: 7.084 MB / 0.551 GB, free: 13.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01844/0.4855, allocations: 14.16 MB / 0.5648 GB, free: 14.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.4855, allocations: 0 / 0.5648 GB, free: 14.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.02279/0.5083, allocations: 16.3 MB / 0.5807 GB, free: 14.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.5084, allocations: 105.1 kB / 0.5808 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.5084, allocations: 5.781 kB / 0.5808 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/0.5084, allocations: 4 kB / 0.5808 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004105/0.5126, allocations: 331.5 kB / 0.5811 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.5126, allocations: 8 kB / 0.5811 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003512/0.5161, allocations: 225.8 kB / 0.5814 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005014/0.5166, allocations: 45.06 kB / 0.5814 GB, free: 13.75 MB / 446.1 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.005033/0.5216, allocations: 2.845 MB / 0.5842 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001556/0.5232, allocations: 0.8729 MB / 0.585 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03163/0.5548, allocations: 17.4 MB / 0.602 GB, free: 8.586 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.5548, allocations: 12 kB / 0.602 GB, free: 8.574 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.5548, allocations: 0 / 0.602 GB, free: 8.574 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.696e-05/0.5548, allocations: 3.984 kB / 0.602 GB, free: 8.57 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1922/0.747, allocations: 24.85 MB / 0.6263 GB, free: 153.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.747, allocations: 1.375 kB / 0.6263 GB, free: 153.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003911/0.7509, allocations: 285.7 kB / 0.6266 GB, free: 153.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/0.7509, allocations: 4.594 kB / 0.6266 GB, free: 153.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004482/0.7514, allocations: 38 kB / 0.6266 GB, free: 153.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/0.7514, allocations: 3.625 kB / 0.6266 GB, free: 153.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.7514, allocations: 1.094 kB / 0.6266 GB, free: 153.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01489/0.7663, allocations: 16.52 MB / 0.6428 GB, free: 140.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008207/0.7671, allocations: 0.708 MB / 0.6434 GB, free: 139.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008986/0.768, allocations: 39.98 kB / 0.6435 GB, free: 139.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003175/0.7712, allocations: 173.7 kB / 0.6437 GB, free: 139.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000891/0.7721, allocations: 72.86 kB / 0.6437 GB, free: 139.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004148/0.7725, allocations: 49.31 kB / 0.6438 GB, free: 139.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.007649/0.7801, allocations: 6.942 MB / 0.6505 GB, free: 132.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7801, allocations: 0 / 0.6505 GB, free: 132.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002562/0.7827, allocations: 1.101 MB / 0.6516 GB, free: 131.3 MB / 462.1 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.0007422/0.7834, allocations: 263.3 kB / 0.6519 GB, free: 131.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01284/0.7963, allocations: 14.54 MB / 0.6661 GB, free: 116.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.7963, allocations: 0 / 0.6661 GB, free: 116.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006641/0.8029, allocations: 7.232 MB / 0.6731 GB, free: 109.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/0.8053, allocations: 273.8 kB / 0.6734 GB, free: 108.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02/0.8253, allocations: 21.22 MB / 0.6941 GB, free: 87.69 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00313/0.8284, allocations: 3.839 MB / 0.6979 GB, free: 83.81 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003142/0.8315, allocations: 1.3 MB / 0.6991 GB, free: 82.53 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002108/0.8336, allocations: 68.47 kB / 0.6992 GB, free: 82.46 MB / 462.1 MB Notification: Performance of SimCode: time 7.82e-07/0.8336, allocations: 0 / 0.6992 GB, free: 82.46 MB / 462.1 MB Notification: Performance of Templates: time 0.06153/0.8952, allocations: 47.82 MB / 0.7459 GB, free: 34.54 MB / 462.1 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: 5.470253936946392] Failed to read output from testmodel.py, exit status != 0: 0.9029342047870159 0.911487365 0.858802307 Calling exit ...