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.00127/0.00127, allocations: 103.6 kB / 18.95 MB, free: 2.656 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.001516/0.001516, allocations: 221.6 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.793 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.01478/0.01478, allocations: 1.229 MB / 313.7 MB, free: 1.699 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.001949/0.001949, allocations: 63.91 kB / 435.6 MB, free: 16.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08822/0.09017, allocations: 53.49 MB / 489.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.HelloWorld): time 0.003017/0.09319, allocations: 1.516 MB / 490.7 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.0943, allocations: 0.5104 MB / 491.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.09437, allocations: 7.938 kB / 491.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001443/0.09451, allocations: 19.84 kB / 491.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.786e-05/0.09458, allocations: 11.88 kB / 491.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.09485, allocations: 47.88 kB / 491.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.09499, allocations: 83.7 kB / 491.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.09513, allocations: 15.98 kB / 491.3 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.09527, allocations: 31.86 kB / 491.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.09542, allocations: 67.67 kB / 491.4 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.09544, allocations: 8 kB / 491.5 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.165e-05/0.0955, allocations: 16 kB / 491.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.288e-05/0.09558, allocations: 39.89 kB / 491.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.454e-05/0.09562, allocations: 23.81 kB / 491.5 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.09582, allocations: 111.8 kB / 491.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.09582, allocations: 0 / 491.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.09582, allocations: 0 / 491.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.09583, allocations: 8 kB / 491.6 MB, free: 8.215 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.0006969/0.09653, allocations: 353.7 kB / 492 MB, free: 7.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.09657, allocations: 8.031 kB / 492 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.187e-05/0.09664, allocations: 46.67 kB / 492 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.0968, allocations: 12.89 kB / 492.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.09708, allocations: 162.3 kB / 492.2 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.09709, allocations: 8.375 kB / 492.2 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.09711, allocations: 384 / 492.2 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.09736, allocations: 105.8 kB / 492.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.09737, allocations: 0 / 492.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.09738, allocations: 3.984 kB / 492.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.0974, allocations: 4 kB / 492.3 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.0976, allocations: 87.88 kB / 492.4 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006492/0.09824, allocations: 343.7 kB / 492.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.09844, allocations: 82.48 kB / 492.8 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.09855, allocations: 44.95 kB / 492.9 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.924e-05/0.09862, allocations: 11.98 kB / 492.9 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.09866, allocations: 34.56 kB / 492.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.09866, allocations: 0 / 492.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003606/0.09902, allocations: 141.5 kB / 493.1 MB, free: 6.656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.09906, allocations: 55.41 kB / 493.1 MB, free: 6.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.09924, allocations: 177.6 kB / 493.3 MB, free: 6.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.09926, allocations: 25.7 kB / 493.3 MB, free: 6.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.683e-05/0.09933, allocations: 108.1 kB / 493.4 MB, free: 6.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.09936, allocations: 23.8 kB / 493.4 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.09941, allocations: 25.7 kB / 493.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.09955, allocations: 318.8 kB / 493.8 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.901e-05/0.09963, allocations: 31.97 kB / 493.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.331e-05/0.0997, allocations: 27.98 kB / 493.8 MB, free: 5.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.09986, allocations: 80.81 kB / 493.9 MB, free: 5.754 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.09986, allocations: 3.938 kB / 493.9 MB, free: 5.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002082/0.1001, allocations: 114 kB / 494 MB, free: 5.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1001, allocations: 4 kB / 494 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1001, allocations: 0 / 494 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1001, allocations: 8 kB / 494 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.1002, allocations: 11.98 kB / 494.1 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1002, allocations: 3.938 kB / 494.1 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.761e-05/0.1003, allocations: 8 kB / 494.1 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1003, allocations: 0 / 494.1 MB, free: 5.598 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.00011/0.1004, allocations: 125.8 kB / 494.2 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.1004, allocations: 15.91 kB / 494.2 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/0.1007, allocations: 130.3 kB / 494.3 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.1007, allocations: 4 kB / 494.3 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.1008, allocations: 7.938 kB / 494.3 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1008, allocations: 0 / 494.3 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.101, allocations: 172.7 kB / 494.5 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.101, allocations: 0 / 494.5 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.031e-05/0.1011, allocations: 19.92 kB / 494.5 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1011, allocations: 4 kB / 494.5 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.1011, allocations: 0 / 494.5 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1011, allocations: 3.984 kB / 494.5 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1011, allocations: 3.938 kB / 494.5 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.1014, allocations: 211.4 kB / 494.8 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.803e-05/0.1014, allocations: 19.84 kB / 494.8 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.1014, allocations: 0 / 494.8 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.84e-05/0.1015, allocations: 4 kB / 494.8 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.1016, allocations: 15.92 kB / 494.8 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.1016, allocations: 0 / 494.8 MB, free: 4.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.1017, allocations: 131.2 kB / 494.9 MB, free: 4.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1017, allocations: 0 / 494.9 MB, free: 4.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002394/0.1019, allocations: 16 kB / 494.9 MB, free: 4.652 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.0006183/0.1025, allocations: 0.7321 MB / 495.7 MB, free: 3.895 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.1027, allocations: 79.89 kB / 495.7 MB, free: 3.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1027, allocations: 0 / 495.7 MB, free: 3.816 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.994e-05/0.1028, allocations: 43.91 kB / 495.8 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.1031, allocations: 7.938 kB / 495.8 MB, free: 3.766 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.1051, allocations: 1.765 MB / 497.6 MB, free: 1.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.1052, allocations: 104.1 kB / 497.7 MB, free: 1.801 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.122e-05/0.1052, allocations: 15.98 kB / 497.7 MB, free: 1.785 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.657e-05/0.1053, allocations: 31.42 kB / 497.7 MB, free: 1.754 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1053, allocations: 0 / 497.7 MB, free: 1.754 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03923/0.1445, allocations: 2.855 MB / 0.4888 GB, free: 15.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.1, allocations: 12.77 kB / 0.4888 GB, free: 15 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.598718213004759] Failed to read output from testmodel.py, exit status != 0: 11.203588489006506 11.228843337 11.12851638 Calling exit ...