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.0009403/0.0009403, allocations: 73.09 kB / 20.65 MB, free: 3.848 MB / 18.57 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.000992/0.000992, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 0.9887/0.9887, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.00664/0.00664, allocations: 1.125 MB / 262.2 MB, free: 11.8 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.983e-06/1.983e-06, allocations: 4 kB / 332 MB, free: 18.41 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.657e-05, allocations: 2.312 kB / 332 MB, free: 18.41 MB / 266.7 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.HelloWorld): time 0.005324/0.005351, allocations: 1.552 MB / 333.5 MB, free: 16.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007374/0.006088, allocations: 0.5219 MB / 334 MB, free: 16.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.647e-05/0.006154, allocations: 11.94 kB / 334.1 MB, free: 16.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.006285, allocations: 15.86 kB / 334.1 MB, free: 16.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.96e-05/0.006354, allocations: 19.86 kB / 334.1 MB, free: 16.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.006556, allocations: 47.81 kB / 334.1 MB, free: 16.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.006662, allocations: 71.77 kB / 334.2 MB, free: 16.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.006779, allocations: 19.92 kB / 334.2 MB, free: 16.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.006906, allocations: 51.83 kB / 334.3 MB, free: 16.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.007011, allocations: 39.89 kB / 334.3 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.007032, allocations: 8 kB / 334.3 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.585e-05/0.007088, allocations: 27.92 kB / 334.4 MB, free: 16.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.052e-05/0.007138, allocations: 39.83 kB / 334.4 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.962e-05/0.007168, allocations: 23.92 kB / 334.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.007303, allocations: 83.73 kB / 334.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.007306, allocations: 0 / 334.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.007307, allocations: 0 / 334.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.319e-06/0.007311, allocations: 0 / 334.5 MB, free: 15.87 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.0003966/0.007708, allocations: 432.1 kB / 334.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.00774, allocations: 8.031 kB / 334.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.007863, allocations: 36.83 kB / 335 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003159/0.01102, allocations: 166.7 kB / 335.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.01103, allocations: 8.312 kB / 335.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.01105, allocations: 4.375 kB / 335.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.01117, allocations: 66.94 kB / 335.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.01118, allocations: 8.172 kB / 335.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-06/0.01119, allocations: 384 / 335.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.01121, allocations: 7.938 kB / 335.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.625e-05/0.01126, allocations: 15.98 kB / 335.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.01157, allocations: 312.2 kB / 335.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.508e-05/0.01166, allocations: 58.98 kB / 335.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.751e-05/0.01169, allocations: 23.61 kB / 335.6 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.171e-05/0.01174, allocations: 8.125 kB / 335.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.01175, allocations: 41.52 kB / 335.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.01176, allocations: 0 / 335.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001684/0.01192, allocations: 73.58 kB / 335.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.107e-05/0.01194, allocations: 51.41 kB / 335.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.947e-05/0.01203, allocations: 210.7 kB / 336 MB, free: 14.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.01204, allocations: 29.7 kB / 336 MB, free: 14.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.01208, allocations: 150.8 kB / 336.2 MB, free: 14.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.01211, allocations: 31.78 kB / 336.2 MB, free: 13.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.01214, allocations: 23.36 kB / 336.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.796e-05/0.01219, allocations: 0.4923 MB / 336.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.01221, allocations: 11.92 kB / 336.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.73e-05/0.01223, allocations: 8 kB / 336.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.404e-05/0.01227, allocations: 27.67 kB / 336.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01227, allocations: 3.938 kB / 336.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.188e-05/0.01236, allocations: 53.66 kB / 336.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.01238, allocations: 11.98 kB / 336.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.01238, allocations: 0 / 336.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.01239, allocations: 0 / 336.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.335e-05/0.01246, allocations: 16.38 kB / 336.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-06/0.01247, allocations: 0 / 336.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.071e-05/0.0125, allocations: 8 kB / 336.9 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.0125, allocations: 11.97 kB / 336.9 MB, free: 13.3 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 4.737e-05/0.01255, allocations: 156.5 kB / 337 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.01258, allocations: 15.91 kB / 337 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.01271, allocations: 70.45 kB / 337.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01272, allocations: 3.938 kB / 337.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.01272, allocations: 0 / 337.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.01272, allocations: 3.984 kB / 337.1 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.01285, allocations: 133.2 kB / 337.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01285, allocations: 0 / 337.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.967e-05/0.0129, allocations: 19.92 kB / 337.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01291, allocations: 3.938 kB / 337.3 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.01291, allocations: 0 / 337.3 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01291, allocations: 0 / 337.3 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.01291, allocations: 0 / 337.3 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.791e-05/0.01301, allocations: 207.9 kB / 337.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.341e-05/0.01302, allocations: 19.83 kB / 337.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.01304, allocations: 0 / 337.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.032e-05/0.0131, allocations: 11.98 kB / 337.5 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.412e-05/0.01312, allocations: 4 kB / 337.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.01313, allocations: 4 kB / 337.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.381e-05/0.01317, allocations: 146.2 kB / 337.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01317, allocations: 0 / 337.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002488/0.01342, allocations: 19.94 kB / 337.7 MB, free: 12.43 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.149e-05/0.0135, allocations: 103.2 kB / 337.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.597e-05/0.01359, allocations: 31.67 kB / 337.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.01359, allocations: 0 / 337.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.8e-05/0.01362, allocations: 23.88 kB / 337.8 MB, free: 12.26 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003237/0.01685, allocations: 15.84 kB / 337.8 MB, free: 12.24 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004552/0.01731, allocations: 232.7 kB / 338.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.858e-05/0.01735, allocations: 75.98 kB / 338.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.11e-05/0.01739, allocations: 11.97 kB / 338.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.01743, allocations: 74.2 kB / 338.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01743, allocations: 4 kB / 338.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of Templates: time 0.005484/0.02292, allocations: 0.8896 MB / 339.1 MB, free: 10.92 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: 2.73006311012432]