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.0008734/0.0008734, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009519/0.0009519, allocations: 173.3 kB / 23.5 MB, free: 1.059 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.024/1.024, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.006422/0.006422, allocations: 1.127 MB / 261.4 MB, free: 12.04 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.613e-06/1.613e-06, allocations: 0 / 330.7 MB, free: 19.03 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.854e-05, allocations: 4.422 kB / 330.7 MB, free: 19.03 MB / 266.7 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.HelloWorld): time 0.005331/0.005359, allocations: 1.567 MB / 332.3 MB, free: 17.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000777/0.006136, allocations: 0.5259 MB / 332.8 MB, free: 16.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.133e-05/0.006207, allocations: 0 / 332.8 MB, free: 16.92 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.006343, allocations: 19.86 kB / 332.9 MB, free: 16.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.136e-05/0.006415, allocations: 23.8 kB / 332.9 MB, free: 16.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.006662, allocations: 43.77 kB / 332.9 MB, free: 16.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.006778, allocations: 71.77 kB / 333 MB, free: 16.76 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.00691, allocations: 15.98 kB / 333 MB, free: 16.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.007054, allocations: 55.81 kB / 333.1 MB, free: 16.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.007164, allocations: 39.89 kB / 333.1 MB, free: 16.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.007183, allocations: 12 kB / 333.1 MB, free: 16.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.137e-05/0.007244, allocations: 27.91 kB / 333.1 MB, free: 16.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.242e-05/0.007297, allocations: 39.84 kB / 333.2 MB, free: 16.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.575e-05/0.007333, allocations: 23.92 kB / 333.2 MB, free: 16.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.007484, allocations: 83.72 kB / 333.3 MB, free: 16.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.007487, allocations: 0 / 333.3 MB, free: 16.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.007488, allocations: 0 / 333.3 MB, free: 16.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.007493, allocations: 0 / 333.3 MB, free: 16.47 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.003494/0.01099, allocations: 444 kB / 333.7 MB, free: 16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.01102, allocations: 12.03 kB / 333.7 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.01117, allocations: 24.84 kB / 333.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.01136, allocations: 161.1 kB / 333.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.01137, allocations: 4.375 kB / 333.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.01138, allocations: 8.359 kB / 333.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.01153, allocations: 82.86 kB / 334 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.01154, allocations: 192 / 334 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.01155, allocations: 384 / 334 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.383e-05/0.01158, allocations: 7.938 kB / 334 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.148e-05/0.01166, allocations: 27.97 kB / 334 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.01206, allocations: 351.5 kB / 334.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.01217, allocations: 47.05 kB / 334.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.002e-05/0.01221, allocations: 31.78 kB / 334.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.112e-05/0.01229, allocations: 8.125 kB / 334.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.0123, allocations: 37.39 kB / 334.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.0123, allocations: 0 / 334.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002159/0.01252, allocations: 81.52 kB / 334.6 MB, free: 15.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.112e-05/0.01254, allocations: 55.41 kB / 334.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.01265, allocations: 220.3 kB / 334.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/0.01265, allocations: 29.7 kB / 334.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.0127, allocations: 154.8 kB / 335 MB, free: 14.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.01272, allocations: 19.8 kB / 335.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.01276, allocations: 23.38 kB / 335.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.113e-05/0.01281, allocations: 0.4961 MB / 335.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.798e-05/0.01284, allocations: 15.98 kB / 335.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.248e-05/0.01286, allocations: 4 kB / 335.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.574e-05/0.01292, allocations: 31.69 kB / 335.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01292, allocations: 0 / 335.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001032/0.01302, allocations: 65.58 kB / 335.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.01303, allocations: 4 kB / 335.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.01304, allocations: 7.984 kB / 335.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.01305, allocations: 0 / 335.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.993e-05/0.01314, allocations: 16.44 kB / 335.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.01315, allocations: 0 / 335.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.28e-05/0.01318, allocations: 7.984 kB / 335.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.01319, allocations: 0 / 335.7 MB, free: 13.82 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 4.89e-05/0.01324, allocations: 160.5 kB / 335.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.01327, allocations: 19.91 kB / 335.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003182/0.01645, allocations: 78.38 kB / 336 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01645, allocations: 4 kB / 336 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.01645, allocations: 4 kB / 336 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01646, allocations: 0 / 336 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.0166, allocations: 160.5 kB / 336.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.0166, allocations: 0 / 336.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.67e-05/0.01666, allocations: 11.98 kB / 336.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01666, allocations: 4 kB / 336.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.01667, allocations: 4 kB / 336.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.01667, allocations: 0 / 336.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01667, allocations: 0 / 336.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.01679, allocations: 219.8 kB / 336.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.603e-05/0.0168, allocations: 15.91 kB / 336.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.01682, allocations: 4 kB / 336.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.134e-05/0.01688, allocations: 0 / 336.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.01692, allocations: 11.98 kB / 336.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.01692, allocations: 3.938 kB / 336.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.515e-05/0.01698, allocations: 158.2 kB / 336.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01698, allocations: 0 / 336.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002496/0.01723, allocations: 16 kB / 336.6 MB, free: 12.89 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.0001105/0.01734, allocations: 91.25 kB / 336.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001175/0.01746, allocations: 39.61 kB / 336.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01746, allocations: 4 kB / 336.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.426e-05/0.01749, allocations: 27.67 kB / 336.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.01774, allocations: 12.22 kB / 336.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005816/0.01832, allocations: 232.5 kB / 337 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.917e-05/0.01836, allocations: 71.98 kB / 337 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.822e-05/0.01841, allocations: 7.984 kB / 337.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.01844, allocations: 20.5 kB / 337.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01844, allocations: 0 / 337.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of Templates: time 0.006023/0.02447, allocations: 0.8142 MB / 337.9 MB, free: 11.52 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 -lv LOG_STATS > NeuralNetwork_main_NeuralNetwork.Examples.HelloWorld.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.748583324952051]