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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001947/0.001947, 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.002189/0.002189, allocations: 213.2 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.512/1.512, allocations: 230.6 MB / 258.3 MB, free: 8.004 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_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"}) [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.001988/0.001988, allocations: 64.77 kB / 378.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2834, allocations: 53.37 MB / 431.9 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002685/0.2861, allocations: 1.381 MB / 433.3 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.4264/0.7124, allocations: 152.1 MB / 0.5716 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.033e-05/0.7125, allocations: 0 / 0.5716 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.336e-05/0.7125, allocations: 6.422 kB / 0.5717 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009384/0.7135, allocations: 250.8 kB / 0.5719 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.7145, allocations: 402.2 kB / 0.5723 GB, free: 13 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.7146, allocations: 57.23 kB / 0.5723 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.7147, allocations: 4.75 kB / 0.5723 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.378e-05/0.7147, allocations: 24.7 kB / 0.5724 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.697e-05/0.7148, allocations: 35.88 kB / 0.5724 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.7148, allocations: 6.781 kB / 0.5724 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.716, allocations: 0.7025 MB / 0.5731 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.716, allocations: 10.48 kB / 0.5731 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.692e-05/0.7161, allocations: 24.59 kB / 0.5731 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007123/0.7168, allocations: 499.2 kB / 0.5736 GB, free: 12.89 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.7168, allocations: 3.141 kB / 0.5736 GB, free: 12.89 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.7168, allocations: 2.938 kB / 0.5736 GB, free: 12.89 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.7168, allocations: 0 / 0.5736 GB, free: 12.89 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.0005888/0.7174, allocations: 356.3 kB / 0.5739 GB, free: 12.58 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.7174, allocations: 14.41 kB / 0.574 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.446e-05/0.7175, allocations: 36.67 kB / 0.574 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.7187, allocations: 103.1 kB / 0.5741 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.719, allocations: 170.1 kB / 0.5743 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.719, allocations: 2.344 kB / 0.5743 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.7191, allocations: 9.719 kB / 0.5743 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.7193, allocations: 92.56 kB / 0.5744 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.7193, allocations: 0 / 0.5744 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.7193, allocations: 7.078 kB / 0.5744 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.7193, allocations: 2.625 kB / 0.5744 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.7195, allocations: 43.08 kB / 0.5744 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.7198, allocations: 184.2 kB / 0.5746 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004921/0.7203, allocations: 129.6 kB / 0.5747 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.7204, allocations: 36.47 kB / 0.5747 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002526/0.7206, allocations: 90.69 kB / 0.5748 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.7207, allocations: 40.66 kB / 0.5749 GB, free: 12.05 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.7207, allocations: 0 / 0.5749 GB, free: 12.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004947/0.7211, allocations: 132.8 kB / 0.575 GB, free: 12.01 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.753e-05/0.7212, allocations: 81.05 kB / 0.5751 GB, free: 11.91 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.7215, allocations: 158.6 kB / 0.5752 GB, free: 11.82 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.7215, allocations: 25.7 kB / 0.5752 GB, free: 11.79 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.7215, allocations: 89.78 kB / 0.5753 GB, free: 11.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/0.7216, allocations: 22.31 kB / 0.5753 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.926e-05/0.7216, allocations: 33.12 kB / 0.5754 GB, free: 11.67 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.7218, allocations: 319.7 kB / 0.5757 GB, free: 11.35 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.7219, allocations: 26.7 kB / 0.5757 GB, free: 11.35 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.722, allocations: 52.36 kB / 0.5758 GB, free: 11.32 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.7222, allocations: 86.12 kB / 0.5758 GB, free: 11.28 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.7222, allocations: 0 / 0.5758 GB, free: 11.28 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003337/0.7226, allocations: 120.2 kB / 0.576 GB, free: 11.24 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.7226, allocations: 5 kB / 0.576 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.7226, allocations: 7.312 kB / 0.576 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.7226, allocations: 0 / 0.576 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.7228, allocations: 31.61 kB / 0.576 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.7228, allocations: 2.781 kB / 0.576 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.723, allocations: 5.391 kB / 0.576 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.723, allocations: 7.953 kB / 0.576 GB, free: 11.23 MB / 462.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.0001246/0.7231, allocations: 117.9 kB / 0.5761 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/0.7232, allocations: 6.734 kB / 0.5761 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006778/0.7238, allocations: 255.3 kB / 0.5764 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.7238, allocations: 6.562 kB / 0.5764 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.7238, allocations: 3.938 kB / 0.5764 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.7238, allocations: 0 / 0.5764 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.7241, allocations: 203.4 kB / 0.5766 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.7241, allocations: 5.203 kB / 0.5766 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.7243, allocations: 21.31 kB / 0.5766 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.7243, allocations: 2.094 kB / 0.5766 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.7243, allocations: 8.641 kB / 0.5766 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.7243, allocations: 0 / 0.5766 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.7243, allocations: 0 / 0.5766 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004584/0.7248, allocations: 180.8 kB / 0.5768 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.7248, allocations: 19.3 kB / 0.5768 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.7249, allocations: 0 / 0.5768 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.725, allocations: 5.594 kB / 0.5768 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.7251, allocations: 10.95 kB / 0.5768 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.7251, allocations: 5.203 kB / 0.5768 GB, free: 10.79 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001586/0.7252, allocations: 129.1 kB / 0.5769 GB, free: 10.71 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.7252, allocations: 0 / 0.5769 GB, free: 10.71 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000564/0.7258, allocations: 138 kB / 0.5771 GB, free: 10.69 MB / 462.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.001226/0.727, allocations: 0.9121 MB / 0.578 GB, free: 10.04 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002773/0.7273, allocations: 75.69 kB / 0.578 GB, free: 10.04 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.7273, allocations: 0 / 0.578 GB, free: 10.04 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.7274, allocations: 37 kB / 0.5781 GB, free: 10.03 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.7276, allocations: 15.45 kB / 0.5781 GB, free: 10.03 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.7303, allocations: 1.792 MB / 0.5798 GB, free: 8.746 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.7307, allocations: 0.6876 MB / 0.5805 GB, free: 8.051 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000579/0.7312, allocations: 445.3 kB / 0.5809 GB, free: 7.996 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.7314, allocations: 47.72 kB / 0.581 GB, free: 7.984 MB / 462.1 MB Notification: Performance of SimCode: time 6.21e-07/0.7314, allocations: 3.156 kB / 0.581 GB, free: 7.984 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04569/0.7771, allocations: 6.658 MB / 0.5875 GB, free: 4.883 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.228/9.005, allocations: 15.36 kB / 0.5875 GB, free: 4.871 MB / 462.1 MB " [Timeout remaining time 651] (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.00019992 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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.494879384990782] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 9.08090609125793 9.108890508 8.386607284 Calling exit ...