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.0008376/0.0008376, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009937/0.0009937, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9328/0.9328, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.01022/0.01022, allocations: 1.119 MB / 260.3 MB, free: 12.16 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.603e-06/1.603e-06, allocations: 0 / 382.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.25e-05, allocations: 5.094 kB / 382.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.HelloWorld): time 0.002103/0.002125, allocations: 1.521 MB / 383.9 MB, free: 14 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007641/0.002889, allocations: 0.5143 MB / 384.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.556e-05/0.002965, allocations: 7.938 kB / 384.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001512/0.003116, allocations: 19.8 kB / 384.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 8.094e-05/0.003197, allocations: 19.86 kB / 384.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.00348, allocations: 43.83 kB / 384.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.003617, allocations: 71.77 kB / 384.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.003789, allocations: 23.97 kB / 384.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.00399, allocations: 59.69 kB / 384.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.004119, allocations: 43.89 kB / 384.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.00414, allocations: 4 kB / 384.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.745e-05/0.004208, allocations: 27.97 kB / 384.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.346e-05/0.004271, allocations: 35.84 kB / 384.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.004311, allocations: 23.92 kB / 384.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.004503, allocations: 111.7 kB / 384.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.004508, allocations: 4 kB / 384.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.004509, allocations: 0 / 384.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.004516, allocations: 7.938 kB / 384.9 MB, free: 12.98 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.0007274/0.005244, allocations: 337.8 kB / 385.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.005299, allocations: 8.031 kB / 385.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.38e-05/0.005343, allocations: 38.75 kB / 385.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.005479, allocations: 20.81 kB / 385.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.005724, allocations: 162.5 kB / 385.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.005738, allocations: 4.375 kB / 385.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.005753, allocations: 12.34 kB / 385.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.005934, allocations: 98.22 kB / 385.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.005943, allocations: 192 / 385.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.005955, allocations: 4.125 kB / 385.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.005974, allocations: 7.984 kB / 385.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.006093, allocations: 79.95 kB / 385.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.006539, allocations: 343.7 kB / 386 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.006682, allocations: 78.55 kB / 386.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.582e-05/0.006738, allocations: 44.95 kB / 386.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.054e-05/0.006829, allocations: 8 kB / 386.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.006851, allocations: 42.44 kB / 386.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.006852, allocations: 0 / 386.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002616/0.007114, allocations: 141.6 kB / 386.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.007151, allocations: 55.41 kB / 386.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.007265, allocations: 169.4 kB / 386.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.007276, allocations: 25.7 kB / 386.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.915e-05/0.007325, allocations: 112 kB / 386.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.007348, allocations: 19.84 kB / 386.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.007513, allocations: 25.72 kB / 386.7 MB, free: 11.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.114e-05/0.007594, allocations: 326.8 kB / 387 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.71e-05/0.007641, allocations: 28.23 kB / 387 MB, free: 10.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.084e-05/0.007682, allocations: 39.91 kB / 387.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.211e-05/0.007774, allocations: 76.83 kB / 387.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.007776, allocations: 0 / 387.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001202/0.007897, allocations: 105.6 kB / 387.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.00791, allocations: 4 kB / 387.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.007915, allocations: 0 / 387.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.007926, allocations: 4 kB / 387.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.212e-05/0.008008, allocations: 15.98 kB / 387.3 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.008014, allocations: 0 / 387.3 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.95e-05/0.008044, allocations: 19.88 kB / 387.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.00805, allocations: 3.938 kB / 387.3 MB, free: 10.38 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 7.928e-05/0.00813, allocations: 134.4 kB / 387.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.008147, allocations: 7.953 kB / 387.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.008334, allocations: 126.4 kB / 387.6 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.008338, allocations: 4 kB / 387.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.008342, allocations: 4 kB / 387.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.008347, allocations: 3.984 kB / 387.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.008495, allocations: 180.6 kB / 387.7 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.008496, allocations: 3.938 kB / 387.7 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.25e-05/0.008539, allocations: 11.98 kB / 387.8 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.008542, allocations: 4 kB / 387.8 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.008549, allocations: 4.188 kB / 387.8 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.00855, allocations: 0 / 387.8 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.008552, allocations: 4 kB / 387.8 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.008708, allocations: 211.4 kB / 388 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.402e-05/0.008722, allocations: 15.89 kB / 388 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.008737, allocations: 0 / 388 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.18e-05/0.008779, allocations: 7.984 kB / 388 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.008809, allocations: 3.984 kB / 388 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.008814, allocations: 8 kB / 388 MB, free: 9.582 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.964e-05/0.008884, allocations: 134 kB / 388.1 MB, free: 9.453 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008884, allocations: 0 / 388.1 MB, free: 9.453 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001615/0.009046, allocations: 19.94 kB / 388.2 MB, free: 9.434 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.0004065/0.009452, allocations: 0.7435 MB / 388.9 MB, free: 8.664 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.009608, allocations: 75.95 kB / 389 MB, free: 8.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.00961, allocations: 0 / 389 MB, free: 8.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.491e-05/0.009665, allocations: 43.91 kB / 389 MB, free: 8.547 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.00985, allocations: 4 kB / 389 MB, free: 8.543 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.01155, allocations: 1.764 MB / 390.8 MB, free: 6.695 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.125e-05/0.01163, allocations: 108.1 kB / 390.9 MB, free: 6.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.109e-05/0.01168, allocations: 19.97 kB / 390.9 MB, free: 6.551 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.01174, allocations: 32.48 kB / 390.9 MB, free: 6.52 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01174, allocations: 0 / 390.9 MB, free: 6.52 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.02876, allocations: 2.967 MB / 393.9 MB, free: 3.66 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.531/6.56, allocations: 4.281 kB / 393.9 MB, free: 3.66 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 & /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: 8.347935152240098] Failed to read output from testmodel.py, exit status != 0: 6.640638423152268 6.649038705 6.642855581 Calling exit ...