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.001274/0.001274, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00144/0.00144, allocations: 218.8 kB / 22.25 MB, free: 5.125 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.415/1.415, allocations: 230.6 MB / 256 MB, free: 8.004 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.01325/0.01325, allocations: 1.236 MB / 313.7 MB, free: 1.891 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.001887/0.001887, allocations: 71.89 kB / 435.7 MB, free: 16.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09014/0.09202, allocations: 53.47 MB / 489.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.HelloWorld): time 0.002612/0.09464, allocations: 1.548 MB / 490.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.09568, allocations: 0.5571 MB / 491.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.346e-05/0.09574, allocations: 11.94 kB / 491.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.09587, allocations: 15.84 kB / 491.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.96e-05/0.09594, allocations: 15.88 kB / 491.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.09617, allocations: 43.89 kB / 491.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000133/0.0963, allocations: 71.77 kB / 491.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.09644, allocations: 27.91 kB / 491.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.09657, allocations: 39.8 kB / 491.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.09672, allocations: 51.75 kB / 491.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.09674, allocations: 8 kB / 491.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.582e-05/0.09681, allocations: 23.98 kB / 491.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.114e-05/0.09688, allocations: 43.89 kB / 491.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.375e-05/0.09693, allocations: 39.69 kB / 491.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.09713, allocations: 107.8 kB / 491.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.09714, allocations: 0 / 491.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.09714, allocations: 0 / 491.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.09714, allocations: 0 / 491.8 MB, free: 8.32 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.0006622/0.09781, allocations: 353.7 kB / 492.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.09785, allocations: 8.031 kB / 492.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.377e-05/0.0979, allocations: 46.73 kB / 492.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.09803, allocations: 12.89 kB / 492.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.09829, allocations: 168.5 kB / 492.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.0983, allocations: 384 / 492.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.09831, allocations: 8.375 kB / 492.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.09854, allocations: 98.89 kB / 492.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.09855, allocations: 4 kB / 492.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.09856, allocations: 0 / 492.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/0.09858, allocations: 4 kB / 492.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.09877, allocations: 83.94 kB / 492.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006055/0.09937, allocations: 363.6 kB / 492.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.09955, allocations: 82.53 kB / 493 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.596e-05/0.09965, allocations: 44.95 kB / 493 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.966e-05/0.09973, allocations: 8 kB / 493.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.09976, allocations: 34.5 kB / 493.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.09976, allocations: 0 / 493.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003676/0.1001, allocations: 141.6 kB / 493.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.581e-05/0.1002, allocations: 55.39 kB / 493.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.1004, allocations: 174.2 kB / 493.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.1004, allocations: 25.7 kB / 493.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.216e-05/0.1005, allocations: 108.1 kB / 493.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.1005, allocations: 27.78 kB / 493.6 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.1006, allocations: 17.72 kB / 493.6 MB, free: 6.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.1008, allocations: 322.8 kB / 493.9 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.518e-05/0.1008, allocations: 27.98 kB / 494 MB, free: 5.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.191e-05/0.1009, allocations: 39.91 kB / 494 MB, free: 5.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.1011, allocations: 72.83 kB / 494.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1011, allocations: 4 kB / 494.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002026/0.1013, allocations: 113.9 kB / 494.2 MB, free: 5.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1013, allocations: 11.94 kB / 494.2 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.1013, allocations: 4.062 kB / 494.2 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1013, allocations: 0 / 494.2 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.1014, allocations: 11.98 kB / 494.2 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.1014, allocations: 7.938 kB / 494.2 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.101e-05/0.1015, allocations: 3.984 kB / 494.2 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.1015, allocations: 8 kB / 494.2 MB, free: 5.684 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.0001088/0.1016, allocations: 129.8 kB / 494.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.1016, allocations: 11.91 kB / 494.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002703/0.1019, allocations: 130.3 kB / 494.5 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1019, allocations: 4 kB / 494.5 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1019, allocations: 3.938 kB / 494.5 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.1019, allocations: 3.984 kB / 494.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.1021, allocations: 180.7 kB / 494.7 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.1021, allocations: 0 / 494.7 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.688e-05/0.1022, allocations: 19.92 kB / 494.7 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1022, allocations: 4 kB / 494.7 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.1022, allocations: 0 / 494.7 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1022, allocations: 0 / 494.7 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1022, allocations: 3.938 kB / 494.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.1025, allocations: 207.5 kB / 494.9 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.1025, allocations: 19.84 kB / 494.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.1025, allocations: 0 / 494.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.032e-05/0.1026, allocations: 11.98 kB / 495 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.1027, allocations: 3.938 kB / 495 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.1027, allocations: 4 kB / 495 MB, free: 4.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.1028, allocations: 138.1 kB / 495.1 MB, free: 4.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1028, allocations: 0 / 495.1 MB, free: 4.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.103, allocations: 12 kB / 495.1 MB, free: 4.738 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.000644/0.1036, allocations: 0.7437 MB / 495.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.1039, allocations: 75.95 kB / 495.9 MB, free: 3.895 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1039, allocations: 0 / 495.9 MB, free: 3.895 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.191e-05/0.1039, allocations: 35.92 kB / 496 MB, free: 3.859 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.1042, allocations: 15.88 kB / 496 MB, free: 3.844 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.1062, allocations: 1.764 MB / 497.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004757/0.1067, allocations: 0.7158 MB / 498.5 MB, free: 1.262 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.116e-05/0.1068, allocations: 19.88 kB / 498.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.367e-05/0.1068, allocations: 31.42 kB / 498.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1068, allocations: 0 / 498.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/0.1346, allocations: 2.443 MB / 0.4892 GB, free: 14.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.2, allocations: 7.797 kB / 0.4892 GB, free: 14.89 MB / 366.1 MB " [Timeout remaining time 650] (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: 12.698764755994489] Failed to read output from testmodel.py, exit status != 0: 10.30374110199773 10.322399197 10.221937036 Calling exit ...