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.001059/0.001059, allocations: 79.69 kB / 19.25 MB, free: 0.6211 MB / 13.93 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.0009366/0.0009366, allocations: 162 kB / 22.56 MB, free: 1.965 MB / 18.57 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 0.9383/0.9383, allocations: 177.1 MB / 202.9 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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.009279/0.009279, allocations: 1.108 MB / 260.4 MB, free: 12.12 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 382.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.342e-05/1.476e-05, allocations: 6.219 kB / 382.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.HelloWorld): time 0.001779/0.001794, allocations: 1.516 MB / 384.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009003/0.002694, allocations: 0.5181 MB / 384.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.00282, allocations: 8 kB / 384.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.002987, allocations: 19.8 kB / 384.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 9.043e-05/0.003078, allocations: 15.86 kB / 384.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.003399, allocations: 47.83 kB / 384.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.003557, allocations: 71.75 kB / 384.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.003714, allocations: 19.98 kB / 384.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002332/0.003947, allocations: 59.69 kB / 384.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.004111, allocations: 47.88 kB / 384.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.257e-05/0.004143, allocations: 8 kB / 384.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.616e-05/0.004219, allocations: 20 kB / 384.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.438e-05/0.004304, allocations: 43.83 kB / 385 MB, free: 13.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/0.004349, allocations: 19.92 kB / 385 MB, free: 13.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.00459, allocations: 111.6 kB / 385.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.004594, allocations: 0 / 385.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.004595, allocations: 0 / 385.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.004601, allocations: 0 / 385.1 MB, free: 12.91 MB / 362.7 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.0006758/0.005277, allocations: 345.8 kB / 385.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.005323, allocations: 8.031 kB / 385.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.574e-05/0.005368, allocations: 42.73 kB / 385.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.005527, allocations: 20.89 kB / 385.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.005768, allocations: 166.5 kB / 385.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.005781, allocations: 384 / 385.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.005801, allocations: 8.375 kB / 385.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.006021, allocations: 96.83 kB / 385.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.006032, allocations: 192 / 385.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.006046, allocations: 8.125 kB / 385.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.006067, allocations: 3.938 kB / 385.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.006235, allocations: 87.88 kB / 385.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005947/0.006829, allocations: 347.8 kB / 386.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.007011, allocations: 82.48 kB / 386.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.677e-05/0.007088, allocations: 40.95 kB / 386.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.075e-05/0.007179, allocations: 11.98 kB / 386.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.007208, allocations: 34.56 kB / 386.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.873e-06/0.00721, allocations: 0 / 386.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003386/0.007549, allocations: 133.6 kB / 386.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.007587, allocations: 59.41 kB / 386.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.007745, allocations: 177.3 kB / 386.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.007763, allocations: 29.7 kB / 386.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.726e-05/0.00783, allocations: 112 kB / 386.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.007857, allocations: 15.86 kB / 386.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/0.007902, allocations: 17.72 kB / 386.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.008012, allocations: 330.8 kB / 387.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.67e-05/0.008078, allocations: 31.97 kB / 387.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.873e-05/0.008137, allocations: 32.23 kB / 387.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.008275, allocations: 76.83 kB / 387.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.008278, allocations: 4 kB / 387.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00019/0.008467, allocations: 105.6 kB / 387.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.008487, allocations: 7.984 kB / 387.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.008492, allocations: 0 / 387.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.008506, allocations: 0 / 387.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.008615, allocations: 19.92 kB / 387.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.008623, allocations: 3.984 kB / 387.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.406e-05/0.008667, allocations: 11.89 kB / 387.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.008675, allocations: 0 / 387.5 MB, free: 10.3 MB / 362.7 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 9.519e-05/0.00877, allocations: 137.8 kB / 387.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.008799, allocations: 7.953 kB / 387.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002711/0.00907, allocations: 130.4 kB / 387.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.009073, allocations: 0 / 387.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.009079, allocations: 4 kB / 387.8 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.009083, allocations: 0 / 387.8 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.009301, allocations: 180.6 kB / 388 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.009303, allocations: 0 / 388 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-05/0.009379, allocations: 15.92 kB / 388 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.009384, allocations: 8 kB / 388 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.009393, allocations: 0 / 388 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.009395, allocations: 256 / 388 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.009397, allocations: 0 / 388 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.009629, allocations: 215.4 kB / 388.2 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.32e-05/0.009653, allocations: 11.94 kB / 388.2 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.009671, allocations: 4 kB / 388.2 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.206e-05/0.009743, allocations: 4 kB / 388.2 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.009785, allocations: 3.984 kB / 388.2 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.009792, allocations: 7.938 kB / 388.2 MB, free: 9.512 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001033/0.009895, allocations: 145.3 kB / 388.4 MB, free: 9.371 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009895, allocations: 0 / 388.4 MB, free: 9.371 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002532/0.01015, allocations: 15.94 kB / 388.4 MB, free: 9.355 MB / 362.7 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.0005203/0.01067, allocations: 0.7397 MB / 389.1 MB, free: 8.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.01086, allocations: 71.89 kB / 389.2 MB, free: 8.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01087, allocations: 0 / 389.2 MB, free: 8.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.919e-05/0.01094, allocations: 43.97 kB / 389.2 MB, free: 8.477 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.01118, allocations: 4 kB / 389.2 MB, free: 8.473 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.01303, allocations: 1.763 MB / 391 MB, free: 6.625 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.01314, allocations: 108.8 kB / 391.1 MB, free: 6.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.749e-05/0.01321, allocations: 19.97 kB / 391.1 MB, free: 6.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.607e-05/0.01327, allocations: 32.48 kB / 391.2 MB, free: 6.449 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01328, allocations: 0 / 391.2 MB, free: 6.449 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01822/0.03149, allocations: 2.955 MB / 394.1 MB, free: 3.59 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.951/6.982, allocations: 13.89 kB / 394.1 MB, free: 3.582 MB / 362.7 MB " [Timeout remaining time 653] (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: 8.863438474945724] Failed to read output from testmodel.py, exit status != 0: 7.060858289711177 7.070859377 7.064044595 Calling exit ...