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.001895/0.001895, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002347/0.002347, allocations: 214.7 kB / 22.25 MB, free: 4.859 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.434/1.434, allocations: 230.6 MB / 256 MB, free: 7.805 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.01296/0.01296, allocations: 1.238 MB / 313.7 MB, free: 1.695 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.001957/0.001957, allocations: 63.89 kB / 435.6 MB, free: 16.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09635/0.09831, allocations: 53.48 MB / 489.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.HelloWorld): time 0.002679/0.101, allocations: 1.517 MB / 490.6 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00096/0.102, allocations: 0.5104 MB / 491.2 MB, free: 8.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.134e-05/0.102, allocations: 3.938 kB / 491.2 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.1021, allocations: 15.86 kB / 491.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.39e-05/0.1022, allocations: 19.86 kB / 491.2 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.1024, allocations: 39.89 kB / 491.2 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.1025, allocations: 71.77 kB / 491.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.1027, allocations: 19.98 kB / 491.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.1028, allocations: 47.77 kB / 491.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.1029, allocations: 51.77 kB / 491.4 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.1029, allocations: 4 kB / 491.4 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.232e-05/0.103, allocations: 23.98 kB / 491.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.506e-05/0.1031, allocations: 35.91 kB / 491.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.867e-05/0.1031, allocations: 39.67 kB / 491.5 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.1033, allocations: 111.8 kB / 491.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1033, allocations: 0 / 491.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1033, allocations: 0 / 491.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.1033, allocations: 4 kB / 491.6 MB, free: 8.199 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.0006142/0.1039, allocations: 349.7 kB / 492 MB, free: 7.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.104, allocations: 8.031 kB / 492 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.427e-05/0.104, allocations: 34.75 kB / 492 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.1041, allocations: 24.81 kB / 492 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.1044, allocations: 162.3 kB / 492.2 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.1044, allocations: 384 / 492.2 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.1044, allocations: 4.375 kB / 492.2 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.1046, allocations: 104.8 kB / 492.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.1046, allocations: 8 kB / 492.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.1046, allocations: 4 kB / 492.3 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.1046, allocations: 4 kB / 492.3 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.1048, allocations: 75.94 kB / 492.4 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005856/0.1054, allocations: 351.6 kB / 492.7 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.1056, allocations: 82.53 kB / 492.8 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.003e-05/0.1057, allocations: 48.94 kB / 492.9 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.265e-05/0.1057, allocations: 8 kB / 492.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.1058, allocations: 38.5 kB / 492.9 MB, free: 6.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.1058, allocations: 0 / 492.9 MB, free: 6.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003338/0.1061, allocations: 137.6 kB / 493 MB, free: 6.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.1061, allocations: 55.39 kB / 493.1 MB, free: 6.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.1063, allocations: 175.8 kB / 493.3 MB, free: 6.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.1063, allocations: 25.7 kB / 493.3 MB, free: 6.371 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.504e-05/0.1064, allocations: 112.1 kB / 493.4 MB, free: 6.258 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.1064, allocations: 19.78 kB / 493.4 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.1065, allocations: 21.66 kB / 493.4 MB, free: 6.211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1066, allocations: 326.8 kB / 493.8 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.105e-05/0.1067, allocations: 31.98 kB / 493.8 MB, free: 5.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.029e-05/0.1068, allocations: 39.91 kB / 493.8 MB, free: 5.812 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.1069, allocations: 68.83 kB / 493.9 MB, free: 5.742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1069, allocations: 0 / 493.9 MB, free: 5.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001989/0.1071, allocations: 113.6 kB / 494 MB, free: 5.625 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.1071, allocations: 6.812 kB / 494 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.1071, allocations: 0 / 494 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1072, allocations: 4 kB / 494 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.1073, allocations: 15.98 kB / 494 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.1073, allocations: 3.938 kB / 494 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.357e-05/0.1073, allocations: 7.984 kB / 494.1 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.1073, allocations: 0 / 494.1 MB, free: 5.59 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.0001039/0.1074, allocations: 133.8 kB / 494.2 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.1075, allocations: 11.91 kB / 494.2 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.1078, allocations: 126.8 kB / 494.3 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1078, allocations: 0 / 494.3 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1078, allocations: 4 kB / 494.3 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1078, allocations: 8 kB / 494.3 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.108, allocations: 184.7 kB / 494.5 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.108, allocations: 3.938 kB / 494.5 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.194e-05/0.1081, allocations: 11.94 kB / 494.5 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1081, allocations: 3.984 kB / 494.5 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.1081, allocations: 4 kB / 494.5 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1081, allocations: 0 / 494.5 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.1081, allocations: 3.938 kB / 494.5 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.1083, allocations: 203.5 kB / 494.7 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/0.1084, allocations: 19.84 kB / 494.8 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.1084, allocations: 4 kB / 494.8 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.18e-05/0.1085, allocations: 7.984 kB / 494.8 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.1085, allocations: 3.938 kB / 494.8 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.1085, allocations: 7.984 kB / 494.8 MB, free: 4.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.1086, allocations: 134.9 kB / 494.9 MB, free: 4.656 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1086, allocations: 0 / 494.9 MB, free: 4.656 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002306/0.1089, allocations: 12 kB / 494.9 MB, free: 4.645 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.0005755/0.1094, allocations: 0.7436 MB / 495.7 MB, free: 3.875 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.1096, allocations: 75.95 kB / 495.7 MB, free: 3.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1096, allocations: 0 / 495.7 MB, free: 3.801 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.323e-05/0.1097, allocations: 35.92 kB / 495.8 MB, free: 3.766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.1099, allocations: 11.94 kB / 495.8 MB, free: 3.754 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.1119, allocations: 1.765 MB / 497.6 MB, free: 1.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.112, allocations: 104.1 kB / 497.7 MB, free: 1.789 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.725e-05/0.112, allocations: 15.98 kB / 497.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.071e-05/0.1121, allocations: 27.44 kB / 497.7 MB, free: 1.746 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1121, allocations: 0 / 497.7 MB, free: 1.746 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02831/0.1404, allocations: 2.828 MB / 0.4888 GB, free: 15.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.19, allocations: 9.109 kB / 0.4888 GB, free: 15.03 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 & /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: 13.704292302019894] Failed to read output from testmodel.py, exit status != 0: 11.298957482911646 11.328696345000001 11.219821148 Calling exit ...