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.001368/0.001368, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001491/0.001491, allocations: 214 kB / 22.99 MB, free: 4.984 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.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.01415/0.01415, allocations: 1.243 MB / 314.4 MB, free: 1.688 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.001813/0.001813, allocations: 75.88 kB / 436.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07556/0.07737, allocations: 53.48 MB / 490.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.HelloWorld): time 0.002494/0.07987, allocations: 1.513 MB / 491.9 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008836/0.08075, allocations: 0.5143 MB / 492.4 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.93e-05/0.08081, allocations: 7.938 kB / 492.4 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.08092, allocations: 15.86 kB / 492.4 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.446e-05/0.08098, allocations: 15.88 kB / 492.4 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.08118, allocations: 47.88 kB / 492.5 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.0813, allocations: 75.77 kB / 492.6 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.0814, allocations: 15.98 kB / 492.6 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.08153, allocations: 43.78 kB / 492.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.08164, allocations: 55.75 kB / 492.7 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.08166, allocations: 8 kB / 492.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.704e-05/0.08172, allocations: 16 kB / 492.7 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.473e-05/0.08179, allocations: 47.83 kB / 492.7 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.069e-05/0.08183, allocations: 27.8 kB / 492.8 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.082, allocations: 115.5 kB / 492.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.696e-06/0.082, allocations: 0 / 492.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.08201, allocations: 8 kB / 492.9 MB, free: 7.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.08201, allocations: 0 / 492.9 MB, free: 7.824 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.0005635/0.08257, allocations: 337.8 kB / 493.2 MB, free: 7.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.0826, allocations: 11.97 kB / 493.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.08274, allocations: 20.88 kB / 493.3 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.08297, allocations: 162.3 kB / 493.4 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.08298, allocations: 8.375 kB / 493.4 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.08299, allocations: 4.375 kB / 493.4 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.0832, allocations: 100.2 kB / 493.5 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.08321, allocations: 0 / 493.5 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.08323, allocations: 19.91 kB / 493.5 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.08324, allocations: 0 / 493.5 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.08342, allocations: 75.95 kB / 493.6 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005252/0.08394, allocations: 320.3 kB / 493.9 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.08411, allocations: 82.53 kB / 494 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.483e-05/0.0842, allocations: 44.91 kB / 494.1 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.279e-05/0.08426, allocations: 11.98 kB / 494.1 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.08429, allocations: 30.56 kB / 494.1 MB, free: 6.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.08429, allocations: 4 kB / 494.1 MB, free: 6.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003376/0.08463, allocations: 137.6 kB / 494.2 MB, free: 6.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.08466, allocations: 51.41 kB / 494.3 MB, free: 6.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.08482, allocations: 179.5 kB / 494.5 MB, free: 6.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.08484, allocations: 25.7 kB / 494.5 MB, free: 6.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.279e-05/0.08491, allocations: 112 kB / 494.6 MB, free: 5.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.08494, allocations: 19.8 kB / 494.6 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/0.08499, allocations: 29.7 kB / 494.6 MB, free: 5.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.08512, allocations: 322.8 kB / 495 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.445e-05/0.08519, allocations: 35.92 kB / 495 MB, free: 5.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.747e-05/0.08526, allocations: 27.98 kB / 495 MB, free: 5.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.0854, allocations: 76.81 kB / 495.1 MB, free: 5.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.0854, allocations: 0 / 495.1 MB, free: 5.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001959/0.0856, allocations: 109.6 kB / 495.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.08561, allocations: 6.812 kB / 495.2 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.08561, allocations: 0 / 495.2 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.08562, allocations: 4 kB / 495.2 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.08573, allocations: 23.86 kB / 495.2 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.08573, allocations: 448 / 495.2 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.501e-05/0.08579, allocations: 8 kB / 495.2 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.0858, allocations: 7.922 kB / 495.3 MB, free: 5.301 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 9.385e-05/0.08589, allocations: 125.8 kB / 495.4 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.08593, allocations: 15.89 kB / 495.4 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.0862, allocations: 126.4 kB / 495.5 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.0862, allocations: 0 / 495.5 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.08621, allocations: 4 kB / 495.5 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.08621, allocations: 7.984 kB / 495.5 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.08639, allocations: 153.2 kB / 495.7 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.08639, allocations: 0 / 495.7 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.464e-05/0.08648, allocations: 15.92 kB / 495.7 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.08648, allocations: 4 kB / 495.7 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.08648, allocations: 0 / 495.7 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.08649, allocations: 0 / 495.7 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.08649, allocations: 0 / 495.7 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.08673, allocations: 211.3 kB / 495.9 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.754e-05/0.08676, allocations: 23.89 kB / 495.9 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.08678, allocations: 0 / 495.9 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-05/0.08686, allocations: 4 kB / 495.9 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.08689, allocations: 7.984 kB / 495.9 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.0869, allocations: 0 / 495.9 MB, free: 4.551 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001053/0.087, allocations: 135.2 kB / 496.1 MB, free: 4.418 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.087, allocations: 0 / 496.1 MB, free: 4.418 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.08724, allocations: 19.88 kB / 496.1 MB, free: 4.398 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.0001014/0.08734, allocations: 103.2 kB / 496.2 MB, free: 4.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001864/0.08753, allocations: 71.95 kB / 496.3 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.08753, allocations: 0 / 496.3 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.979e-05/0.08761, allocations: 39.92 kB / 496.3 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.08782, allocations: 11.98 kB / 496.3 MB, free: 4.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003953/0.08822, allocations: 239.8 kB / 496.5 MB, free: 3.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.87e-05/0.08831, allocations: 104.1 kB / 496.6 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.313e-05/0.08837, allocations: 15.98 kB / 496.7 MB, free: 3.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.0884, allocations: 19.38 kB / 496.7 MB, free: 3.75 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.0884, allocations: 0 / 496.7 MB, free: 3.75 MB / 350.1 MB Notification: Performance of Templates: time 0.003086/0.09149, allocations: 0.8748 MB / 497.6 MB, free: 2.875 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 -s gbode -lv LOG_STATS > NeuralNetwork_main_NeuralNetwork.Examples.HelloWorld.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.892583533990546] Failed to read output from testmodel.py, exit status != 0: 0.09779861599963624 0.112168022 0.02738832 Calling exit ...