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.001403/0.001403, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001661/0.001661, allocations: 214.2 kB / 22.25 MB, free: 5.082 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 8.023 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.009911/0.009911, allocations: 1.241 MB / 313.7 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: "" <> 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.001996/0.001996, allocations: 67.91 kB / 435.7 MB, free: 16.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1022, allocations: 53.48 MB / 489.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.HelloWorld): time 0.002929/0.1051, allocations: 1.544 MB / 490.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.1062, allocations: 0.5571 MB / 491.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.941e-05/0.1062, allocations: 3.938 kB / 491.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.1064, allocations: 23.84 kB / 491.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.848e-05/0.1065, allocations: 7.875 kB / 491.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.1067, allocations: 47.89 kB / 491.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.1068, allocations: 71.75 kB / 491.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.107, allocations: 23.98 kB / 491.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.1071, allocations: 43.73 kB / 491.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.1073, allocations: 59.73 kB / 491.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.1073, allocations: 8 kB / 491.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.655e-05/0.1074, allocations: 16 kB / 491.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.528e-05/0.1075, allocations: 43.83 kB / 491.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.832e-05/0.1075, allocations: 39.69 kB / 491.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.1077, allocations: 107.8 kB / 491.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1077, allocations: 4 kB / 491.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1077, allocations: 0 / 491.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1077, allocations: 4 kB / 491.8 MB, free: 8.34 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.0006703/0.1084, allocations: 345.7 kB / 492.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1084, allocations: 8.031 kB / 492.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.94e-05/0.1085, allocations: 42.73 kB / 492.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.1086, allocations: 16.89 kB / 492.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.1089, allocations: 164.5 kB / 492.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.1089, allocations: 8.375 kB / 492.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.1089, allocations: 384 / 492.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.1091, allocations: 107.8 kB / 492.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1091, allocations: 0 / 492.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1091, allocations: 0 / 492.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.1092, allocations: 8 kB / 492.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.1093, allocations: 87.86 kB / 492.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006933/0.11, allocations: 359.7 kB / 492.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.1102, allocations: 90.47 kB / 493 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.99e-05/0.1103, allocations: 44.95 kB / 493.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-05/0.1104, allocations: 4 kB / 493.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.1104, allocations: 34.56 kB / 493.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1104, allocations: 0 / 493.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003568/0.1108, allocations: 137.6 kB / 493.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.1108, allocations: 59.39 kB / 493.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.111, allocations: 177.6 kB / 493.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.1111, allocations: 25.7 kB / 493.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.924e-05/0.1111, allocations: 116 kB / 493.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.1112, allocations: 19.78 kB / 493.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.1112, allocations: 21.66 kB / 493.6 MB, free: 6.332 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1114, allocations: 322.8 kB / 494 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.629e-05/0.1114, allocations: 31.98 kB / 494 MB, free: 5.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.784e-05/0.1115, allocations: 39.97 kB / 494 MB, free: 5.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.1116, allocations: 68.83 kB / 494.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.1116, allocations: 0 / 494.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002015/0.1118, allocations: 109.6 kB / 494.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1119, allocations: 8 kB / 494.2 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1119, allocations: 3.938 kB / 494.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1119, allocations: 0 / 494.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.112, allocations: 23.92 kB / 494.2 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.112, allocations: 3.938 kB / 494.2 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.712e-05/0.1121, allocations: 7.984 kB / 494.2 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.1121, allocations: 3.984 kB / 494.2 MB, free: 5.703 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.0001181/0.1122, allocations: 129.8 kB / 494.4 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/0.1122, allocations: 11.91 kB / 494.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.1125, allocations: 122.8 kB / 494.5 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1125, allocations: 0 / 494.5 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1125, allocations: 8 kB / 494.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.026e-06/0.1125, allocations: 11.92 kB / 494.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.1128, allocations: 180.7 kB / 494.7 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1128, allocations: 0 / 494.7 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.459e-05/0.1128, allocations: 15.98 kB / 494.7 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1128, allocations: 0 / 494.7 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.1129, allocations: 4 kB / 494.7 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1129, allocations: 0 / 494.7 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.1129, allocations: 3.938 kB / 494.7 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002665/0.1131, allocations: 211.5 kB / 494.9 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.539e-05/0.1132, allocations: 15.84 kB / 494.9 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.1132, allocations: 0 / 494.9 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.234e-05/0.1133, allocations: 7.984 kB / 495 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.1133, allocations: 15.88 kB / 495 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.1133, allocations: 0 / 495 MB, free: 4.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.1134, allocations: 131.2 kB / 495.1 MB, free: 4.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1134, allocations: 0 / 495.1 MB, free: 4.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.1136, allocations: 20 kB / 495.1 MB, free: 4.754 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.0006708/0.1143, allocations: 0.7358 MB / 495.9 MB, free: 3.992 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.1145, allocations: 75.89 kB / 495.9 MB, free: 3.918 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1145, allocations: 0 / 495.9 MB, free: 3.918 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.938e-05/0.1146, allocations: 35.98 kB / 496 MB, free: 3.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.1148, allocations: 11.94 kB / 496 MB, free: 3.871 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.1169, allocations: 1.765 MB / 497.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.1173, allocations: 0.7119 MB / 498.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.346e-05/0.1174, allocations: 23.94 kB / 498.5 MB, free: 1.266 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.721e-05/0.1175, allocations: 31.36 kB / 498.5 MB, free: 1.238 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1175, allocations: 0 / 498.5 MB, free: 1.238 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03062/0.1481, allocations: 2.445 MB / 0.4892 GB, free: 14.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.54, allocations: 0 / 0.4892 GB, free: 14.91 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.115847656968981] Failed to read output from testmodel.py, exit status != 0: 11.646257339045405 11.67102229 11.558749737 Calling exit ...