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_TX.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.001282/0.001282, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.00153/0.00153, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.448/1.448, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.Inverse_sh_TX,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",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.002008/0.002008, allocations: 67.84 kB / 373.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1053, allocations: 53.33 MB / 427 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002875/0.1082, allocations: 1.389 MB / 428.4 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3917/0.4999, allocations: 152.4 MB / 0.5671 GB, free: 6.73 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.643e-05/0.5, allocations: 0 / 0.5671 GB, free: 6.73 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.162e-05/0.5, allocations: 7.922 kB / 0.5671 GB, free: 6.723 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.5013, allocations: 378.4 kB / 0.5675 GB, free: 6.352 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.5027, allocations: 0.5167 MB / 0.568 GB, free: 5.84 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.5029, allocations: 75.69 kB / 0.5681 GB, free: 5.766 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.625e-05/0.5029, allocations: 0 / 0.5681 GB, free: 5.766 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.407e-05/0.503, allocations: 35.84 kB / 0.5681 GB, free: 5.73 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.5e-05/0.5031, allocations: 36.59 kB / 0.5682 GB, free: 5.695 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.5031, allocations: 4 kB / 0.5682 GB, free: 5.691 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002086/0.5052, allocations: 1.136 MB / 0.5693 GB, free: 4.555 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.622e-05/0.5052, allocations: 19.86 kB / 0.5693 GB, free: 4.535 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.35e-05/0.5053, allocations: 23.88 kB / 0.5693 GB, free: 4.512 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.5067, allocations: 0.698 MB / 0.57 GB, free: 3.816 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5067, allocations: 0 / 0.57 GB, free: 3.816 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5067, allocations: 0 / 0.57 GB, free: 3.816 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.5067, allocations: 1.125 kB / 0.57 GB, free: 3.816 MB / 478.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.0008073/0.5075, allocations: 470.2 kB / 0.5704 GB, free: 3.309 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.5075, allocations: 12.03 kB / 0.5704 GB, free: 3.297 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.491e-05/0.5076, allocations: 30.75 kB / 0.5705 GB, free: 3.258 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005208/0.5081, allocations: 68.81 kB / 0.5705 GB, free: 3.191 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.5083, allocations: 204 kB / 0.5707 GB, free: 2.953 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.5083, allocations: 0 / 0.5707 GB, free: 2.953 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.5083, allocations: 4 kB / 0.5707 GB, free: 2.949 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.5085, allocations: 75.33 kB / 0.5708 GB, free: 2.863 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.5085, allocations: 0 / 0.5708 GB, free: 2.863 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.5085, allocations: 4 kB / 0.5708 GB, free: 2.859 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.5085, allocations: 0 / 0.5708 GB, free: 2.859 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.5087, allocations: 47.06 kB / 0.5709 GB, free: 2.816 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002367/0.5089, allocations: 194.5 kB / 0.571 GB, free: 2.574 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.5092, allocations: 117 kB / 0.5712 GB, free: 2.441 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.707e-05/0.5093, allocations: 33.77 kB / 0.5712 GB, free: 2.402 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005087/0.5098, allocations: 145 kB / 0.5713 GB, free: 2.242 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.5098, allocations: 34.5 kB / 0.5714 GB, free: 2.199 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.5098, allocations: 0 / 0.5714 GB, free: 2.199 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003724/0.5102, allocations: 117.5 kB / 0.5715 GB, free: 2.078 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.5103, allocations: 81.11 kB / 0.5716 GB, free: 1.98 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.5104, allocations: 141.8 kB / 0.5717 GB, free: 1.832 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.5104, allocations: 29.7 kB / 0.5717 GB, free: 1.797 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.5105, allocations: 88.14 kB / 0.5718 GB, free: 1.707 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.5105, allocations: 23.8 kB / 0.5718 GB, free: 1.684 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.5105, allocations: 21.7 kB / 0.5718 GB, free: 1.656 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5107, allocations: 318.8 kB / 0.5721 GB, free: 1.336 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.254e-05/0.5108, allocations: 23.98 kB / 0.5722 GB, free: 1.312 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.919e-05/0.5108, allocations: 51.78 kB / 0.5722 GB, free: 1.25 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.511, allocations: 87.33 kB / 0.5723 GB, free: 1.152 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.511, allocations: 0 / 0.5723 GB, free: 1.152 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002537/0.5113, allocations: 105.5 kB / 0.5724 GB, free: 1.043 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.5113, allocations: 4 kB / 0.5724 GB, free: 1.039 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.5113, allocations: 8.062 kB / 0.5724 GB, free: 1.031 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.5113, allocations: 0 / 0.5724 GB, free: 1.031 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.244e-05/0.5114, allocations: 19.92 kB / 0.5724 GB, free: 1.012 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.5114, allocations: 4 kB / 0.5724 GB, free: 1.008 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.788e-05/0.5114, allocations: 7.953 kB / 0.5724 GB, free: 1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.5114, allocations: 4 kB / 0.5725 GB, free: 0.9961 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 9.247e-05/0.5115, allocations: 121.8 kB / 0.5726 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.963e-05/0.5116, allocations: 4 kB / 0.5726 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.5118, allocations: 116.6 kB / 0.5727 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.5118, allocations: 0 / 0.5727 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.5118, allocations: 3.938 kB / 0.5727 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5118, allocations: 0 / 0.5727 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.512, allocations: 189.5 kB / 0.5729 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.512, allocations: 5.562 kB / 0.5729 GB, free: 0.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.845e-05/0.5121, allocations: 15.88 kB / 0.5729 GB, free: 496 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.5121, allocations: 0 / 0.5729 GB, free: 496 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.5121, allocations: 4 kB / 0.5729 GB, free: 492 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.5121, allocations: 0 / 0.5729 GB, free: 492 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5121, allocations: 7.984 kB / 0.5729 GB, free: 484 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.5125, allocations: 161.8 kB / 0.5731 GB, free: 300 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.157e-05/0.5125, allocations: 85.09 kB / 0.5731 GB, free: 196 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.5125, allocations: 4.031 kB / 0.5731 GB, free: 192 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.087e-05/0.5126, allocations: 1.875 kB / 0.5731 GB, free: 192 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.5126, allocations: 12.05 kB / 0.5732 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.5126, allocations: 8 kB / 0.5732 GB, free: 172 kB / 478.1 MB Notification: Performance of sorting global known variables: time 9.08e-05/0.5127, allocations: 111.8 kB / 0.5733 GB, free: 60 kB / 478.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.5127, allocations: 0 / 0.5733 GB, free: 60 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006188/0.5133, allocations: 167.5 kB / 0.5734 GB, free: 15.89 MB / 494.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 (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.001514/0.5149, allocations: 1.012 MB / 0.5744 GB, free: 14.85 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.5151, allocations: 63.89 kB / 0.5745 GB, free: 14.79 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5151, allocations: 0 / 0.5745 GB, free: 14.79 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.841e-05/0.5151, allocations: 31.92 kB / 0.5745 GB, free: 14.76 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.5154, allocations: 24.84 kB / 0.5745 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.5175, allocations: 1.74 MB / 0.5762 GB, free: 12.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.5178, allocations: 0.6885 MB / 0.5769 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.552e-05/0.5179, allocations: 12.11 kB / 0.5769 GB, free: 12.17 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.358e-05/0.518, allocations: 27.42 kB / 0.5769 GB, free: 12.14 MB / 494.1 MB Notification: Performance of SimCode: time 6.21e-07/0.518, allocations: 0 / 0.5769 GB, free: 12.14 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03411/0.5521, allocations: 6.293 MB / 0.5831 GB, free: 6.004 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.201/8.753, allocations: 7.375 kB / 0.5831 GB, free: 6 MB / 494.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_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_Inverse_sh_TX.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.22246228903532] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 8.845246659126133 8.859802879 8.350020245 Calling exit ...