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.0009872/0.0009872, allocations: 82.61 kB / 19.87 MB, free: 4.613 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.001401/0.001401, allocations: 173.1 kB / 23.28 MB, free: 1.215 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.073/1.073, allocations: 177.1 MB / 203.7 MB, free: 5.488 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.01429/0.01429, allocations: 1.124 MB / 261.4 MB, free: 11.79 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.693e-06/1.693e-06, allocations: 0 / 331.2 MB, free: 18.42 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/2.015e-05, allocations: 2.312 kB / 331.2 MB, free: 18.41 MB / 266.7 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.HelloWorld): time 0.001721/0.001741, allocations: 1.558 MB / 332.7 MB, free: 16.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007727/0.002514, allocations: 0.5336 MB / 333.3 MB, free: 16.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.295e-05/0.002577, allocations: 0 / 333.3 MB, free: 16.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.0027, allocations: 19.86 kB / 333.3 MB, free: 16.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.616e-05/0.002767, allocations: 19.86 kB / 333.3 MB, free: 16.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.002957, allocations: 39.83 kB / 333.3 MB, free: 16.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.331e-05/0.00305, allocations: 79.75 kB / 333.4 MB, free: 16.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.003175, allocations: 8 kB / 333.4 MB, free: 16.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.003316, allocations: 59.75 kB / 333.5 MB, free: 16.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.003422, allocations: 39.89 kB / 333.5 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.003442, allocations: 12 kB / 333.5 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.277e-05/0.003494, allocations: 19.94 kB / 333.6 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.419e-05/0.003539, allocations: 47.81 kB / 333.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.003565, allocations: 19.94 kB / 333.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.003677, allocations: 79.73 kB / 333.7 MB, free: 15.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.003678, allocations: 0 / 333.7 MB, free: 15.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.003679, allocations: 3.984 kB / 333.7 MB, free: 15.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.003683, allocations: 0 / 333.7 MB, free: 15.87 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.0003713/0.004054, allocations: 432.1 kB / 334.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.004087, allocations: 12.03 kB / 334.1 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.608e-05/0.004183, allocations: 28.84 kB / 334.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.004304, allocations: 158.7 kB / 334.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.004315, allocations: 8.375 kB / 334.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.004324, allocations: 8.312 kB / 334.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.004441, allocations: 70.92 kB / 334.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.00445, allocations: 4.172 kB / 334.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.004459, allocations: 4.375 kB / 334.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/0.004481, allocations: 7.938 kB / 334.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.527e-05/0.004516, allocations: 23.91 kB / 334.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002736/0.00479, allocations: 316.2 kB / 334.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.784e-05/0.004858, allocations: 54.92 kB / 334.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.051e-05/0.004878, allocations: 19.67 kB / 334.8 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.083e-05/0.004929, allocations: 12.12 kB / 334.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.004944, allocations: 37.39 kB / 334.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.004945, allocations: 0 / 334.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.000125/0.00507, allocations: 69.72 kB / 335 MB, free: 14.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.635e-05/0.005086, allocations: 51.41 kB / 335 MB, free: 14.44 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.805e-05/0.005154, allocations: 214.6 kB / 335.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.005162, allocations: 37.69 kB / 335.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.005198, allocations: 150.8 kB / 335.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.005216, allocations: 27.78 kB / 335.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.005241, allocations: 23.36 kB / 335.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.136e-05/0.005293, allocations: 0.4962 MB / 335.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.927e-05/0.005312, allocations: 4 kB / 335.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.275e-05/0.005325, allocations: 7.984 kB / 336 MB, free: 13.44 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.24e-05/0.005357, allocations: 28.06 kB / 336 MB, free: 13.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.005359, allocations: 3.938 kB / 336 MB, free: 13.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.415e-05/0.005413, allocations: 61.64 kB / 336 MB, free: 13.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.005423, allocations: 6.656 kB / 336.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.005427, allocations: 7.938 kB / 336.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.005438, allocations: 0 / 336.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.995e-05/0.005498, allocations: 15.98 kB / 336.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.005501, allocations: 0 / 336.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.907e-05/0.00552, allocations: 0 / 336.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.005526, allocations: 8 kB / 336.1 MB, free: 13.3 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.156e-05/0.005568, allocations: 156.5 kB / 336.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.005584, allocations: 11.91 kB / 336.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.005686, allocations: 78.42 kB / 336.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.005688, allocations: 7.938 kB / 336.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.00569, allocations: 7.938 kB / 336.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.005693, allocations: 0 / 336.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.373e-05/0.005787, allocations: 133.1 kB / 336.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.005788, allocations: 0 / 336.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.975e-05/0.005818, allocations: 8 kB / 336.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.00582, allocations: 3.938 kB / 336.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.005826, allocations: 4 kB / 336.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.005826, allocations: 0 / 336.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.005827, allocations: 3.984 kB / 336.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.911e-05/0.005906, allocations: 208 kB / 336.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.302e-05/0.005919, allocations: 15.91 kB / 336.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.005931, allocations: 8 kB / 336.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.26e-05/0.005964, allocations: 3.938 kB / 336.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/0.005989, allocations: 7.984 kB / 336.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.005993, allocations: 4 kB / 336.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.821e-05/0.006031, allocations: 154.2 kB / 336.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006031, allocations: 0 / 336.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001392/0.00617, allocations: 16 kB / 336.9 MB, free: 12.42 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 8.445e-05/0.006255, allocations: 95.23 kB / 337 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.55e-05/0.00632, allocations: 31.67 kB / 337 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.52e-07/0.006321, allocations: 4 kB / 337 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.026e-05/0.006341, allocations: 27.61 kB / 337.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.006483, allocations: 11.91 kB / 337.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003715/0.006855, allocations: 224.5 kB / 337.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.978e-05/0.006884, allocations: 75.98 kB / 337.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.553e-05/0.00691, allocations: 7.984 kB / 337.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.006946, allocations: 82.19 kB / 337.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.006946, allocations: 0 / 337.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of Templates: time 0.002258/0.009205, allocations: 0.8816 MB / 338.3 MB, free: 10.93 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.8640360748395324]