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.001252/0.001252, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001319/0.001319, allocations: 165.1 kB / 22.46 MB, free: 5.359 MB / 14.72 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.348/1.348, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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.0184/0.0184, allocations: 1.131 MB / 260.3 MB, free: 15.61 MB / 254.1 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.102e-06/1.102e-06, allocations: 0 / 382.8 MB, free: 3.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.804e-05, allocations: 2.281 kB / 382.8 MB, free: 3.648 MB / 302.1 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.HelloWorld): time 0.002447/0.002465, allocations: 1.52 MB / 384.4 MB, free: 2.113 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009325/0.003397, allocations: 0.522 MB / 384.9 MB, free: 1.586 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.5e-05/0.003462, allocations: 7.875 kB / 384.9 MB, free: 1.578 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.00358, allocations: 19.86 kB / 384.9 MB, free: 1.559 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.762e-05/0.003648, allocations: 19.86 kB / 384.9 MB, free: 1.539 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.003868, allocations: 43.83 kB / 385 MB, free: 1.496 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.003994, allocations: 67.77 kB / 385 MB, free: 1.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.004112, allocations: 23.97 kB / 385.1 MB, free: 1.406 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.004259, allocations: 51.83 kB / 385.1 MB, free: 1.355 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.004375, allocations: 39.89 kB / 385.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.004403, allocations: 8 kB / 385.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.229e-05/0.004465, allocations: 23.97 kB / 385.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.07e-05/0.004536, allocations: 39.84 kB / 385.2 MB, free: 1.246 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.004579, allocations: 27.92 kB / 385.3 MB, free: 1.219 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.00476, allocations: 115.5 kB / 385.4 MB, free: 1.105 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.004762, allocations: 0 / 385.4 MB, free: 1.105 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004762, allocations: 0 / 385.4 MB, free: 1.105 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.00477, allocations: 0 / 385.4 MB, free: 1.105 MB / 302.1 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.0006269/0.005397, allocations: 339.5 kB / 385.7 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.005427, allocations: 8.031 kB / 385.7 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.005564, allocations: 24.83 kB / 385.7 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.005806, allocations: 157.6 kB / 385.9 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.005815, allocations: 8.375 kB / 385.9 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.005833, allocations: 4.375 kB / 385.9 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.006046, allocations: 105.7 kB / 386 MB, free: 428 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.006057, allocations: 192 / 386 MB, free: 428 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.006069, allocations: 4.375 kB / 386 MB, free: 424 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.00609, allocations: 11.88 kB / 386 MB, free: 412 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.006272, allocations: 79.94 kB / 386.1 MB, free: 332 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005491/0.006821, allocations: 320.2 kB / 386.4 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.006999, allocations: 86.53 kB / 386.5 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.137e-05/0.00709, allocations: 44.95 kB / 386.5 MB, free: 15.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.756e-05/0.007158, allocations: 4 kB / 386.5 MB, free: 15.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.007188, allocations: 42.55 kB / 386.6 MB, free: 15.79 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.00719, allocations: 0 / 386.6 MB, free: 15.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003829/0.007572, allocations: 137.5 kB / 386.7 MB, free: 15.64 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.00761, allocations: 51.41 kB / 386.8 MB, free: 15.58 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.007778, allocations: 181.4 kB / 386.9 MB, free: 15.4 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.007798, allocations: 29.7 kB / 387 MB, free: 15.36 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.058e-05/0.007868, allocations: 112.1 kB / 387.1 MB, free: 15.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.007894, allocations: 19.78 kB / 387.1 MB, free: 15.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.007938, allocations: 21.72 kB / 387.1 MB, free: 15.2 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.008073, allocations: 326.8 kB / 387.4 MB, free: 14.88 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.889e-05/0.008152, allocations: 31.97 kB / 387.5 MB, free: 14.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.669e-05/0.008219, allocations: 31.98 kB / 387.5 MB, free: 14.81 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.008368, allocations: 69.2 kB / 387.6 MB, free: 14.74 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.00837, allocations: 4 kB / 387.6 MB, free: 14.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002117/0.008581, allocations: 121.5 kB / 387.7 MB, free: 14.61 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.008595, allocations: 7.984 kB / 387.7 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.008599, allocations: 0 / 387.7 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.008611, allocations: 0 / 387.7 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.008717, allocations: 12 kB / 387.7 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.008727, allocations: 7.969 kB / 387.7 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.508e-05/0.008782, allocations: 4 kB / 387.7 MB, free: 14.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.00879, allocations: 0 / 387.7 MB, free: 14.58 MB / 318.1 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 0.0001296/0.00892, allocations: 133.8 kB / 387.9 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.008955, allocations: 11.91 kB / 387.9 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.009256, allocations: 134.3 kB / 388 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.009258, allocations: 0 / 388 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.009262, allocations: 4 kB / 388 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.009264, allocations: 0 / 388 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.009489, allocations: 149.2 kB / 388.2 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.009489, allocations: 0 / 388.2 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.551e-05/0.009575, allocations: 15.94 kB / 388.2 MB, free: 14.1 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.009579, allocations: 3.984 kB / 388.2 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.009589, allocations: 4 kB / 388.2 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.009591, allocations: 3.938 kB / 388.2 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.009591, allocations: 4 kB / 388.2 MB, free: 14.08 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003279/0.009919, allocations: 211.3 kB / 388.4 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.414e-05/0.009943, allocations: 15.84 kB / 388.4 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.009963, allocations: 4 kB / 388.4 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.633e-05/0.01005, allocations: 4.172 kB / 388.4 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.01009, allocations: 4 kB / 388.4 MB, free: 13.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.0101, allocations: 7.984 kB / 388.4 MB, free: 13.82 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.01022, allocations: 131.2 kB / 388.6 MB, free: 13.7 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01022, allocations: 0 / 388.6 MB, free: 13.7 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002374/0.01046, allocations: 12 kB / 388.6 MB, free: 13.68 MB / 318.1 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.0001416/0.0106, allocations: 107.2 kB / 388.7 MB, free: 13.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002176/0.01082, allocations: 67.91 kB / 388.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01082, allocations: 0 / 388.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.948e-05/0.01091, allocations: 43.97 kB / 388.8 MB, free: 13.46 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.01113, allocations: 11.17 kB / 388.8 MB, free: 13.45 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004317/0.01156, allocations: 241.6 kB / 389 MB, free: 13.19 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.01167, allocations: 108.9 kB / 389.1 MB, free: 13.06 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.135e-05/0.01172, allocations: 11.98 kB / 389.1 MB, free: 13.05 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.149e-05/0.01176, allocations: 12.5 kB / 389.2 MB, free: 13.04 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.01176, allocations: 0 / 389.2 MB, free: 13.04 MB / 318.1 MB Notification: Performance of Templates: time 0.00336/0.01512, allocations: 0.8125 MB / 390 MB, free: 12.23 MB / 318.1 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: 3.862525936216116] Failed to read output from testmodel.py, exit status != 0: 0.02243255078792572 0.0365045 0.028813073 Calling exit ...