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.001221/0.001221, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00168/0.002901, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001151/0.001151, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001532/0.002683, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9452/0.9452, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08339/1.029, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NeuralNetwork 2.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NeuralNetwork 2.1.0-main/package.mo): time 0.01897/0.01897, allocations: 1.132 MB / 245.1 MB, free: 13.78 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001077/0.02004, allocations: 0.5223 MB / 245.6 MB, free: 13.25 MB / 250.7 MB " [Timeout remaining time 180] Using package NeuralNetwork with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NeuralNetwork 2.1.0-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.082e-06/1.082e-06, allocations: 0 / 246.9 MB, free: 12.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.825e-06/8.907e-06, allocations: 2.312 kB / 246.9 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.HelloWorld): time 0.001631/0.00164, allocations: 1.611 MB / 248.5 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005612/0.002201, allocations: 0.5414 MB / 249 MB, free: 9.848 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.025e-05/0.002251, allocations: 0 / 249 MB, free: 9.848 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.82e-05/0.00233, allocations: 19.86 kB / 249 MB, free: 9.828 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.459e-05/0.002384, allocations: 23.78 kB / 249 MB, free: 9.805 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001206/0.002505, allocations: 35.84 kB / 249.1 MB, free: 9.77 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.998e-05/0.002605, allocations: 83.7 kB / 249.2 MB, free: 9.688 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.858e-05/0.002703, allocations: 15.97 kB / 249.2 MB, free: 9.672 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.002826, allocations: 67.77 kB / 249.2 MB, free: 9.605 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.886e-05/0.002925, allocations: 47.88 kB / 249.3 MB, free: 9.559 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.002944, allocations: 8 kB / 249.3 MB, free: 9.551 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.188e-05/0.003006, allocations: 16 kB / 249.3 MB, free: 9.535 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.291e-05/0.003049, allocations: 31.86 kB / 249.3 MB, free: 9.504 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.62e-05/0.003075, allocations: 15.94 kB / 249.4 MB, free: 9.488 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.003194, allocations: 83.69 kB / 249.4 MB, free: 9.406 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.117e-05/0.003205, allocations: 0 / 249.4 MB, free: 9.406 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003206, allocations: 4 kB / 249.4 MB, free: 9.402 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.003219, allocations: 0 / 249.4 MB, free: 9.402 MB / 250.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.0005212/0.00374, allocations: 332 kB / 249.8 MB, free: 9.055 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.675e-05/0.003767, allocations: 15.98 kB / 249.8 MB, free: 9.039 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.003881, allocations: 94.03 kB / 249.9 MB, free: 8.93 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.00401, allocations: 156.7 kB / 250 MB, free: 8.754 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.824e-06/0.004018, allocations: 4.375 kB / 250 MB, free: 8.75 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.004026, allocations: 4.375 kB / 250 MB, free: 8.746 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.004132, allocations: 81.69 kB / 250.1 MB, free: 8.656 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.004139, allocations: 192 / 250.1 MB, free: 8.656 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.004148, allocations: 4.375 kB / 250.1 MB, free: 8.652 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.004168, allocations: 7.938 kB / 250.1 MB, free: 8.645 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.682e-05/0.004205, allocations: 15.98 kB / 250.1 MB, free: 8.629 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002432/0.004448, allocations: 233.7 kB / 250.4 MB, free: 8.383 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.797e-05/0.004526, allocations: 88.08 kB / 250.5 MB, free: 8.285 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.004547, allocations: 20.97 kB / 250.5 MB, free: 8.262 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.734e-05/0.004594, allocations: 4.125 kB / 250.5 MB, free: 8.258 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.00461, allocations: 30.56 kB / 250.5 MB, free: 8.219 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.004611, allocations: 4 kB / 250.5 MB, free: 8.215 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001061/0.004717, allocations: 69.55 kB / 250.6 MB, free: 8.141 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.00474, allocations: 51.41 kB / 250.6 MB, free: 8.078 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.35e-05/0.004813, allocations: 146.6 kB / 250.8 MB, free: 7.922 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.305e-06/0.004822, allocations: 25.7 kB / 250.8 MB, free: 7.891 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.004858, allocations: 100.1 kB / 250.9 MB, free: 7.789 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.00488, allocations: 23.78 kB / 250.9 MB, free: 7.766 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.004906, allocations: 21.72 kB / 251 MB, free: 7.738 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.536e-05/0.004972, allocations: 318.8 kB / 251.3 MB, free: 7.418 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.485e-05/0.004986, allocations: 6.828 kB / 251.3 MB, free: 7.41 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.266e-05/0.004999, allocations: 11.98 kB / 251.3 MB, free: 7.398 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.591e-05/0.005035, allocations: 34.48 kB / 251.3 MB, free: 7.359 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.005036, allocations: 0 / 251.3 MB, free: 7.359 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.484e-05/0.005091, allocations: 53.56 kB / 251.4 MB, free: 7.301 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.005104, allocations: 8 kB / 251.4 MB, free: 7.293 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.005107, allocations: 0 / 251.4 MB, free: 7.293 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.074e-06/0.005114, allocations: 0 / 251.4 MB, free: 7.293 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.711e-05/0.005181, allocations: 19.98 kB / 251.4 MB, free: 7.273 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.005184, allocations: 0 / 251.4 MB, free: 7.273 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.842e-05/0.005202, allocations: 0 / 251.4 MB, free: 7.273 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.005207, allocations: 0 / 251.4 MB, free: 7.273 MB / 250.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.449e-05/0.005261, allocations: 116.7 kB / 251.5 MB, free: 7.148 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.005277, allocations: 11.92 kB / 251.5 MB, free: 7.137 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.423e-05/0.005371, allocations: 70.83 kB / 251.6 MB, free: 7.055 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.005373, allocations: 0 / 251.6 MB, free: 7.055 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.005376, allocations: 7.984 kB / 251.6 MB, free: 7.047 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.005378, allocations: 64 / 251.6 MB, free: 7.047 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.373e-05/0.005472, allocations: 93.83 kB / 251.7 MB, free: 6.938 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.005473, allocations: 0 / 251.7 MB, free: 6.938 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.836e-05/0.005512, allocations: 15.98 kB / 251.7 MB, free: 6.922 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.005522, allocations: 11.83 kB / 251.7 MB, free: 6.91 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.005523, allocations: 4 kB / 251.7 MB, free: 6.906 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.00553, allocations: 8 kB / 251.7 MB, free: 6.898 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.00553, allocations: 0 / 251.7 MB, free: 6.898 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.005531, allocations: 0 / 251.7 MB, free: 6.898 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.086e-05/0.005622, allocations: 198.2 kB / 251.9 MB, free: 6.688 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.005634, allocations: 7.938 kB / 251.9 MB, free: 6.68 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.385e-05/0.005668, allocations: 7.938 kB / 251.9 MB, free: 6.672 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.283e-05/0.005691, allocations: 3.984 kB / 251.9 MB, free: 6.668 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.005693, allocations: 0 / 251.9 MB, free: 6.668 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.761e-05/0.005721, allocations: 35.06 kB / 252 MB, free: 6.633 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.005721, allocations: 0 / 252 MB, free: 6.633 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001245/0.005846, allocations: 19.98 kB / 252 MB, free: 6.613 MB / 250.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 7.771e-05/0.005923, allocations: 80.42 kB / 252.1 MB, free: 6.527 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.144e-05/0.005985, allocations: 28.78 kB / 252.1 MB, free: 6.496 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.005991, allocations: 8 kB / 252.1 MB, free: 6.488 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.929e-05/0.00601, allocations: 12.86 kB / 252.1 MB, free: 6.473 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001066/0.006117, allocations: 15.92 kB / 252.1 MB, free: 6.457 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006053/0.006722, allocations: 226.5 kB / 252.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.703e-05/0.006759, allocations: 79.33 kB / 252.4 MB, free: 6.109 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.771e-05/0.006787, allocations: 11.92 kB / 252.4 MB, free: 6.098 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.006827, allocations: 55.38 kB / 252.5 MB, free: 6.043 MB / 250.7 MB Notification: Performance of SimCode: time 4.71e-07/0.006827, allocations: 0 / 252.5 MB, free: 6.043 MB / 250.7 MB Notification: Performance of Templates: time 0.002399/0.009226, allocations: 0.8582 MB / 253.4 MB, free: 5.195 MB / 250.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.3835378382354975]