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.001855/0.001855, allocations: 81.5 kB / 19.44 MB, free: 340 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.001989/0.001989, allocations: 177.2 kB / 22.76 MB, free: 1.656 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.636/1.636, allocations: 177.1 MB / 203.1 MB, free: 5.633 MB / 186.7 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.01524/0.01524, allocations: 1.118 MB / 260.7 MB, free: 12.01 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.613e-06/1.613e-06, allocations: 0 / 330 MB, free: 19.05 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.251e-05, allocations: 4.984 kB / 330 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.HelloWorld): time 0.002057/0.00208, allocations: 1.533 MB / 331.5 MB, free: 17.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008272/0.002907, allocations: 0.5181 MB / 332.1 MB, free: 16.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.741e-05/0.002975, allocations: 4 kB / 332.1 MB, free: 16.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.003105, allocations: 15.86 kB / 332.1 MB, free: 16.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.813e-05/0.003183, allocations: 19.86 kB / 332.1 MB, free: 16.94 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.00339, allocations: 51.77 kB / 332.2 MB, free: 16.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.003498, allocations: 75.75 kB / 332.2 MB, free: 16.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.003616, allocations: 15.98 kB / 332.2 MB, free: 16.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.003772, allocations: 55.75 kB / 332.3 MB, free: 16.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.003886, allocations: 43.89 kB / 332.3 MB, free: 16.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.003911, allocations: 4 kB / 332.3 MB, free: 16.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.902e-05/0.00397, allocations: 20 kB / 332.4 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.632e-05/0.004026, allocations: 39.83 kB / 332.4 MB, free: 16.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.479e-05/0.004071, allocations: 23.92 kB / 332.4 MB, free: 16.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.004228, allocations: 111.7 kB / 332.5 MB, free: 16.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.00423, allocations: 8 kB / 332.5 MB, free: 16.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004231, allocations: 0 / 332.5 MB, free: 16.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.004235, allocations: 0 / 332.5 MB, free: 16.5 MB / 266.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.0005038/0.004739, allocations: 443.7 kB / 333 MB, free: 16.03 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.00477, allocations: 12.03 kB / 333 MB, free: 16.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.004909, allocations: 24.84 kB / 333 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.005093, allocations: 166.5 kB / 333.2 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.005104, allocations: 4.375 kB / 333.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.005118, allocations: 4.375 kB / 333.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.00527, allocations: 74.22 kB / 333.3 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.005279, allocations: 192 / 333.3 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.00529, allocations: 384 / 333.3 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.005309, allocations: 7.938 kB / 333.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.005428, allocations: 43.91 kB / 333.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.005872, allocations: 367.5 kB / 333.7 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.006009, allocations: 62.98 kB / 333.7 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.594e-05/0.006065, allocations: 23.81 kB / 333.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.619e-05/0.006131, allocations: 8.109 kB / 333.8 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.006147, allocations: 41.39 kB / 333.8 MB, free: 15.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.006148, allocations: 0 / 333.8 MB, free: 15.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002553/0.006403, allocations: 93.58 kB / 333.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.869e-05/0.006422, allocations: 55.34 kB / 333.9 MB, free: 14.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.006538, allocations: 226.9 kB / 334.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.006547, allocations: 29.64 kB / 334.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/0.006594, allocations: 170.8 kB / 334.4 MB, free: 14.51 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.006615, allocations: 15.8 kB / 334.4 MB, free: 14.49 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.006654, allocations: 31.36 kB / 334.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.581e-05/0.00672, allocations: 0.5 MB / 334.9 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.996e-05/0.00677, allocations: 20 kB / 334.9 MB, free: 13.92 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.893e-05/0.006809, allocations: 15.98 kB / 334.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.53e-05/0.006904, allocations: 39.67 kB / 335 MB, free: 13.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.006906, allocations: 0 / 335 MB, free: 13.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001339/0.00704, allocations: 77.64 kB / 335.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.00705, allocations: 7.938 kB / 335.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.007053, allocations: 0 / 335.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.007065, allocations: 0 / 335.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.007166, allocations: 15.98 kB / 335.1 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.00717, allocations: 4 kB / 335.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.774e-05/0.007218, allocations: 448 / 335.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.007226, allocations: 4 kB / 335.1 MB, free: 13.75 MB / 266.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 5.317e-05/0.007279, allocations: 168.5 kB / 335.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.007312, allocations: 11.91 kB / 335.3 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002081/0.00752, allocations: 98.38 kB / 335.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.007522, allocations: 0 / 335.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.007525, allocations: 0 / 335.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.007529, allocations: 0 / 335.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.007674, allocations: 164.5 kB / 335.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.007675, allocations: 4 kB / 335.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.539e-05/0.007751, allocations: 19.98 kB / 335.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.007753, allocations: 3.984 kB / 335.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.007762, allocations: 0 / 335.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.007763, allocations: 0 / 335.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.007764, allocations: 0 / 335.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.007934, allocations: 227.8 kB / 335.8 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.255e-05/0.007956, allocations: 19.84 kB / 335.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.007974, allocations: 7.938 kB / 335.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.008052, allocations: 3.984 kB / 335.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.008087, allocations: 8 kB / 335.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.008093, allocations: 4 kB / 335.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.626e-05/0.008159, allocations: 169.5 kB / 336 MB, free: 12.79 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008159, allocations: 0 / 336 MB, free: 12.79 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002234/0.008382, allocations: 12 kB / 336 MB, free: 12.77 MB / 266.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 8.399e-05/0.008466, allocations: 95.25 kB / 336.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001489/0.008615, allocations: 47.66 kB / 336.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.008617, allocations: 0 / 336.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.906e-05/0.008676, allocations: 35.61 kB / 336.2 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.008908, allocations: 19.84 kB / 336.2 MB, free: 12.56 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.009239, allocations: 224.8 kB / 336.4 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.545e-05/0.009304, allocations: 96.3 kB / 336.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.961e-05/0.009354, allocations: 15.97 kB / 336.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/0.009389, allocations: 16.48 kB / 336.5 MB, free: 12.17 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.00939, allocations: 4 kB / 336.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of Templates: time 0.003437/0.01283, allocations: 0.8124 MB / 337.3 MB, free: 11.35 MB / 266.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: 4.604673368041404]