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.001573/0.001573, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001712/0.001712, allocations: 224.4 kB / 23 MB, free: 4.914 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.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 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.01538/0.01538, allocations: 1.239 MB / 314.4 MB, free: 1.801 MB / 238.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: NeuralNetwork requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 68.09 kB / 436.9 MB, free: 15.83 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08271/0.08476, allocations: 53.48 MB / 490.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.HelloWorld): time 0.002709/0.08747, allocations: 1.52 MB / 491.9 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009362/0.08841, allocations: 0.5065 MB / 492.4 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.819e-05/0.08847, allocations: 3.938 kB / 492.4 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.08859, allocations: 19.84 kB / 492.4 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.55e-05/0.08865, allocations: 19.88 kB / 492.4 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.08887, allocations: 47.88 kB / 492.5 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.089, allocations: 71.77 kB / 492.6 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.08911, allocations: 15.98 kB / 492.6 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.08924, allocations: 43.78 kB / 492.6 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.08937, allocations: 55.75 kB / 492.7 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.08939, allocations: 4 kB / 492.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.119e-05/0.08945, allocations: 27.88 kB / 492.7 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.512e-05/0.08951, allocations: 35.89 kB / 492.7 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.299e-05/0.08957, allocations: 35.75 kB / 492.8 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.08974, allocations: 111.5 kB / 492.9 MB, free: 7.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.08974, allocations: 3.984 kB / 492.9 MB, free: 7.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.08974, allocations: 0 / 492.9 MB, free: 7.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.08975, allocations: 0 / 492.9 MB, free: 7.727 MB / 350.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.0006032/0.09035, allocations: 349.7 kB / 493.2 MB, free: 7.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.09039, allocations: 8.031 kB / 493.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.09053, allocations: 20.88 kB / 493.3 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.09076, allocations: 154.3 kB / 493.4 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.09077, allocations: 12.38 kB / 493.4 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.09079, allocations: 12.36 kB / 493.4 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.09099, allocations: 100.2 kB / 493.5 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.091, allocations: 0 / 493.5 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.09101, allocations: 0 / 493.5 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.09103, allocations: 7.984 kB / 493.5 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.09121, allocations: 83.94 kB / 493.6 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005246/0.09173, allocations: 316.2 kB / 493.9 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.09191, allocations: 94.47 kB / 494 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.193e-05/0.092, allocations: 40.97 kB / 494.1 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.463e-05/0.09207, allocations: 7.984 kB / 494.1 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.0921, allocations: 30.56 kB / 494.1 MB, free: 6.406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.0921, allocations: 0 / 494.1 MB, free: 6.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003361/0.09244, allocations: 141.6 kB / 494.2 MB, free: 6.262 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.09249, allocations: 51.41 kB / 494.3 MB, free: 6.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.09265, allocations: 179.5 kB / 494.5 MB, free: 6.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.09268, allocations: 25.7 kB / 494.5 MB, free: 5.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.944e-05/0.09275, allocations: 112.1 kB / 494.6 MB, free: 5.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.09278, allocations: 19.8 kB / 494.6 MB, free: 5.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.09282, allocations: 25.64 kB / 494.6 MB, free: 5.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.09297, allocations: 330.7 kB / 495 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.2e-05/0.09304, allocations: 27.98 kB / 495 MB, free: 5.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.687e-05/0.09311, allocations: 35.98 kB / 495 MB, free: 5.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.09325, allocations: 72.81 kB / 495.1 MB, free: 5.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.09325, allocations: 0 / 495.1 MB, free: 5.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002009/0.09345, allocations: 109.6 kB / 495.2 MB, free: 5.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.09346, allocations: 12 kB / 495.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-06/0.09347, allocations: 0 / 495.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.09348, allocations: 0 / 495.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.09359, allocations: 19.92 kB / 495.2 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.09359, allocations: 448 / 495.2 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.128e-05/0.09364, allocations: 7.938 kB / 495.2 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.09365, allocations: 3.938 kB / 495.3 MB, free: 5.199 MB / 350.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.0001007/0.09375, allocations: 129.8 kB / 495.4 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.09379, allocations: 11.91 kB / 495.4 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002668/0.09406, allocations: 134.3 kB / 495.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.09406, allocations: 0 / 495.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.09406, allocations: 0 / 495.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.09406, allocations: 0 / 495.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.09425, allocations: 157.2 kB / 495.7 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.09425, allocations: 3.938 kB / 495.7 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.112e-05/0.09433, allocations: 11.98 kB / 495.7 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.09434, allocations: 0 / 495.7 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.09435, allocations: 8 kB / 495.7 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.09435, allocations: 0 / 495.7 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.09435, allocations: 0 / 495.7 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.0946, allocations: 211.4 kB / 495.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.09463, allocations: 19.83 kB / 495.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.09465, allocations: 0 / 495.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.239e-05/0.09473, allocations: 4 kB / 495.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.09476, allocations: 3.984 kB / 495.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.09477, allocations: 8 kB / 495.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00011/0.09488, allocations: 131.2 kB / 496.1 MB, free: 4.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.09488, allocations: 0 / 496.1 MB, free: 4.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.09512, allocations: 19.98 kB / 496.1 MB, free: 4.297 MB / 350.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.0001049/0.09522, allocations: 103.1 kB / 496.2 MB, free: 4.188 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.09542, allocations: 75.95 kB / 496.3 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.09542, allocations: 0 / 496.3 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.883e-05/0.0955, allocations: 35.92 kB / 496.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.09572, allocations: 8 kB / 496.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004586/0.09618, allocations: 277.5 kB / 496.6 MB, free: 3.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.09629, allocations: 112.1 kB / 496.7 MB, free: 3.637 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.09633, allocations: 11.44 kB / 496.7 MB, free: 3.625 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.09633, allocations: 0 / 496.7 MB, free: 3.625 MB / 350.1 MB Notification: Performance of Templates: time 0.003102/0.09944, allocations: 1.448 MB / 498.1 MB, free: 2.176 MB / 350.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: 6.451215124223381] Failed to read output from testmodel.py, exit status != 0: 0.10633613262325525 0.121195331 0.028542333000000003 Calling exit ...