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.001089/0.001089, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001839/0.002928, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.00106/0.00106, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00831/0.00937, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.095/1.095, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08853/1.183, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NeuralNetwork 2.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NeuralNetwork 2.1.0-main/package.mo): time 0.02053/0.02053, allocations: 1.124 MB / 245.3 MB, free: 13.69 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002858/0.02338, allocations: 0.5385 MB / 245.8 MB, free: 13.14 MB / 250.7 MB " [Timeout remaining time 180] Using package NeuralNetwork with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NeuralNetwork 2.1.0-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.463e-06/1.463e-06, allocations: 0 / 247 MB, free: 11.89 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.662e-05, allocations: 2.312 kB / 247 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.HelloWorld): time 0.002552/0.002579, allocations: 1.63 MB / 248.7 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006898/0.009477, allocations: 0.5453 MB / 249.2 MB, free: 9.699 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.009549, allocations: 0 / 249.2 MB, free: 9.699 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.009659, allocations: 19.86 kB / 249.2 MB, free: 9.68 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.728e-05/0.009726, allocations: 23.8 kB / 249.3 MB, free: 9.656 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.009928, allocations: 39.83 kB / 249.3 MB, free: 9.617 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.01006, allocations: 71.77 kB / 249.4 MB, free: 9.547 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.01018, allocations: 23.92 kB / 249.4 MB, free: 9.523 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.01038, allocations: 63.83 kB / 249.5 MB, free: 9.461 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.01053, allocations: 47.88 kB / 249.5 MB, free: 9.414 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.01055, allocations: 7.938 kB / 249.5 MB, free: 9.406 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.799e-05/0.01064, allocations: 23.98 kB / 249.5 MB, free: 9.383 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.059e-05/0.0107, allocations: 31.92 kB / 249.6 MB, free: 9.352 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.293e-05/0.01073, allocations: 15.94 kB / 249.6 MB, free: 9.336 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.01091, allocations: 79.62 kB / 249.7 MB, free: 9.258 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.01093, allocations: 0 / 249.7 MB, free: 9.258 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.01093, allocations: 4 kB / 249.7 MB, free: 9.254 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.01094, allocations: 4 kB / 249.7 MB, free: 9.25 MB / 250.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.0005024/0.01144, allocations: 320 kB / 250 MB, free: 8.914 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.01148, allocations: 15.98 kB / 250 MB, free: 8.898 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.01164, allocations: 98.02 kB / 250.1 MB, free: 8.785 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003223/0.01486, allocations: 154.2 kB / 250.2 MB, free: 8.609 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.01487, allocations: 4.375 kB / 250.3 MB, free: 8.605 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.01489, allocations: 8.375 kB / 250.3 MB, free: 8.598 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.01507, allocations: 81.67 kB / 250.3 MB, free: 8.508 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.01508, allocations: 192 / 250.3 MB, free: 8.508 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.01509, allocations: 4.375 kB / 250.3 MB, free: 8.504 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.189e-05/0.01512, allocations: 7.938 kB / 250.4 MB, free: 8.496 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.766e-05/0.01517, allocations: 19.86 kB / 250.4 MB, free: 8.48 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003743/0.01554, allocations: 225.7 kB / 250.6 MB, free: 8.242 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.01565, allocations: 92.06 kB / 250.7 MB, free: 8.141 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.66e-05/0.01569, allocations: 20.97 kB / 250.7 MB, free: 8.117 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.934e-05/0.01576, allocations: 4 kB / 250.7 MB, free: 8.113 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.01579, allocations: 30.56 kB / 250.7 MB, free: 8.074 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.01579, allocations: 0 / 250.7 MB, free: 8.074 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001737/0.01596, allocations: 69.61 kB / 250.8 MB, free: 8 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.016, allocations: 51.41 kB / 250.9 MB, free: 7.938 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.01611, allocations: 149.9 kB / 251 MB, free: 7.781 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.01613, allocations: 25.7 kB / 251 MB, free: 7.75 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/0.01617, allocations: 104.1 kB / 251.1 MB, free: 7.645 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.0162, allocations: 15.8 kB / 251.1 MB, free: 7.629 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.01624, allocations: 17.72 kB / 251.2 MB, free: 7.605 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.803e-05/0.01634, allocations: 326.8 kB / 251.5 MB, free: 7.277 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.429e-05/0.01636, allocations: 10.81 kB / 251.5 MB, free: 7.266 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.52e-05/0.01638, allocations: 4 kB / 251.5 MB, free: 7.262 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.482e-05/0.01643, allocations: 30.5 kB / 251.5 MB, free: 7.227 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.01644, allocations: 4 kB / 251.5 MB, free: 7.223 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.888e-05/0.01654, allocations: 58 kB / 251.6 MB, free: 7.16 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.01655, allocations: 4 kB / 251.6 MB, free: 7.156 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01656, allocations: 4 kB / 251.6 MB, free: 7.152 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.01658, allocations: 0 / 251.6 MB, free: 7.152 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.01668, allocations: 15.98 kB / 251.6 MB, free: 7.137 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.01669, allocations: 0 / 251.6 MB, free: 7.137 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.707e-05/0.01671, allocations: 4 kB / 251.6 MB, free: 7.133 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.01672, allocations: 3.938 kB / 251.6 MB, free: 7.129 MB / 250.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.572e-05/0.0168, allocations: 112.7 kB / 251.7 MB, free: 7.008 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.01682, allocations: 19.92 kB / 251.7 MB, free: 6.988 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.01698, allocations: 66.39 kB / 251.8 MB, free: 6.914 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.01698, allocations: 3.984 kB / 251.8 MB, free: 6.91 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.01698, allocations: 0 / 251.8 MB, free: 6.91 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01699, allocations: 0 / 251.8 MB, free: 6.91 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.01713, allocations: 93.81 kB / 251.9 MB, free: 6.801 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.01714, allocations: 0 / 251.9 MB, free: 6.801 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.531e-05/0.0172, allocations: 15.98 kB / 251.9 MB, free: 6.785 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.931e-05/0.01722, allocations: 15.83 kB / 251.9 MB, free: 6.77 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.01722, allocations: 0 / 251.9 MB, free: 6.77 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.01723, allocations: 8 kB / 251.9 MB, free: 6.762 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01723, allocations: 0 / 251.9 MB, free: 6.762 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.01723, allocations: 3.984 kB / 251.9 MB, free: 6.758 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.01737, allocations: 198.2 kB / 252.1 MB, free: 6.547 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.01739, allocations: 3.938 kB / 252.1 MB, free: 6.543 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.667e-05/0.01745, allocations: 0 / 252.1 MB, free: 6.543 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.842e-05/0.01747, allocations: 7.984 kB / 252.2 MB, free: 6.535 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.01748, allocations: 0 / 252.2 MB, free: 6.535 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.00305/0.02053, allocations: 39.05 kB / 252.2 MB, free: 6.496 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02053, allocations: 4 kB / 252.2 MB, free: 6.492 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001969/0.02073, allocations: 12 kB / 252.2 MB, free: 6.48 MB / 250.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.00011/0.02084, allocations: 80.42 kB / 252.3 MB, free: 6.395 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.752e-05/0.02092, allocations: 36.95 kB / 252.3 MB, free: 6.355 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.904e-06/0.02093, allocations: 7.875 kB / 252.3 MB, free: 6.348 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.807e-05/0.02097, allocations: 20.84 kB / 252.3 MB, free: 6.324 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.02113, allocations: 19.94 kB / 252.4 MB, free: 6.305 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008604/0.022, allocations: 234.5 kB / 252.6 MB, free: 6.047 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.133e-05/0.02205, allocations: 79.33 kB / 252.7 MB, free: 5.949 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.95e-05/0.02209, allocations: 4 kB / 252.7 MB, free: 5.945 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.393e-05/0.02214, allocations: 59.36 kB / 252.7 MB, free: 5.887 MB / 250.7 MB Notification: Performance of SimCode: time 1.072e-06/0.02214, allocations: 0 / 252.7 MB, free: 5.887 MB / 250.7 MB Notification: Performance of Templates: time 0.005859/0.028, allocations: 0.853 MB / 253.6 MB, free: 5.035 MB / 250.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.5168937938287854]