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.001868/0.001868, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002179/0.002179, allocations: 220.7 kB / 23.01 MB, free: 4.609 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.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.01455/0.01455, allocations: 1.244 MB / 314.4 MB, free: 1.91 MB / 238.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.001912/0.001912, allocations: 69.47 kB / 437 MB, free: 16.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08719/0.0891, allocations: 53.49 MB / 490.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.HelloWorld): time 0.002588/0.09169, allocations: 1.544 MB / 492 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009999/0.09269, allocations: 0.5532 MB / 492.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.276e-05/0.09274, allocations: 0 / 492.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.09286, allocations: 27.8 kB / 492.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.255e-05/0.09292, allocations: 15.86 kB / 492.6 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.09312, allocations: 43.89 kB / 492.6 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.09335, allocations: 67.77 kB / 492.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.09345, allocations: 19.98 kB / 492.7 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.09358, allocations: 43.78 kB / 492.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.09371, allocations: 59.75 kB / 492.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.09372, allocations: 4 kB / 492.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.412e-05/0.09379, allocations: 23.98 kB / 492.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.834e-05/0.09385, allocations: 35.91 kB / 492.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.295e-05/0.0939, allocations: 43.67 kB / 492.9 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.09407, allocations: 115.5 kB / 493.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.09408, allocations: 0 / 493.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.09408, allocations: 0 / 493.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.09408, allocations: 0 / 493.1 MB, free: 7.836 MB / 350.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.0005882/0.09467, allocations: 349.7 kB / 493.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.0947, allocations: 8.031 kB / 493.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.09484, allocations: 24.88 kB / 493.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.0951, allocations: 160 kB / 493.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.23e-06/0.0951, allocations: 384 / 493.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.09513, allocations: 8.312 kB / 493.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.09533, allocations: 97.95 kB / 493.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.09534, allocations: 4 kB / 493.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.09535, allocations: 4 kB / 493.7 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.09537, allocations: 7.984 kB / 493.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.09555, allocations: 75.94 kB / 493.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005933/0.09614, allocations: 371.5 kB / 494.1 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.09635, allocations: 82.53 kB / 494.2 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.858e-05/0.09644, allocations: 48.95 kB / 494.3 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.127e-05/0.0965, allocations: 4 kB / 494.3 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.09653, allocations: 38.56 kB / 494.3 MB, free: 6.457 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.09653, allocations: 0 / 494.3 MB, free: 6.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003436/0.09688, allocations: 145.5 kB / 494.5 MB, free: 6.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.09691, allocations: 51.41 kB / 494.5 MB, free: 6.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.09709, allocations: 177.8 kB / 494.7 MB, free: 6.066 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.09711, allocations: 25.7 kB / 494.7 MB, free: 6.035 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.507e-05/0.09717, allocations: 108.1 kB / 494.8 MB, free: 5.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.0972, allocations: 27.78 kB / 494.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/0.09724, allocations: 17.72 kB / 494.9 MB, free: 5.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.09738, allocations: 322.8 kB / 495.2 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.453e-05/0.09746, allocations: 31.98 kB / 495.2 MB, free: 5.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.348e-05/0.09752, allocations: 35.97 kB / 495.2 MB, free: 5.484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.09766, allocations: 72.77 kB / 495.3 MB, free: 5.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.09766, allocations: 0 / 495.3 MB, free: 5.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001992/0.09786, allocations: 113.6 kB / 495.4 MB, free: 5.293 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.09787, allocations: 8 kB / 495.4 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.09788, allocations: 0 / 495.4 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.09789, allocations: 3.938 kB / 495.4 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.098, allocations: 11.98 kB / 495.4 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.098, allocations: 0 / 495.4 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.532e-05/0.09806, allocations: 11.92 kB / 495.5 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.09806, allocations: 4 kB / 495.5 MB, free: 5.254 MB / 350.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.0001006/0.09816, allocations: 129.8 kB / 495.6 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.0982, allocations: 15.91 kB / 495.6 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.09847, allocations: 122.4 kB / 495.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.09847, allocations: 4.5 kB / 495.7 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.09848, allocations: 0 / 495.7 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.09848, allocations: 7.922 kB / 495.7 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.09871, allocations: 184.7 kB / 495.9 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.09871, allocations: 4 kB / 495.9 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.196e-05/0.09879, allocations: 15.98 kB / 495.9 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.09879, allocations: 0 / 495.9 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-06/0.0988, allocations: 4 kB / 495.9 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.0988, allocations: 3.984 kB / 495.9 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.0988, allocations: 0 / 495.9 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.09907, allocations: 215.3 kB / 496.1 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.297e-05/0.09911, allocations: 15.84 kB / 496.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.09912, allocations: 0 / 496.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.487e-05/0.09921, allocations: 15.92 kB / 496.2 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.09924, allocations: 7.938 kB / 496.2 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.09925, allocations: 4 kB / 496.2 MB, free: 4.441 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.09936, allocations: 131.2 kB / 496.3 MB, free: 4.312 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.09936, allocations: 0 / 496.3 MB, free: 4.312 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002282/0.09958, allocations: 16 kB / 496.3 MB, free: 4.297 MB / 350.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.0001993/0.09978, allocations: 91.25 kB / 496.4 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002026/0.09999, allocations: 79.89 kB / 496.5 MB, free: 4.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.09999, allocations: 0 / 496.5 MB, free: 4.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.035e-05/0.1001, allocations: 39.97 kB / 496.5 MB, free: 4.082 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.1003, allocations: 8 kB / 496.5 MB, free: 4.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004545/0.1007, allocations: 281.5 kB / 496.8 MB, free: 3.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.1011, allocations: 0.7157 MB / 497.5 MB, free: 3.027 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.955e-05/0.1011, allocations: 15.38 kB / 497.6 MB, free: 3.012 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1011, allocations: 4 kB / 497.6 MB, free: 3.008 MB / 350.1 MB Notification: Performance of Templates: time 0.003186/0.1043, allocations: 1.415 MB / 499 MB, free: 1.594 MB / 350.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 -lv LOG_STATS > NeuralNetwork_main_NeuralNetwork.Examples.HelloWorld.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.225139094982296] Failed to read output from testmodel.py, exit status != 0: 0.11097200494259596 0.125525662 0.028623207 Calling exit ...