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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001364/0.001364, allocations: 113.6 kB / 17.78 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 207.9 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.4/1.4, allocations: 227.7 MB / 247.2 MB, free: 10.14 MB / 206.1 MB 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.001934/0.001934, allocations: 67.89 kB / 358.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2806, allocations: 50.54 MB / 409.1 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002446/0.2831, allocations: 1.377 MB / 410.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005675/0.2888, allocations: 4.031 MB / 414.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.915e-05/0.2888, allocations: 0 / 414.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.252e-05/0.2889, allocations: 0 / 414.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009936/0.2899, allocations: 282.9 kB / 414.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.2911, allocations: 0.4968 MB / 415.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.2912, allocations: 51.67 kB / 415.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.547e-05/0.2913, allocations: 7.984 kB / 415.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.2914, allocations: 39.84 kB / 415.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007217/0.2922, allocations: 355.3 kB / 415.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.2922, allocations: 0 / 415.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.2933, allocations: 0.6059 MB / 416.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.2933, allocations: 4 kB / 416.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.843e-05/0.2934, allocations: 23.86 kB / 416.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007901/0.2942, allocations: 454 kB / 416.8 MB, free: 9.598 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2942, allocations: 0 / 416.8 MB, free: 9.598 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.2942, allocations: 7.938 kB / 416.8 MB, free: 9.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.2942, allocations: 0 / 416.8 MB, free: 9.59 MB / 334.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.0005909/0.2948, allocations: 454.3 kB / 417.2 MB, free: 9.098 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.2949, allocations: 12.03 kB / 417.2 MB, free: 9.086 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.509e-05/0.2949, allocations: 30.75 kB / 417.3 MB, free: 9.047 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.2949, allocations: 4.938 kB / 417.3 MB, free: 9.043 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.2952, allocations: 180.3 kB / 417.4 MB, free: 8.828 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.2952, allocations: 12.12 kB / 417.4 MB, free: 8.816 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.2952, allocations: 4 kB / 417.5 MB, free: 8.812 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.2954, allocations: 59.39 kB / 417.5 MB, free: 8.742 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.2954, allocations: 3.938 kB / 417.5 MB, free: 8.738 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.2954, allocations: 4 kB / 417.5 MB, free: 8.734 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.2954, allocations: 4 kB / 417.5 MB, free: 8.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.05e-05/0.2955, allocations: 15.97 kB / 417.5 MB, free: 8.715 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002206/0.2957, allocations: 170.6 kB / 417.7 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.296, allocations: 89.11 kB / 417.8 MB, free: 8.391 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.906e-05/0.2961, allocations: 25.77 kB / 417.8 MB, free: 8.359 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001196/0.2973, allocations: 1.536 MB / 419.4 MB, free: 6.473 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.2974, allocations: 42.5 kB / 419.4 MB, free: 6.422 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.2974, allocations: 0 / 419.4 MB, free: 6.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002964/0.2977, allocations: 85.55 kB / 419.5 MB, free: 6.332 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.2977, allocations: 81.11 kB / 419.6 MB, free: 6.234 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.928e-05/0.2978, allocations: 105.8 kB / 419.7 MB, free: 6.121 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.2979, allocations: 25.7 kB / 419.7 MB, free: 6.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/0.2979, allocations: 88.14 kB / 419.8 MB, free: 6 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/0.298, allocations: 31.78 kB / 419.8 MB, free: 5.969 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.298, allocations: 21.66 kB / 419.8 MB, free: 5.941 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.2982, allocations: 314.8 kB / 420.1 MB, free: 5.625 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.844e-05/0.2982, allocations: 12 kB / 420.1 MB, free: 5.613 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.474e-05/0.2983, allocations: 39.42 kB / 420.2 MB, free: 5.562 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.2985, allocations: 67.7 kB / 420.2 MB, free: 5.484 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.2985, allocations: 3.938 kB / 420.3 MB, free: 5.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001918/0.2987, allocations: 81.56 kB / 420.3 MB, free: 5.395 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.2987, allocations: 8 kB / 420.3 MB, free: 5.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2987, allocations: 3.938 kB / 420.3 MB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2987, allocations: 0 / 420.3 MB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.339e-05/0.2988, allocations: 24.05 kB / 420.4 MB, free: 5.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.801e-05/0.2988, allocations: 11.94 kB / 420.4 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.155e-05/0.2989, allocations: 0 / 420.4 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.2989, allocations: 4 kB / 420.4 MB, free: 5.344 MB / 334.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 8.365e-05/0.299, allocations: 117.8 kB / 420.5 MB, free: 5.219 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.299, allocations: 7.938 kB / 420.5 MB, free: 5.211 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003821/0.2994, allocations: 124.5 kB / 420.6 MB, free: 5.078 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/0.2994, allocations: 0 / 420.6 MB, free: 5.078 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.2994, allocations: 0 / 420.6 MB, free: 5.078 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.2995, allocations: 4 kB / 420.6 MB, free: 5.074 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.2996, allocations: 173.6 kB / 420.8 MB, free: 4.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.2997, allocations: 4 kB / 420.8 MB, free: 4.852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.014e-05/0.2997, allocations: 11.94 kB / 420.8 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.2998, allocations: 3.984 kB / 420.8 MB, free: 4.836 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.2998, allocations: 4 kB / 420.8 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2998, allocations: 4 kB / 420.8 MB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2998, allocations: 0 / 420.8 MB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.3001, allocations: 141.8 kB / 421 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.049e-05/0.3002, allocations: 89.08 kB / 421.1 MB, free: 4.562 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.3002, allocations: 4 kB / 421.1 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.072e-05/0.3002, allocations: 3.984 kB / 421.1 MB, free: 4.555 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.3003, allocations: 12 kB / 421.1 MB, free: 4.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.3003, allocations: 7.938 kB / 421.1 MB, free: 4.535 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.415e-05/0.3004, allocations: 91.27 kB / 421.2 MB, free: 4.445 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3004, allocations: 0 / 421.2 MB, free: 4.445 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004453/0.3008, allocations: 131.5 kB / 421.3 MB, free: 4.316 MB / 334.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.001147/0.302, allocations: 0.8726 MB / 422.2 MB, free: 3.422 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001891/0.3022, allocations: 47.91 kB / 422.2 MB, free: 3.375 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3022, allocations: 0 / 422.2 MB, free: 3.375 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.502e-05/0.3023, allocations: 27.92 kB / 422.2 MB, free: 3.348 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.3025, allocations: 24.09 kB / 422.3 MB, free: 3.324 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.3042, allocations: 1.514 MB / 423.8 MB, free: 1.703 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.3046, allocations: 0.6885 MB / 424.5 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.339e-05/0.3047, allocations: 25.97 kB / 424.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.25e-05/0.3047, allocations: 23.42 kB / 424.5 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of SimCode: time 2.214e-06/0.3047, allocations: 96 / 424.5 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02764/0.3324, allocations: 4.442 MB / 429 MB, free: 12.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.183/8.516, allocations: 8.297 kB / 429 MB, free: 12.69 MB / 350.1 MB (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.0004 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)