Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_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.Inverse_sh_T,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_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.001676/0.001676, allocations: 122.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002013/0.002013, allocations: 202 kB / 18.74 MB, free: 4.332 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.445/1.445, allocations: 227.7 MB / 247.2 MB, free: 10.21 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.00192/0.00192, allocations: 59.91 kB / 358.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2598, allocations: 50.55 MB / 409.1 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002424/0.2623, allocations: 1.37 MB / 410.4 MB, free: 36 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.4212/0.6836, allocations: 151.6 MB / 0.5489 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.234e-05/0.6837, allocations: 1.094 kB / 0.5489 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.088e-05/0.6837, allocations: 7.016 kB / 0.5489 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008862/0.6846, allocations: 235.1 kB / 0.5491 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.6858, allocations: 398.5 kB / 0.5495 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.029e-05/0.6859, allocations: 56.16 kB / 0.5495 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.093e-05/0.6859, allocations: 2.625 kB / 0.5495 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.569e-05/0.686, allocations: 28.78 kB / 0.5495 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.645e-05/0.686, allocations: 27.33 kB / 0.5496 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.6861, allocations: 3.531 kB / 0.5496 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009948/0.6871, allocations: 0.6735 MB / 0.5502 GB, free: 1.438 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.6871, allocations: 9.672 kB / 0.5502 GB, free: 1.438 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.6871, allocations: 23.69 kB / 0.5503 GB, free: 1.438 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006632/0.6878, allocations: 0.4956 MB / 0.5508 GB, free: 1.41 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6878, allocations: 0 / 0.5508 GB, free: 1.41 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.6878, allocations: 0 / 0.5508 GB, free: 1.41 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.6878, allocations: 0.875 kB / 0.5508 GB, free: 1.41 MB / 462.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.0006412/0.6885, allocations: 434 kB / 0.5512 GB, free: 17.01 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.6885, allocations: 10.19 kB / 0.5512 GB, free: 17.01 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.721e-05/0.6886, allocations: 33.75 kB / 0.5512 GB, free: 16.97 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.6898, allocations: 108.7 kB / 0.5513 GB, free: 16.97 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.6901, allocations: 227.8 kB / 0.5515 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.6901, allocations: 0.875 kB / 0.5515 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.6901, allocations: 2.562 kB / 0.5515 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.6903, allocations: 94.16 kB / 0.5516 GB, free: 16.71 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.6904, allocations: 1.094 kB / 0.5516 GB, free: 16.71 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.6904, allocations: 5.406 kB / 0.5516 GB, free: 16.71 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.6904, allocations: 4.031 kB / 0.5516 GB, free: 16.71 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.6906, allocations: 39.42 kB / 0.5517 GB, free: 16.71 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002367/0.6908, allocations: 214.9 kB / 0.5519 GB, free: 16.51 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/0.6912, allocations: 122.3 kB / 0.552 GB, free: 16.46 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.6913, allocations: 38.89 kB / 0.552 GB, free: 16.45 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007324/0.6921, allocations: 0.9833 MB / 0.553 GB, free: 15.32 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.6921, allocations: 42.17 kB / 0.553 GB, free: 15.29 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.6921, allocations: 2.141 kB / 0.553 GB, free: 15.29 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004872/0.6926, allocations: 127.8 kB / 0.5532 GB, free: 15.25 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.6927, allocations: 83.16 kB / 0.5532 GB, free: 15.16 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.6929, allocations: 154.7 kB / 0.5534 GB, free: 15.06 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.6929, allocations: 25.7 kB / 0.5534 GB, free: 15.03 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.184e-05/0.693, allocations: 90.75 kB / 0.5535 GB, free: 14.95 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.693, allocations: 22.92 kB / 0.5535 GB, free: 14.93 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/0.6931, allocations: 33.95 kB / 0.5535 GB, free: 14.91 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.6932, allocations: 319.6 kB / 0.5538 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.641e-05/0.6933, allocations: 29.8 kB / 0.5539 GB, free: 14.59 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.6934, allocations: 58.81 kB / 0.5539 GB, free: 14.56 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.6936, allocations: 83.97 kB / 0.554 GB, free: 14.53 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6937, allocations: 0.5938 kB / 0.554 GB, free: 14.53 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000312/0.694, allocations: 121.6 kB / 0.5541 GB, free: 14.49 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.694, allocations: 6.062 kB / 0.5541 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.694, allocations: 3.406 kB / 0.5541 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.694, allocations: 0.8438 kB / 0.5541 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.6942, allocations: 31.14 kB / 0.5542 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.6942, allocations: 0.9062 kB / 0.5542 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.6944, allocations: 7.031 kB / 0.5542 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.6944, allocations: 11.19 kB / 0.5542 GB, free: 14.49 MB / 478.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 0.0001069/0.6945, allocations: 117.1 kB / 0.5543 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.6945, allocations: 12.92 kB / 0.5543 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006002/0.6952, allocations: 232.5 kB / 0.5545 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.6952, allocations: 3.844 kB / 0.5545 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.6952, allocations: 0 / 0.5545 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.6952, allocations: 3.562 kB / 0.5545 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.6954, allocations: 222.6 kB / 0.5548 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.6954, allocations: 2.5 kB / 0.5548 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.6956, allocations: 28.47 kB / 0.5548 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.6956, allocations: 0.9688 kB / 0.5548 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.6956, allocations: 6.469 kB / 0.5548 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.6956, allocations: 1.203 kB / 0.5548 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.6956, allocations: 0.625 kB / 0.5548 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004007/0.696, allocations: 177.8 kB / 0.555 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.857e-05/0.6961, allocations: 93.31 kB / 0.555 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.6962, allocations: 4.438 kB / 0.5551 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.6963, allocations: 6.625 kB / 0.5551 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.6964, allocations: 7.234 kB / 0.5551 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.6964, allocations: 4.953 kB / 0.5551 GB, free: 13.95 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001613/0.6966, allocations: 131.4 kB / 0.5552 GB, free: 13.88 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6966, allocations: 1.203 kB / 0.5552 GB, free: 13.88 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005127/0.6971, allocations: 134.8 kB / 0.5553 GB, free: 13.85 MB / 478.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 (8): * Single equations (assignments): 7 * 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.00136/0.6985, allocations: 0.938 MB / 0.5562 GB, free: 13.21 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000284/0.6988, allocations: 74.83 kB / 0.5563 GB, free: 13.21 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.6988, allocations: 0 / 0.5563 GB, free: 13.21 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.6989, allocations: 41.38 kB / 0.5564 GB, free: 13.21 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.6991, allocations: 11.59 kB / 0.5564 GB, free: 13.21 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.7015, allocations: 1.804 MB / 0.5581 GB, free: 12 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.7019, allocations: 0.6882 MB / 0.5588 GB, free: 11.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005196/0.7024, allocations: 440.9 kB / 0.5592 GB, free: 11.27 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.7025, allocations: 48.02 kB / 0.5593 GB, free: 11.27 MB / 478.1 MB Notification: Performance of SimCode: time 5.21e-07/0.7025, allocations: 0 / 0.5593 GB, free: 11.27 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/0.7316, allocations: 6.644 MB / 0.5658 GB, free: 10.49 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.199/8.931, allocations: 19.8 kB / 0.5658 GB, free: 10.47 MB / 478.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_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_Inverse_sh_T.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1)