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.001337/0.001337, allocations: 109.3 kB / 16.46 MB, free: 6.457 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.001505/0.001505, allocations: 209.7 kB / 19.43 MB, free: 3.625 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.444/1.444, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.01996/0.01996, allocations: 1.232 MB / 310.1 MB, free: 3.055 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: "" <> buildModelFMU(NeuralNetwork.Examples.HelloWorld,fileNamePrefix="NeuralNetwork_main_NeuralNetwork_Examples_HelloWorld",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(NeuralNetwork.Examples.HelloWorld,fileNamePrefix="NeuralNetwork_main_NeuralNetwork_Examples_HelloWorld",fmuType="me",version="2.0",platforms={"static"}) [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.001975/0.001975, allocations: 71.89 kB / 430.5 MB, free: 17.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0945/0.09647, allocations: 53.43 MB / 484 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.HelloWorld): time 0.002718/0.09919, allocations: 1.545 MB / 485.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.1002, allocations: 0.5455 MB / 486.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.7e-05/0.1003, allocations: 0 / 486.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.1004, allocations: 23.8 kB / 486.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.06e-05/0.1005, allocations: 19.86 kB / 486.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.1007, allocations: 35.91 kB / 486.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.1009, allocations: 75.75 kB / 486.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.101, allocations: 27.97 kB / 486.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.1011, allocations: 35.8 kB / 486.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.1013, allocations: 59.75 kB / 486.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.1013, allocations: 8 kB / 486.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.543e-05/0.1014, allocations: 19.98 kB / 486.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.964e-05/0.1014, allocations: 35.91 kB / 486.4 MB, free: 10 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.719e-05/0.1015, allocations: 43.67 kB / 486.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.1017, allocations: 111.8 kB / 486.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1017, allocations: 0 / 486.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1017, allocations: 0 / 486.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1017, allocations: 0 / 486.6 MB, free: 9.848 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.0007368/0.1024, allocations: 426.8 kB / 487 MB, free: 9.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.1025, allocations: 12.03 kB / 487 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.556e-05/0.1025, allocations: 38.73 kB / 487 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.1027, allocations: 16.89 kB / 487 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.1029, allocations: 225.7 kB / 487.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.1029, allocations: 4.375 kB / 487.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.103, allocations: 4.375 kB / 487.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.1032, allocations: 101.8 kB / 487.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1032, allocations: 4 kB / 487.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.1032, allocations: 4 kB / 487.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.1032, allocations: 7.938 kB / 487.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.1034, allocations: 79.94 kB / 487.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005975/0.104, allocations: 396.5 kB / 487.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.1042, allocations: 86.53 kB / 487.9 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.238e-05/0.1043, allocations: 40.97 kB / 488 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001551/0.1044, allocations: 162.2 kB / 488.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.1045, allocations: 34.5 kB / 488.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.1045, allocations: 0 / 488.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003919/0.1049, allocations: 141.6 kB / 488.3 MB, free: 7.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.1049, allocations: 59.41 kB / 488.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.1051, allocations: 177.8 kB / 488.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.1051, allocations: 25.7 kB / 488.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.202e-05/0.1052, allocations: 112.1 kB / 488.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.1052, allocations: 23.78 kB / 488.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.1052, allocations: 17.72 kB / 488.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1054, allocations: 326.8 kB / 489 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.139e-05/0.1055, allocations: 31.98 kB / 489.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.134e-05/0.1055, allocations: 35.97 kB / 489.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.1057, allocations: 72.77 kB / 489.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1057, allocations: 0 / 489.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002095/0.1059, allocations: 113.6 kB / 489.3 MB, free: 6.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1059, allocations: 4 kB / 489.3 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1059, allocations: 3.938 kB / 489.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.1059, allocations: 0 / 489.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.1061, allocations: 15.98 kB / 489.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.1061, allocations: 7.938 kB / 489.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.582e-05/0.1061, allocations: 7.984 kB / 489.3 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.1061, allocations: 448 / 489.3 MB, free: 6.82 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.0001139/0.1062, allocations: 133.8 kB / 489.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.1063, allocations: 11.91 kB / 489.5 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003077/0.1066, allocations: 126.4 kB / 489.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1066, allocations: 0 / 489.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.1066, allocations: 7.938 kB / 489.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1066, allocations: 0 / 489.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.1068, allocations: 209.6 kB / 489.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1068, allocations: 0 / 489.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.627e-05/0.1069, allocations: 15.98 kB / 489.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1069, allocations: 0 / 489.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.1069, allocations: 4 kB / 489.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.1069, allocations: 7.938 kB / 489.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.107, allocations: 3.938 kB / 489.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.1072, allocations: 207.5 kB / 490 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.757e-05/0.1073, allocations: 96.89 kB / 490.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.1073, allocations: 4 kB / 490.1 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.312e-05/0.1074, allocations: 3.984 kB / 490.1 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.1074, allocations: 7.938 kB / 490.1 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.1074, allocations: 4 kB / 490.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.1076, allocations: 131.2 kB / 490.3 MB, free: 5.762 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1076, allocations: 0 / 490.3 MB, free: 5.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002396/0.1078, allocations: 20 kB / 490.3 MB, free: 5.742 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.0005805/0.1084, allocations: 0.7319 MB / 491 MB, free: 4.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002155/0.1086, allocations: 71.95 kB / 491.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1086, allocations: 0 / 491.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.803e-05/0.1087, allocations: 47.91 kB / 491.1 MB, free: 4.867 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.1089, allocations: 7.938 kB / 491.1 MB, free: 4.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.1109, allocations: 1.773 MB / 492.9 MB, free: 3.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.1113, allocations: 0.7119 MB / 493.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.312e-05/0.1114, allocations: 27.92 kB / 493.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.228e-05/0.1114, allocations: 31.42 kB / 493.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1114, allocations: 0 / 493.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.1347, allocations: 2.299 MB / 496 MB, free: 15.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.007/8.141, allocations: 2.953 kB / 496 MB, free: 15.98 MB / 366.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_NeuralNetwork_main_NeuralNetwork_Examples_HelloWorld_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 NeuralNetwork_main_NeuralNetwork_Examples_HelloWorld.fmu > NeuralNetwork_main_NeuralNetwork.Examples.HelloWorld.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.527636696817353] Failed to read output from testmodel.py, exit status != 0: 8.207818949129432 8.225480304 8.120512582 Calling exit ...