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.001796/0.001796, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002033/0.002033, allocations: 215.7 kB / 22.25 MB, free: 5.258 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.448/1.448, allocations: 230.6 MB / 256 MB, free: 7.785 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.02214/0.02214, allocations: 1.229 MB / 313.7 MB, free: 1.672 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.00199/0.00199, allocations: 75.89 kB / 435.6 MB, free: 16.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08534/0.08733, allocations: 53.48 MB / 489.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.HelloWorld): time 0.002699/0.09003, allocations: 1.524 MB / 490.6 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009911/0.09102, allocations: 0.5104 MB / 491.2 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.693e-05/0.09108, allocations: 7.938 kB / 491.2 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.09119, allocations: 15.86 kB / 491.2 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.792e-05/0.09126, allocations: 15.86 kB / 491.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.0915, allocations: 51.88 kB / 491.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.09163, allocations: 67.77 kB / 491.3 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.09175, allocations: 19.98 kB / 491.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.09188, allocations: 43.78 kB / 491.4 MB, free: 8.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.092, allocations: 55.75 kB / 491.4 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.09203, allocations: 12 kB / 491.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.226e-05/0.09209, allocations: 19.94 kB / 491.5 MB, free: 8.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.663e-05/0.09216, allocations: 35.91 kB / 491.5 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.947e-05/0.09221, allocations: 35.73 kB / 491.5 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.09239, allocations: 115.8 kB / 491.6 MB, free: 8.176 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.09239, allocations: 0 / 491.6 MB, free: 8.176 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.09239, allocations: 0 / 491.6 MB, free: 8.176 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.0924, allocations: 0 / 491.6 MB, free: 8.176 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.000632/0.09303, allocations: 349.7 kB / 492 MB, free: 7.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.09306, allocations: 8.031 kB / 492 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.471e-05/0.09311, allocations: 46.73 kB / 492 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.09324, allocations: 16.89 kB / 492.1 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.09349, allocations: 164.5 kB / 492.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.0935, allocations: 4.375 kB / 492.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.09352, allocations: 8.375 kB / 492.2 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.09374, allocations: 101.8 kB / 492.3 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.09375, allocations: 0 / 492.3 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.09376, allocations: 0 / 492.3 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.09377, allocations: 4 kB / 492.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/0.09396, allocations: 91.88 kB / 492.4 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005998/0.09456, allocations: 339.7 kB / 492.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.09474, allocations: 82.48 kB / 492.8 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.783e-05/0.09482, allocations: 44.95 kB / 492.9 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.206e-05/0.0949, allocations: 11.98 kB / 492.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.09492, allocations: 34.55 kB / 492.9 MB, free: 6.766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.09492, allocations: 0 / 492.9 MB, free: 6.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003582/0.09528, allocations: 141.6 kB / 493.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.09532, allocations: 55.41 kB / 493.1 MB, free: 6.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.0955, allocations: 181.6 kB / 493.3 MB, free: 6.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.09552, allocations: 29.7 kB / 493.3 MB, free: 6.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.657e-05/0.09559, allocations: 104.1 kB / 493.4 MB, free: 6.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.09562, allocations: 23.8 kB / 493.4 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-05/0.09567, allocations: 17.72 kB / 493.5 MB, free: 6.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.09581, allocations: 322.8 kB / 493.8 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.739e-05/0.09588, allocations: 35.91 kB / 493.8 MB, free: 5.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.322e-05/0.09596, allocations: 27.98 kB / 493.8 MB, free: 5.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.09611, allocations: 80.83 kB / 493.9 MB, free: 5.715 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.09611, allocations: 0 / 493.9 MB, free: 5.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002048/0.09631, allocations: 105.6 kB / 494 MB, free: 5.605 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.09633, allocations: 7.984 kB / 494 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.09633, allocations: 4 kB / 494 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.09635, allocations: 0 / 494 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.09647, allocations: 12.38 kB / 494 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.09648, allocations: 7.922 kB / 494.1 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.036e-05/0.09653, allocations: 4 kB / 494.1 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.09654, allocations: 11.94 kB / 494.1 MB, free: 5.559 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.0001024/0.09664, allocations: 125.8 kB / 494.2 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.09668, allocations: 19.91 kB / 494.2 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/0.09697, allocations: 130.3 kB / 494.3 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.09697, allocations: 3.938 kB / 494.3 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.09698, allocations: 3.938 kB / 494.4 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.09698, allocations: 0 / 494.4 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.09721, allocations: 172.7 kB / 494.5 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.09721, allocations: 0 / 494.5 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.505e-05/0.09729, allocations: 19.98 kB / 494.5 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.0973, allocations: 0 / 494.5 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.09731, allocations: 4 kB / 494.5 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.09731, allocations: 0 / 494.5 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.09731, allocations: 3.938 kB / 494.5 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.09757, allocations: 203.5 kB / 494.7 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/0.0976, allocations: 19.83 kB / 494.8 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.09762, allocations: 4 kB / 494.8 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.197e-05/0.0977, allocations: 0 / 494.8 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.09775, allocations: 15.86 kB / 494.8 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.09776, allocations: 8 kB / 494.8 MB, free: 4.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.09788, allocations: 131.2 kB / 494.9 MB, free: 4.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09788, allocations: 0 / 494.9 MB, free: 4.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.09812, allocations: 16 kB / 494.9 MB, free: 4.617 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.000554/0.09867, allocations: 0.7319 MB / 495.7 MB, free: 3.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.09888, allocations: 76.08 kB / 495.7 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.09889, allocations: 4 kB / 495.7 MB, free: 3.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.509e-05/0.09897, allocations: 36.09 kB / 495.8 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.0992, allocations: 11.94 kB / 495.8 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.1012, allocations: 1.765 MB / 497.6 MB, free: 1.891 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.1013, allocations: 104.1 kB / 497.7 MB, free: 1.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.182e-05/0.1014, allocations: 19.97 kB / 497.7 MB, free: 1.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/0.1014, allocations: 31.42 kB / 497.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1014, allocations: 0 / 497.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02788/0.1293, allocations: 2.858 MB / 0.4888 GB, free: 14.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.24, allocations: 10.44 kB / 0.4888 GB, free: 14.97 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 & 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: 13.81034954500501] Failed to read output from testmodel.py, exit status != 0: 11.343476545996964 11.360168453 11.264688575 Calling exit ...