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.001286/0.001286, allocations: 108 kB / 16.45 MB, free: 6.508 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.001347/0.001347, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.439/1.439, allocations: 230.6 MB / 252.8 MB, free: 9.109 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.01409/0.01409, allocations: 1.237 MB / 310.1 MB, free: 3.062 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.001934/0.001934, allocations: 63.91 kB / 430.5 MB, free: 17.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08643/0.08836, allocations: 53.44 MB / 484 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.HelloWorld): time 0.002744/0.09111, allocations: 1.544 MB / 485.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009514/0.09206, allocations: 0.5454 MB / 486.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.235e-05/0.09212, allocations: 7.938 kB / 486.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.09224, allocations: 15.86 kB / 486.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.604e-05/0.09231, allocations: 15.86 kB / 486.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.09252, allocations: 47.89 kB / 486.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.09265, allocations: 71.77 kB / 486.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.09278, allocations: 19.98 kB / 486.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.09291, allocations: 47.77 kB / 486.3 MB, free: 10 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.09303, allocations: 51.77 kB / 486.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.09305, allocations: 8 kB / 486.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.246e-05/0.09312, allocations: 19.98 kB / 486.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.452e-05/0.09318, allocations: 39.84 kB / 486.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.175e-05/0.09324, allocations: 43.72 kB / 486.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.09343, allocations: 115.8 kB / 486.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.09343, allocations: 4 kB / 486.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.09343, allocations: 0 / 486.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.09344, allocations: 0 / 486.6 MB, free: 9.727 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.0006594/0.0941, allocations: 422.8 kB / 487 MB, free: 9.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.09413, allocations: 8.031 kB / 487 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.279e-05/0.09418, allocations: 38.75 kB / 487 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.09431, allocations: 20.88 kB / 487 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.09457, allocations: 220.1 kB / 487.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.09458, allocations: 12.38 kB / 487.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.0946, allocations: 384 / 487.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.09482, allocations: 101.8 kB / 487.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.09482, allocations: 0 / 487.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.09483, allocations: 0 / 487.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.09485, allocations: 4 kB / 487.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.09504, allocations: 87.88 kB / 487.5 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005992/0.09564, allocations: 388.6 kB / 487.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.09583, allocations: 90.47 kB / 487.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.39e-05/0.09593, allocations: 44.95 kB / 488 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/0.09608, allocations: 154.2 kB / 488.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.09611, allocations: 42.48 kB / 488.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.09611, allocations: 0 / 488.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003617/0.09647, allocations: 141.6 kB / 488.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.09652, allocations: 51.41 kB / 488.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.09669, allocations: 178.2 kB / 488.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.09671, allocations: 29.64 kB / 488.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.957e-05/0.09678, allocations: 108.1 kB / 488.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.09681, allocations: 23.78 kB / 488.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.09685, allocations: 17.72 kB / 488.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.09701, allocations: 330.8 kB / 489 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.078e-05/0.09709, allocations: 31.97 kB / 489.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.818e-05/0.09716, allocations: 32.36 kB / 489.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.09731, allocations: 76.83 kB / 489.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.09732, allocations: 0 / 489.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002147/0.09753, allocations: 105.6 kB / 489.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.09755, allocations: 11.98 kB / 489.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.09755, allocations: 7.938 kB / 489.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.09756, allocations: 0 / 489.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.09768, allocations: 19.92 kB / 489.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.09769, allocations: 3.938 kB / 489.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.178e-05/0.09774, allocations: 0 / 489.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.09775, allocations: 8 kB / 489.3 MB, free: 6.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.0001034/0.09786, allocations: 125.8 kB / 489.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.0979, allocations: 11.91 kB / 489.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002984/0.0982, allocations: 134.3 kB / 489.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.0982, allocations: 0 / 489.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.09821, allocations: 7.875 kB / 489.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.09821, allocations: 0 / 489.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.09845, allocations: 209.6 kB / 489.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.09845, allocations: 0 / 489.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.898e-05/0.09854, allocations: 15.98 kB / 489.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.09855, allocations: 0 / 489.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.09855, allocations: 0 / 489.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.09855, allocations: 0 / 489.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.09856, allocations: 3.938 kB / 489.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.09883, allocations: 211.6 kB / 490 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.832e-05/0.0989, allocations: 92.95 kB / 490.1 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.09892, allocations: 7.984 kB / 490.1 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.409e-05/0.099, allocations: 4 kB / 490.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.09904, allocations: 7.875 kB / 490.1 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.09905, allocations: 7.984 kB / 490.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.09916, allocations: 140.5 kB / 490.3 MB, free: 5.645 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09916, allocations: 3.938 kB / 490.3 MB, free: 5.641 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002335/0.0994, allocations: 12 kB / 490.3 MB, free: 5.629 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.000582/0.09998, allocations: 0.732 MB / 491 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.1002, allocations: 83.89 kB / 491.1 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1002, allocations: 0 / 491.1 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.395e-05/0.1003, allocations: 31.98 kB / 491.1 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.1005, allocations: 15.92 kB / 491.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.1025, allocations: 1.769 MB / 492.9 MB, free: 2.895 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.1029, allocations: 0.7158 MB / 493.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.653e-05/0.1029, allocations: 19.92 kB / 493.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.103, allocations: 27.44 kB / 493.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.103, allocations: 4 kB / 493.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02525/0.1283, allocations: 2.303 MB / 496 MB, free: 15.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.744/7.872, allocations: 0 / 496 MB, free: 15.88 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 & python3 -m fmpy simulate --output-file NeuralNetwork_main_NeuralNetwork.Examples.HelloWorld_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 NeuralNetwork_main_NeuralNetwork_Examples_HelloWorld.fmu > NeuralNetwork_main_NeuralNetwork.Examples.HelloWorld.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.295269550057128] Failed to read output from testmodel.py, exit status != 0: 7.939833412179723 7.965598078 7.867720024 Calling exit ...