Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001671/0.001671, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001732/0.001732, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.44/1.44, allocations: 230.6 MB / 258.3 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 71.88 kB / 378.5 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2684, allocations: 53.36 MB / 431.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002475/0.2709, allocations: 1.377 MB / 433.3 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005715/0.2766, allocations: 4.107 MB / 437.4 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.492e-05/0.2767, allocations: 0 / 437.4 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.252e-05/0.2767, allocations: 3.938 kB / 437.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.2779, allocations: 294.9 kB / 437.7 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.2792, allocations: 0.516 MB / 438.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.2793, allocations: 59.66 kB / 438.3 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.2793, allocations: 7.984 kB / 438.3 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.2794, allocations: 31.86 kB / 438.3 MB, free: 496 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007758/0.2802, allocations: 371.3 kB / 438.7 MB, free: 124 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.2802, allocations: 4 kB / 438.7 MB, free: 120 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.2815, allocations: 0.6473 MB / 439.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.2815, allocations: 7.969 kB / 439.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.236e-05/0.2816, allocations: 27.88 kB / 439.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007881/0.2824, allocations: 459.8 kB / 439.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2824, allocations: 0 / 439.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2824, allocations: 0 / 439.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.2824, allocations: 0 / 439.8 MB, free: 14.99 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.0006167/0.283, allocations: 373.2 kB / 440.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.283, allocations: 12.03 kB / 440.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.605e-05/0.2831, allocations: 34.75 kB / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.2831, allocations: 8.891 kB / 440.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.2833, allocations: 130.5 kB / 440.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.2833, allocations: 4.125 kB / 440.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.2834, allocations: 4 kB / 440.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.2835, allocations: 63.33 kB / 440.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2835, allocations: 0 / 440.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.2835, allocations: 4 kB / 440.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2835, allocations: 3.984 kB / 440.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.891e-05/0.2836, allocations: 19.98 kB / 440.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001979/0.2838, allocations: 145.7 kB / 440.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.2841, allocations: 77.06 kB / 440.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.642e-05/0.2842, allocations: 25.77 kB / 440.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003676/0.2846, allocations: 123.9 kB / 440.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.2846, allocations: 38.5 kB / 440.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.2846, allocations: 0 / 440.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002987/0.2849, allocations: 81.61 kB / 440.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.285, allocations: 85.03 kB / 441 MB, free: 13.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.869e-05/0.2851, allocations: 109.8 kB / 441.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.2851, allocations: 33.7 kB / 441.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.2851, allocations: 80.14 kB / 441.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.2852, allocations: 23.8 kB / 441.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.2852, allocations: 21.7 kB / 441.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2854, allocations: 318.8 kB / 441.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.875e-05/0.2854, allocations: 11.98 kB / 441.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.782e-05/0.2855, allocations: 39.42 kB / 441.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.2856, allocations: 59.36 kB / 441.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.2856, allocations: 11.88 kB / 441.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001973/0.2858, allocations: 89.55 kB / 441.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.2858, allocations: 4.062 kB / 441.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2858, allocations: 4 kB / 441.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.2859, allocations: 4 kB / 441.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.122e-05/0.2859, allocations: 20.39 kB / 441.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2859, allocations: 0 / 441.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.214e-05/0.286, allocations: 4 kB / 441.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.286, allocations: 0 / 441.8 MB, free: 12.72 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.048e-05/0.2861, allocations: 117.8 kB / 441.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.2861, allocations: 7.953 kB / 441.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003878/0.2865, allocations: 135 kB / 442.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.2865, allocations: 3.938 kB / 442.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.2865, allocations: 7.922 kB / 442.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2865, allocations: 0 / 442.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.2866, allocations: 140.7 kB / 442.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2866, allocations: 4 kB / 442.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.997e-05/0.2867, allocations: 15.98 kB / 442.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2867, allocations: 4 kB / 442.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.2867, allocations: 4 kB / 442.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2867, allocations: 0 / 442.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2867, allocations: 0 / 442.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.287, allocations: 150.2 kB / 442.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.98e-05/0.2871, allocations: 15.97 kB / 442.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.2871, allocations: 8.062 kB / 442.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.78e-05/0.2871, allocations: 0 / 442.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.2872, allocations: 7.984 kB / 442.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.2872, allocations: 4 kB / 442.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.58e-05/0.2872, allocations: 91.33 kB / 442.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2872, allocations: 0 / 442.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000457/0.2877, allocations: 135.5 kB / 442.7 MB, free: 11.81 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.001024/0.2887, allocations: 0.8588 MB / 443.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.2889, allocations: 43.91 kB / 443.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2889, allocations: 0 / 443.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.964e-05/0.289, allocations: 27.98 kB / 443.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.2892, allocations: 16.11 kB / 443.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.291, allocations: 1.523 MB / 445.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.2913, allocations: 0.6885 MB / 445.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.954e-05/0.2914, allocations: 31.62 kB / 445.8 MB, free: 8.461 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.486e-05/0.2915, allocations: 23.52 kB / 445.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2915, allocations: 3.938 kB / 445.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03301/0.3245, allocations: 4.419 MB / 450.3 MB, free: 4.145 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.347/8.672, allocations: 9.047 kB / 450.3 MB, free: 4.141 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_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_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.100284842774272] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 8.74258063081652 8.762917616 8.475449815 Calling exit ...