Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr NeuralNetwork_main_NeuralNetwork.Examples.HelloWorld.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.000933/0.000933, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001033/0.001033, allocations: 177 kB / 23.36 MB, free: 1.125 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.061/1.061, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.0166/0.0166, allocations: 1.126 MB / 261.4 MB, free: 11.83 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.HelloWorld,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="NeuralNetwork_main_NeuralNetwork.Examples.HelloWorld") translateModel(NeuralNetwork.Examples.HelloWorld,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="NeuralNetwork_main_NeuralNetwork.Examples.HelloWorld") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 278 MB, free: 11.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.48e-05, allocations: 2.312 kB / 278 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.HelloWorld): time 0.003001/0.003026, allocations: 1.611 MB / 279.6 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009596/0.003985, allocations: 0.5375 MB / 280.1 MB, free: 9.078 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.018e-05/0.004055, allocations: 4 kB / 280.1 MB, free: 9.074 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.004193, allocations: 15.86 kB / 280.1 MB, free: 9.059 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.597e-05/0.004269, allocations: 15.86 kB / 280.2 MB, free: 9.043 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.004485, allocations: 51.81 kB / 280.2 MB, free: 8.992 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.004619, allocations: 79.7 kB / 280.3 MB, free: 8.914 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.004732, allocations: 19.97 kB / 280.3 MB, free: 8.895 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.004892, allocations: 43.84 kB / 280.3 MB, free: 8.852 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.005011, allocations: 47.81 kB / 280.4 MB, free: 8.805 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.005035, allocations: 8 kB / 280.4 MB, free: 8.797 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.772e-05/0.005112, allocations: 23.92 kB / 280.4 MB, free: 8.773 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.011e-05/0.005172, allocations: 35.91 kB / 280.5 MB, free: 8.738 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.00521, allocations: 27.86 kB / 280.5 MB, free: 8.711 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.005369, allocations: 83.72 kB / 280.6 MB, free: 8.629 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.00537, allocations: 8 kB / 280.6 MB, free: 8.621 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005371, allocations: 0 / 280.6 MB, free: 8.621 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.005375, allocations: 0 / 280.6 MB, free: 8.621 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004248/0.0058, allocations: 304.4 kB / 280.9 MB, free: 8.301 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.005832, allocations: 12.03 kB / 280.9 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.005971, allocations: 28.84 kB / 280.9 MB, free: 8.262 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.006153, allocations: 146.4 kB / 281.1 MB, free: 8.094 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.006165, allocations: 8.375 kB / 281.1 MB, free: 8.086 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.006177, allocations: 4.375 kB / 281.1 MB, free: 8.082 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.006324, allocations: 77.75 kB / 281.1 MB, free: 7.996 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.006333, allocations: 192 / 281.1 MB, free: 7.996 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.006344, allocations: 4.375 kB / 281.1 MB, free: 7.992 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.66e-05/0.006371, allocations: 7.938 kB / 281.2 MB, free: 7.984 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.972e-05/0.006431, allocations: 23.92 kB / 281.2 MB, free: 7.961 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.006814, allocations: 213.9 kB / 281.4 MB, free: 7.734 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.006932, allocations: 99.98 kB / 281.5 MB, free: 7.625 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.246e-05/0.006964, allocations: 16.84 kB / 281.5 MB, free: 7.605 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.953e-05/0.007024, allocations: 8.125 kB / 281.5 MB, free: 7.598 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.007046, allocations: 38.55 kB / 281.5 MB, free: 7.551 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.007048, allocations: 0 / 281.5 MB, free: 7.551 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001564/0.007204, allocations: 53.69 kB / 281.6 MB, free: 7.492 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.007234, allocations: 55.34 kB / 281.7 MB, free: 7.426 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.007346, allocations: 153.9 kB / 281.8 MB, free: 7.266 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.00736, allocations: 25.7 kB / 281.8 MB, free: 7.234 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.007407, allocations: 104 kB / 281.9 MB, free: 7.129 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.007432, allocations: 15.86 kB / 281.9 MB, free: 7.113 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.007472, allocations: 21.69 kB / 282 MB, free: 7.086 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.875e-05/0.007561, allocations: 318.8 kB / 282.3 MB, free: 6.766 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.751e-05/0.007588, allocations: 18.81 kB / 282.3 MB, free: 6.746 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.955e-05/0.007608, allocations: 8 kB / 282.3 MB, free: 6.738 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.442e-05/0.007662, allocations: 26.5 kB / 282.3 MB, free: 6.707 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.007664, allocations: 3.938 kB / 282.3 MB, free: 6.703 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001032/0.007767, allocations: 53.56 kB / 282.4 MB, free: 6.645 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.007781, allocations: 8 kB / 282.4 MB, free: 6.637 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.007785, allocations: 448 / 282.4 MB, free: 6.637 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.007798, allocations: 0 / 282.4 MB, free: 6.637 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.007891, allocations: 11.98 kB / 282.4 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-06/0.007893, allocations: 0 / 282.4 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.691e-05/0.00793, allocations: 15.94 kB / 282.4 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.007938, allocations: 4 kB / 282.4 MB, free: 6.605 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 7.36e-05/0.008012, allocations: 116.7 kB / 282.5 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.008043, allocations: 7.938 kB / 282.5 MB, free: 6.473 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.008195, allocations: 78.33 kB / 282.6 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.008198, allocations: 0 / 282.6 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.008199, allocations: 0 / 282.6 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.008202, allocations: 0 / 282.6 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.008357, allocations: 89.86 kB / 282.7 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.008359, allocations: 0 / 282.7 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.325e-05/0.008432, allocations: 11.98 kB / 282.7 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.008436, allocations: 7.938 kB / 282.7 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.008443, allocations: 0 / 282.7 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.008446, allocations: 0 / 282.7 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.008447, allocations: 0 / 282.7 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.008594, allocations: 198.2 kB / 282.9 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.735e-05/0.008612, allocations: 11.94 kB / 282.9 MB, free: 6.039 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.008629, allocations: 7.938 kB / 282.9 MB, free: 6.031 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.699e-05/0.008706, allocations: 4 kB / 282.9 MB, free: 6.027 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.008734, allocations: 3.984 kB / 282.9 MB, free: 6.023 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.497e-06/0.008744, allocations: 4 kB / 283 MB, free: 6.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.298e-05/0.008787, allocations: 31.06 kB / 283 MB, free: 5.988 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008787, allocations: 4 kB / 283 MB, free: 5.984 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002282/0.009015, allocations: 19.94 kB / 283 MB, free: 5.965 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001009/0.009116, allocations: 80.41 kB / 283.1 MB, free: 5.879 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.008e-05/0.009206, allocations: 24.84 kB / 283.1 MB, free: 5.852 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.009209, allocations: 0 / 283.1 MB, free: 5.852 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.351e-05/0.009242, allocations: 28.98 kB / 283.1 MB, free: 5.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.0094, allocations: 6.625 kB / 283.1 MB, free: 5.816 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005354/0.009935, allocations: 242.5 kB / 283.4 MB, free: 5.551 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.332e-05/0.009988, allocations: 75.33 kB / 283.5 MB, free: 5.457 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.983e-05/0.01004, allocations: 11.97 kB / 283.5 MB, free: 5.445 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.23e-05/0.0101, allocations: 55.38 kB / 283.5 MB, free: 5.391 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.0101, allocations: 0 / 283.5 MB, free: 5.391 MB / 266.7 MB Notification: Performance of Templates: time 0.002958/0.01306, allocations: 0.8576 MB / 284.4 MB, free: 4.539 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f NeuralNetwork_main_NeuralNetwork.Examples.HelloWorld.makefile [Timeout 660] (rm -f NeuralNetwork_main_NeuralNetwork.Examples.HelloWorld.pipe ; mkfifo NeuralNetwork_main_NeuralNetwork.Examples.HelloWorld.pipe ; head -c 1048576 < NeuralNetwork_main_NeuralNetwork.Examples.HelloWorld.pipe >> ../files/NeuralNetwork_main_NeuralNetwork.Examples.HelloWorld.sim & ./NeuralNetwork_main_NeuralNetwork.Examples.HelloWorld -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > NeuralNetwork_main_NeuralNetwork.Examples.HelloWorld.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6222199159674346]