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.0009421/0.0009421, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009319/0.0009319, allocations: 169 kB / 23.02 MB, free: 1.547 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.025/1.025, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.01762/0.01762, allocations: 1.124 MB / 261.1 MB, free: 11.97 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.563e-06/1.563e-06, allocations: 0 / 330.7 MB, free: 3.895 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.783e-05/2.94e-05, allocations: 6.25 kB / 330.7 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.HelloWorld): time 0.0055/0.005529, allocations: 1.562 MB / 332.3 MB, free: 2.312 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008641/0.006393, allocations: 0.5336 MB / 332.8 MB, free: 1.773 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.835e-05/0.006462, allocations: 4 kB / 332.8 MB, free: 1.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001383/0.0066, allocations: 23.78 kB / 332.9 MB, free: 1.746 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.582e-05/0.006676, allocations: 19.88 kB / 332.9 MB, free: 1.727 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.006919, allocations: 47.81 kB / 332.9 MB, free: 1.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003176/0.01009, allocations: 71.77 kB / 333 MB, free: 1.609 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.01023, allocations: 19.97 kB / 333 MB, free: 1.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.01041, allocations: 47.78 kB / 333.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.01053, allocations: 47.88 kB / 333.1 MB, free: 1.496 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.01056, allocations: 4 kB / 333.1 MB, free: 1.492 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.06e-05/0.01063, allocations: 27.92 kB / 333.1 MB, free: 1.465 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.235e-05/0.01069, allocations: 35.84 kB / 333.2 MB, free: 1.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.088e-05/0.01073, allocations: 23.92 kB / 333.2 MB, free: 1.406 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.0109, allocations: 87.78 kB / 333.3 MB, free: 1.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.0109, allocations: 3.938 kB / 333.3 MB, free: 1.316 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.01091, allocations: 0 / 333.3 MB, free: 1.316 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.01091, allocations: 0 / 333.3 MB, free: 1.316 MB / 298.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.0005223/0.01143, allocations: 444 kB / 333.7 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.01147, allocations: 8.031 kB / 333.7 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.01159, allocations: 20.88 kB / 333.8 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.01178, allocations: 161.2 kB / 333.9 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.01179, allocations: 4.375 kB / 333.9 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.01181, allocations: 12.38 kB / 333.9 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.01195, allocations: 70.92 kB / 334 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.01197, allocations: 192 / 334 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.01198, allocations: 4.375 kB / 334 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.621e-05/0.012, allocations: 7.938 kB / 334 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.021e-05/0.01207, allocations: 27.92 kB / 334 MB, free: 0.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.01251, allocations: 351.5 kB / 334.4 MB, free: 124 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.01261, allocations: 58.98 kB / 334.4 MB, free: 52 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.98e-05/0.01265, allocations: 19.81 kB / 334.5 MB, free: 28 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.94e-05/0.01272, allocations: 15.92 kB / 334.5 MB, free: 12 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.01276, allocations: 37.39 kB / 334.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.01276, allocations: 0 / 334.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.003275/0.01604, allocations: 69.64 kB / 334.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.01607, allocations: 51.41 kB / 334.6 MB, free: 15.83 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.01622, allocations: 224.7 kB / 334.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.01623, allocations: 25.7 kB / 334.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.639e-05/0.0163, allocations: 154.8 kB / 335 MB, free: 15.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.01633, allocations: 31.77 kB / 335.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.01637, allocations: 27.38 kB / 335.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.0165, allocations: 0.5 MB / 335.6 MB, free: 14.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.712e-05/0.01653, allocations: 8 kB / 335.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.631e-05/0.01655, allocations: 11.98 kB / 335.6 MB, free: 14.81 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.418e-05/0.01662, allocations: 27.69 kB / 335.6 MB, free: 14.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.01662, allocations: 0 / 335.6 MB, free: 14.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000115/0.01673, allocations: 61.64 kB / 335.7 MB, free: 14.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.01675, allocations: 8 kB / 335.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.01676, allocations: 0 / 335.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.01677, allocations: 3.938 kB / 335.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.01688, allocations: 11.98 kB / 335.7 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.01688, allocations: 4 kB / 335.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.345e-05/0.01691, allocations: 8 kB / 335.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.01692, allocations: 4 kB / 335.7 MB, free: 14.67 MB / 314.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.454e-05/0.017, allocations: 160.5 kB / 335.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.01703, allocations: 19.91 kB / 335.9 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.0172, allocations: 70.89 kB / 336 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.0172, allocations: 0 / 336 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.01721, allocations: 8 kB / 336 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.01721, allocations: 0 / 336 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.01738, allocations: 164.5 kB / 336.1 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01738, allocations: 0 / 336.1 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.264e-05/0.01743, allocations: 15.98 kB / 336.2 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01744, allocations: 0 / 336.2 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.01744, allocations: 0 / 336.2 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.01745, allocations: 4 kB / 336.2 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01745, allocations: 0 / 336.2 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.0176, allocations: 223.8 kB / 336.4 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.844e-05/0.01762, allocations: 11.91 kB / 336.4 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.01764, allocations: 0 / 336.4 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.172e-05/0.0177, allocations: 7.984 kB / 336.4 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.01773, allocations: 3.938 kB / 336.4 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.01774, allocations: 11.98 kB / 336.4 MB, free: 13.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.926e-05/0.01782, allocations: 157.6 kB / 336.6 MB, free: 13.76 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01782, allocations: 0 / 336.6 MB, free: 13.76 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002335/0.01805, allocations: 12 kB / 336.6 MB, free: 13.75 MB / 314.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.0001093/0.01816, allocations: 99.23 kB / 336.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.01827, allocations: 31.67 kB / 336.7 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.01827, allocations: 4 kB / 336.7 MB, free: 13.6 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.756e-05/0.01831, allocations: 27.61 kB / 336.7 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.01853, allocations: 11.94 kB / 336.7 MB, free: 13.56 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/0.02221, allocations: 223.1 kB / 337 MB, free: 13.31 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.247e-05/0.02227, allocations: 71.33 kB / 337 MB, free: 13.22 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.127e-05/0.02232, allocations: 15.97 kB / 337.1 MB, free: 13.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.798e-05/0.02236, allocations: 16.48 kB / 337.1 MB, free: 13.19 MB / 314.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02236, allocations: 0 / 337.1 MB, free: 13.19 MB / 314.7 MB Notification: Performance of Templates: time 0.006097/0.02845, allocations: 0.8151 MB / 337.9 MB, free: 12.38 MB / 314.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: 3.0388293568976223]