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.001384/0.001384, allocations: 84.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001486/0.001486, allocations: 157.7 kB / 22.76 MB, free: 1.68 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 2.133/2.133, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.01579/0.01579, allocations: 1.124 MB / 260.7 MB, free: 11.96 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.703e-06/1.703e-06, allocations: 0 / 330 MB, free: 19.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.766e-05, allocations: 2.312 kB / 330 MB, free: 19.02 MB / 266.7 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.HelloWorld): time 0.002345/0.002373, allocations: 1.527 MB / 331.5 MB, free: 17.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000902/0.003275, allocations: 0.522 MB / 332.1 MB, free: 16.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.817e-05/0.003353, allocations: 0 / 332.1 MB, free: 16.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.003492, allocations: 19.84 kB / 332.1 MB, free: 16.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.258e-05/0.003565, allocations: 15.88 kB / 332.1 MB, free: 16.92 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.003823, allocations: 47.75 kB / 332.1 MB, free: 16.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.003944, allocations: 71.77 kB / 332.2 MB, free: 16.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.004099, allocations: 15.98 kB / 332.2 MB, free: 16.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.004258, allocations: 59.77 kB / 332.3 MB, free: 16.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.004383, allocations: 43.88 kB / 332.3 MB, free: 16.69 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.00441, allocations: 12 kB / 332.3 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.943e-05/0.004479, allocations: 12 kB / 332.3 MB, free: 16.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.93e-05/0.004548, allocations: 51.81 kB / 332.4 MB, free: 16.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.284e-05/0.004591, allocations: 19.94 kB / 332.4 MB, free: 16.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.004788, allocations: 107.7 kB / 332.5 MB, free: 16.49 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.004791, allocations: 0 / 332.5 MB, free: 16.49 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.004792, allocations: 0 / 332.5 MB, free: 16.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.004797, allocations: 0 / 332.5 MB, free: 16.49 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.0006066/0.005404, allocations: 341.7 kB / 332.9 MB, free: 16.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.005441, allocations: 12.03 kB / 332.9 MB, free: 16.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.005612, allocations: 32.83 kB / 332.9 MB, free: 16.08 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.005807, allocations: 163.6 kB / 333.1 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.005821, allocations: 8.375 kB / 333.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.005835, allocations: 384 / 333.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.006036, allocations: 98.2 kB / 333.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.006049, allocations: 192 / 333.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.006063, allocations: 384 / 333.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.006085, allocations: 7.938 kB / 333.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.00625, allocations: 87.88 kB / 333.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004852/0.006735, allocations: 320.3 kB / 333.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.006895, allocations: 86.48 kB / 333.7 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.341e-05/0.006979, allocations: 48.94 kB / 333.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-05/0.007071, allocations: 4.125 kB / 333.7 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.00709, allocations: 30.56 kB / 333.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.007091, allocations: 0 / 333.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003368/0.007428, allocations: 149.5 kB / 333.9 MB, free: 15.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.007453, allocations: 63.34 kB / 333.9 MB, free: 14.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.007574, allocations: 168.8 kB / 334.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.007584, allocations: 29.64 kB / 334.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.00763, allocations: 112.1 kB / 334.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.007655, allocations: 19.78 kB / 334.3 MB, free: 14.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.007691, allocations: 21.72 kB / 334.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.277e-05/0.007744, allocations: 326.8 kB / 334.6 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.498e-05/0.007809, allocations: 31.98 kB / 334.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.377e-05/0.007862, allocations: 31.97 kB / 334.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.007984, allocations: 72.83 kB / 334.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.007986, allocations: 4 kB / 334.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001721/0.008158, allocations: 109.6 kB / 334.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.008171, allocations: 11.94 kB / 334.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.008177, allocations: 0 / 334.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.0082, allocations: 0 / 334.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.008309, allocations: 11.98 kB / 334.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.008316, allocations: 0 / 334.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.474e-05/0.00837, allocations: 7.984 kB / 334.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.008379, allocations: 4 kB / 334.9 MB, free: 13.95 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 6.976e-05/0.008449, allocations: 133.8 kB / 335 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.008485, allocations: 15.91 kB / 335 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000251/0.008736, allocations: 130.8 kB / 335.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.008739, allocations: 0 / 335.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.008744, allocations: 0 / 335.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.008749, allocations: 3.984 kB / 335.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.008904, allocations: 157.3 kB / 335.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.008905, allocations: 0 / 335.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.703e-05/0.008982, allocations: 11.98 kB / 335.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.008985, allocations: 0 / 335.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.008995, allocations: 8 kB / 335.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.008996, allocations: 0 / 335.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.008997, allocations: 0 / 335.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.009204, allocations: 211.4 kB / 335.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.05e-05/0.009225, allocations: 19.84 kB / 335.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.009244, allocations: 7.938 kB / 335.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.317e-05/0.009327, allocations: 7.984 kB / 335.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.00937, allocations: 4 kB / 335.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.009376, allocations: 0 / 335.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.539e-05/0.009451, allocations: 139.2 kB / 335.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009451, allocations: 4 kB / 335.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002407/0.009692, allocations: 12 kB / 335.7 MB, free: 13.04 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.0001243/0.009816, allocations: 95.25 kB / 335.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001824/0.009999, allocations: 71.95 kB / 335.9 MB, free: 12.87 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01, allocations: 0 / 335.9 MB, free: 12.87 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.945e-05/0.01007, allocations: 43.91 kB / 335.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.01031, allocations: 12.47 kB / 336 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004354/0.01075, allocations: 254.7 kB / 336.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.521e-05/0.01082, allocations: 101 kB / 336.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.336e-05/0.01088, allocations: 15.97 kB / 336.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.01091, allocations: 12.5 kB / 336.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01091, allocations: 4 kB / 336.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of Templates: time 0.003494/0.01441, allocations: 0.8193 MB / 337.2 MB, free: 11.57 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=480 -lv LOG_STATS > NeuralNetwork_main_NeuralNetwork.Examples.HelloWorld.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.9872440960025415]