Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001689/0.001689, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002077/0.002077, allocations: 205.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 230.5 MB / 257.4 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 63.89 kB / 377.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2764, allocations: 53.41 MB / 431.1 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002488/0.2789, allocations: 1.339 MB / 432.5 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005738/0.2846, allocations: 3.737 MB / 436.2 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.302e-05/0.2847, allocations: 3.938 kB / 436.2 MB, free: 1.332 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.281e-05/0.2847, allocations: 3.938 kB / 436.2 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001315/0.286, allocations: 294.9 kB / 436.5 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.2875, allocations: 0.5167 MB / 437 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.2876, allocations: 51.73 kB / 437.1 MB, free: 488 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.2876, allocations: 7.938 kB / 437.1 MB, free: 480 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.2878, allocations: 35.89 kB / 437.1 MB, free: 444 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007211/0.2885, allocations: 375.2 kB / 437.5 MB, free: 68 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.2885, allocations: 4 kB / 437.5 MB, free: 64 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.2896, allocations: 0.5341 MB / 438 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.2896, allocations: 7.938 kB / 438 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.2897, allocations: 19.94 kB / 438.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000802/0.2905, allocations: 436.8 kB / 438.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2905, allocations: 0 / 438.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2905, allocations: 0 / 438.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.2905, allocations: 0 / 438.5 MB, free: 15.07 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006457/0.2911, allocations: 373.2 kB / 438.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.2912, allocations: 11.98 kB / 438.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.653e-05/0.2912, allocations: 34.69 kB / 438.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.2913, allocations: 4.938 kB / 438.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.2915, allocations: 130.5 kB / 439 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.2916, allocations: 16.12 kB / 439 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.2916, allocations: 0 / 439 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.2918, allocations: 63.39 kB / 439.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.2918, allocations: 0 / 439.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.2918, allocations: 0 / 439.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.2918, allocations: 4 kB / 439.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.757e-05/0.2919, allocations: 23.91 kB / 439.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000225/0.2921, allocations: 141.7 kB / 439.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/0.2924, allocations: 85 kB / 439.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.542e-05/0.2925, allocations: 29.77 kB / 439.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003678/0.2928, allocations: 115.9 kB / 439.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/0.2929, allocations: 38.56 kB / 439.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.2929, allocations: 0 / 439.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003056/0.2932, allocations: 85.53 kB / 439.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/0.2933, allocations: 81.11 kB / 439.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.2934, allocations: 109.8 kB / 439.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.2934, allocations: 25.7 kB / 439.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.2934, allocations: 84.14 kB / 439.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.702e-05/0.2935, allocations: 27.78 kB / 439.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.2935, allocations: 25.72 kB / 440 MB, free: 13.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.2937, allocations: 314.8 kB / 440.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.204e-05/0.2938, allocations: 15.98 kB / 440.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.558e-05/0.2938, allocations: 43.36 kB / 440.3 MB, free: 13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.294, allocations: 55.36 kB / 440.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.294, allocations: 7.875 kB / 440.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001879/0.2942, allocations: 85.56 kB / 440.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.2942, allocations: 8 kB / 440.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2942, allocations: 0 / 440.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2942, allocations: 0 / 440.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.807e-05/0.2943, allocations: 15.98 kB / 440.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.2943, allocations: 4 kB / 440.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.28e-05/0.2943, allocations: 4 kB / 440.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.2943, allocations: 8.453 kB / 440.5 MB, free: 12.8 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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.979e-05/0.2944, allocations: 117.8 kB / 440.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.2945, allocations: 11.95 kB / 440.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003832/0.2948, allocations: 120.5 kB / 440.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.2949, allocations: 4 kB / 440.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2949, allocations: 0 / 440.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2949, allocations: 0 / 440.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.295, allocations: 148.7 kB / 440.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.295, allocations: 0 / 440.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.576e-05/0.2951, allocations: 16 kB / 440.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2951, allocations: 0 / 440.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.2951, allocations: 0 / 440.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.2951, allocations: 11.94 kB / 440.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.2951, allocations: 3.984 kB / 440.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.2954, allocations: 150.4 kB / 441.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.761e-05/0.2955, allocations: 7.938 kB / 441.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.2955, allocations: 7.938 kB / 441.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.954e-05/0.2955, allocations: 4 kB / 441.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.2956, allocations: 12.03 kB / 441.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.2956, allocations: 8 kB / 441.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.272e-05/0.2956, allocations: 91.27 kB / 441.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2956, allocations: 0 / 441.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004065/0.296, allocations: 131.5 kB / 441.3 MB, free: 11.89 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0009861/0.297, allocations: 0.8541 MB / 442.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.2972, allocations: 47.91 kB / 442.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2972, allocations: 0 / 442.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.549e-05/0.2973, allocations: 28.05 kB / 442.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.2975, allocations: 26.78 kB / 442.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.2993, allocations: 1.521 MB / 443.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.082e-05/0.2994, allocations: 75.98 kB / 443.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.234e-05/0.2995, allocations: 19.48 kB / 443.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.973e-05/0.2995, allocations: 31.41 kB / 443.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2995, allocations: 4 kB / 443.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03445/0.334, allocations: 4.947 MB / 448.9 MB, free: 4.324 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.54, allocations: 18.7 kB / 448.9 MB, free: 4.309 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.102015974000096] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 11.651208533905447 11.668323907 11.374519955 Calling exit ...