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.001795/0.001795, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002229/0.002229, allocations: 161 kB / 23.01 MB, free: 4.602 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.467/1.467, allocations: 177.2 MB / 203.4 MB, free: 8.895 MB / 190.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.01226/0.01226, allocations: 1.127 MB / 260.9 MB, free: 15.55 MB / 254.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.002165/0.002165, allocations: 63.91 kB / 383.4 MB, free: 4.867 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1062, allocations: 53.45 MB / 436.8 MB, free: 15.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.HelloWorld): time 0.002873/0.1091, allocations: 1.527 MB / 438.3 MB, free: 13.79 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.1102, allocations: 0.5259 MB / 438.9 MB, free: 13.26 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.954e-05/0.1102, allocations: 3.938 kB / 438.9 MB, free: 13.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.1104, allocations: 15.86 kB / 438.9 MB, free: 13.24 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 7.499e-05/0.1104, allocations: 23.84 kB / 438.9 MB, free: 13.21 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.1107, allocations: 39.91 kB / 438.9 MB, free: 13.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.1108, allocations: 71.77 kB / 439 MB, free: 13.11 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.1109, allocations: 19.97 kB / 439 MB, free: 13.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.1111, allocations: 43.78 kB / 439.1 MB, free: 13.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.1112, allocations: 43.83 kB / 439.1 MB, free: 13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.1112, allocations: 8 kB / 439.1 MB, free: 12.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.054e-05/0.1113, allocations: 23.98 kB / 439.2 MB, free: 12.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.054e-05/0.1114, allocations: 43.83 kB / 439.2 MB, free: 12.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.755e-05/0.1114, allocations: 35.73 kB / 439.2 MB, free: 12.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.1116, allocations: 111.6 kB / 439.3 MB, free: 12.78 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1116, allocations: 0 / 439.3 MB, free: 12.78 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1116, allocations: 0 / 439.3 MB, free: 12.78 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1116, allocations: 0 / 439.3 MB, free: 12.78 MB / 414.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.0006689/0.1123, allocations: 337.8 kB / 439.7 MB, free: 12.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.1123, allocations: 12.03 kB / 439.7 MB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.1125, allocations: 16.89 kB / 439.7 MB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.1127, allocations: 170.2 kB / 439.9 MB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.1128, allocations: 12.31 kB / 439.9 MB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.1128, allocations: 4.375 kB / 439.9 MB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.113, allocations: 102 kB / 440 MB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.113, allocations: 3.984 kB / 440 MB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.113, allocations: 0 / 440 MB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.113, allocations: 8 kB / 440 MB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.1132, allocations: 79.94 kB / 440.1 MB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000561/0.1138, allocations: 320.2 kB / 440.4 MB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.114, allocations: 86.53 kB / 440.5 MB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.876e-05/0.1141, allocations: 44.95 kB / 440.5 MB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.515e-05/0.1141, allocations: 8 kB / 440.5 MB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.1142, allocations: 34.5 kB / 440.5 MB, free: 11.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.1142, allocations: 3.938 kB / 440.6 MB, free: 11.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003779/0.1145, allocations: 141.6 kB / 440.7 MB, free: 11.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.1146, allocations: 59.41 kB / 440.7 MB, free: 11.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.1148, allocations: 168.8 kB / 440.9 MB, free: 11.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.1148, allocations: 29.7 kB / 440.9 MB, free: 11.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.037e-05/0.1149, allocations: 104.1 kB / 441 MB, free: 10.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.1149, allocations: 27.78 kB / 441.1 MB, free: 10.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.341e-05/0.115, allocations: 17.72 kB / 441.1 MB, free: 10.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1151, allocations: 326.8 kB / 441.4 MB, free: 10.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.366e-05/0.1152, allocations: 27.98 kB / 441.4 MB, free: 10.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.778e-05/0.1153, allocations: 31.97 kB / 441.5 MB, free: 10.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.1154, allocations: 80.77 kB / 441.5 MB, free: 10.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1154, allocations: 4 kB / 441.5 MB, free: 10.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002166/0.1156, allocations: 105.6 kB / 441.7 MB, free: 10.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1157, allocations: 4 kB / 441.7 MB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1157, allocations: 4 kB / 441.7 MB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1157, allocations: 0 / 441.7 MB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.1158, allocations: 11.98 kB / 441.7 MB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1158, allocations: 0 / 441.7 MB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.131e-05/0.1159, allocations: 11.94 kB / 441.7 MB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.1159, allocations: 7.938 kB / 441.7 MB, free: 10.25 MB / 414.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 0.00011/0.116, allocations: 133.8 kB / 441.8 MB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/0.116, allocations: 11.95 kB / 441.8 MB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003073/0.1163, allocations: 130.8 kB / 442 MB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1163, allocations: 0 / 442 MB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1163, allocations: 0 / 442 MB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1163, allocations: 3.984 kB / 442 MB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.1165, allocations: 153.2 kB / 442.1 MB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1165, allocations: 0 / 442.1 MB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.512e-05/0.1166, allocations: 15.98 kB / 442.1 MB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1166, allocations: 0 / 442.1 MB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1166, allocations: 4 kB / 442.1 MB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.1166, allocations: 0 / 442.1 MB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1166, allocations: 7.938 kB / 442.1 MB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.1169, allocations: 211.3 kB / 442.3 MB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.809e-05/0.1169, allocations: 11.95 kB / 442.4 MB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.117, allocations: 0 / 442.4 MB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.396e-05/0.1171, allocations: 11.98 kB / 442.4 MB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.1171, allocations: 0 / 442.4 MB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.1171, allocations: 0 / 442.4 MB, free: 9.504 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.1172, allocations: 137.3 kB / 442.5 MB, free: 9.371 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1172, allocations: 7.938 kB / 442.5 MB, free: 9.363 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.1175, allocations: 16 kB / 442.5 MB, free: 9.348 MB / 414.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.0001205/0.1176, allocations: 95.19 kB / 442.6 MB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00021/0.1178, allocations: 75.89 kB / 442.7 MB, free: 9.172 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1178, allocations: 0 / 442.7 MB, free: 9.172 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.135e-05/0.1179, allocations: 39.97 kB / 442.7 MB, free: 9.133 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.1181, allocations: 4 kB / 442.7 MB, free: 9.129 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004956/0.1186, allocations: 255.5 kB / 443 MB, free: 8.855 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.1187, allocations: 100.3 kB / 443.1 MB, free: 8.738 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.399e-05/0.1188, allocations: 23.95 kB / 443.1 MB, free: 8.715 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.049e-05/0.1188, allocations: 16.48 kB / 443.1 MB, free: 8.699 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1188, allocations: 0 / 443.1 MB, free: 8.699 MB / 414.1 MB Notification: Performance of Templates: time 0.003849/0.1227, allocations: 0.7844 MB / 443.9 MB, free: 7.91 MB / 414.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 ida -lv LOG_STATS > NeuralNetwork_main_NeuralNetwork.Examples.HelloWorld.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.355797377997078] Failed to read output from testmodel.py, exit status != 0: 0.13088683492969722 0.149097013 0.033585541000000003 Calling exit ...