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.002203/0.002203, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002914/0.002914, allocations: 211.9 kB / 22.25 MB, free: 5.262 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.577/1.577, allocations: 230.6 MB / 256 MB, free: 7.789 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.01027/0.01027, allocations: 1.237 MB / 313.7 MB, free: 1.703 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.002079/0.002079, allocations: 75.89 kB / 436.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1093, allocations: 53.48 MB / 489.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.HelloWorld): time 0.00288/0.1122, allocations: 1.517 MB / 491.1 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1132, allocations: 0.5104 MB / 491.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.051e-05/0.1132, allocations: 4 kB / 491.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.1134, allocations: 15.8 kB / 491.7 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.398e-05/0.1134, allocations: 19.86 kB / 491.7 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.1137, allocations: 43.89 kB / 491.7 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.1138, allocations: 67.83 kB / 491.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.1139, allocations: 27.92 kB / 491.8 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.1141, allocations: 51.7 kB / 491.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.1142, allocations: 43.83 kB / 491.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.1143, allocations: 8 kB / 491.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.501e-05/0.1143, allocations: 16 kB / 491.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.208e-05/0.1144, allocations: 43.83 kB / 492 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.656e-05/0.1145, allocations: 31.8 kB / 492 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.1146, allocations: 115.5 kB / 492.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1146, allocations: 0 / 492.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1146, allocations: 0 / 492.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1147, allocations: 4 kB / 492.1 MB, free: 7.688 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.0006626/0.1153, allocations: 349.7 kB / 492.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.1153, allocations: 8.031 kB / 492.5 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.1155, allocations: 16.89 kB / 492.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.1158, allocations: 158.3 kB / 492.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.1158, allocations: 384 / 492.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.1158, allocations: 8.375 kB / 492.7 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.116, allocations: 105.9 kB / 492.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.116, allocations: 4 kB / 492.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.116, allocations: 4 kB / 492.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.1161, allocations: 4 kB / 492.8 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.1162, allocations: 75.94 kB / 492.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00058/0.1168, allocations: 320.2 kB / 493.2 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.117, allocations: 82.53 kB / 493.3 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.1171, allocations: 44.95 kB / 493.3 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-05/0.1172, allocations: 4 kB / 493.3 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.1172, allocations: 38.56 kB / 493.3 MB, free: 6.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.1172, allocations: 0 / 493.3 MB, free: 6.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003683/0.1176, allocations: 145.5 kB / 493.5 MB, free: 6.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.1176, allocations: 59.39 kB / 493.5 MB, free: 6.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.1178, allocations: 169.7 kB / 493.7 MB, free: 5.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.1179, allocations: 25.7 kB / 493.7 MB, free: 5.957 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.1179, allocations: 108.1 kB / 493.8 MB, free: 5.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.118, allocations: 23.78 kB / 493.9 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.118, allocations: 21.72 kB / 493.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1182, allocations: 326.8 kB / 494.2 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.6e-05/0.1182, allocations: 31.98 kB / 494.2 MB, free: 5.438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.811e-05/0.1183, allocations: 31.97 kB / 494.3 MB, free: 5.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.1185, allocations: 81.14 kB / 494.3 MB, free: 5.324 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1185, allocations: 0 / 494.3 MB, free: 5.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002136/0.1187, allocations: 109.6 kB / 494.4 MB, free: 5.211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1187, allocations: 4 kB / 494.4 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.1187, allocations: 0 / 494.4 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1187, allocations: 3.938 kB / 494.5 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.1188, allocations: 23.98 kB / 494.5 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.1188, allocations: 3.984 kB / 494.5 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.687e-05/0.1189, allocations: 7.984 kB / 494.5 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.1189, allocations: 3.938 kB / 494.5 MB, free: 5.164 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.0001193/0.119, allocations: 133.8 kB / 494.6 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.119, allocations: 15.89 kB / 494.6 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003051/0.1194, allocations: 126.3 kB / 494.8 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.1194, allocations: 4 kB / 494.8 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1194, allocations: 0 / 494.8 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1194, allocations: 0 / 494.8 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.1196, allocations: 157.2 kB / 494.9 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.1196, allocations: 0 / 494.9 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.631e-05/0.1197, allocations: 15.98 kB / 494.9 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1197, allocations: 0 / 494.9 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.1197, allocations: 0 / 494.9 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1197, allocations: 0 / 494.9 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1197, allocations: 0 / 494.9 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.12, allocations: 219.3 kB / 495.1 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.962e-05/0.12, allocations: 15.84 kB / 495.2 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.12, allocations: 4 kB / 495.2 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.177e-05/0.1201, allocations: 7.938 kB / 495.2 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.1201, allocations: 8.172 kB / 495.2 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.1201, allocations: 4 kB / 495.2 MB, free: 4.402 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000146/0.1203, allocations: 135.2 kB / 495.3 MB, free: 4.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1203, allocations: 0 / 495.3 MB, free: 4.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000238/0.1205, allocations: 16 kB / 495.3 MB, free: 4.254 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.0001239/0.1206, allocations: 99.19 kB / 495.4 MB, free: 4.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.1209, allocations: 75.89 kB / 495.5 MB, free: 4.074 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1209, allocations: 4 kB / 495.5 MB, free: 4.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.488e-05/0.1209, allocations: 39.97 kB / 495.5 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.1212, allocations: 4 kB / 495.6 MB, free: 4.027 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000526/0.1217, allocations: 247.8 kB / 495.8 MB, free: 3.762 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.1218, allocations: 104.1 kB / 495.9 MB, free: 3.637 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.013e-05/0.1219, allocations: 15.98 kB / 495.9 MB, free: 3.621 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/0.1219, allocations: 11.44 kB / 495.9 MB, free: 3.609 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1219, allocations: 0 / 495.9 MB, free: 3.609 MB / 350.1 MB Notification: Performance of Templates: time 0.003662/0.1256, allocations: 0.8642 MB / 496.8 MB, free: 2.75 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: 4.612180575728416] Failed to read output from testmodel.py, exit status != 0: 0.13338498398661613 0.149402416 0.031526142 Calling exit ...