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.001728/0.001728, 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.002107/0.002107, 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.467/1.467, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.002012/0.002012, allocations: 72.75 kB / 378.5 MB, free: 3.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.263, allocations: 53.36 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002764/0.2658, allocations: 1.397 MB / 433.3 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.4367/0.7025, allocations: 152.4 MB / 0.572 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.928e-05/0.7025, allocations: 4 kB / 0.572 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 5.169e-05/0.7026, allocations: 7.328 kB / 0.572 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.7039, allocations: 387.2 kB / 0.5724 GB, free: 13.03 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.7052, allocations: 0.5149 MB / 0.5729 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.7053, allocations: 84.41 kB / 0.5729 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.545e-05/0.7053, allocations: 8.141 kB / 0.5729 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.916e-05/0.7054, allocations: 30.56 kB / 0.573 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.532e-05/0.7055, allocations: 38.5 kB / 0.573 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.7055, allocations: 3.281 kB / 0.573 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001987/0.7075, allocations: 1.149 MB / 0.5741 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.651e-05/0.7075, allocations: 20.14 kB / 0.5742 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.86e-05/0.7076, allocations: 25.11 kB / 0.5742 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.7086, allocations: 0.7057 MB / 0.5749 GB, free: 12.76 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.7086, allocations: 0 / 0.5749 GB, free: 12.76 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.7086, allocations: 0 / 0.5749 GB, free: 12.76 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.7086, allocations: 3.938 kB / 0.5749 GB, free: 12.75 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.0006568/0.7093, allocations: 381.7 kB / 0.5752 GB, free: 12.43 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.7093, allocations: 10.44 kB / 0.5752 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.828e-05/0.7094, allocations: 36.22 kB / 0.5753 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004404/0.7098, allocations: 69.84 kB / 0.5753 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.71, allocations: 144.3 kB / 0.5755 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.71, allocations: 7.938 kB / 0.5755 GB, free: 12.24 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.71, allocations: 6.219 kB / 0.5755 GB, free: 12.24 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.7102, allocations: 66.95 kB / 0.5756 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.7102, allocations: 0 / 0.5756 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.7102, allocations: 2.906 kB / 0.5756 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.7102, allocations: 3.938 kB / 0.5756 GB, free: 12.19 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.453e-05/0.7103, allocations: 43.5 kB / 0.5756 GB, free: 12.19 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002157/0.7105, allocations: 170 kB / 0.5758 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.7108, allocations: 117.1 kB / 0.5759 GB, free: 11.97 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.269e-05/0.7109, allocations: 34.86 kB / 0.5759 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004915/0.7114, allocations: 61.03 kB / 0.576 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.7114, allocations: 36.66 kB / 0.576 GB, free: 11.91 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.7114, allocations: 0 / 0.576 GB, free: 11.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003463/0.7118, allocations: 121 kB / 0.5761 GB, free: 11.86 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.7118, allocations: 79.7 kB / 0.5762 GB, free: 11.77 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.712, allocations: 144.3 kB / 0.5763 GB, free: 11.67 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.712, allocations: 26.8 kB / 0.5764 GB, free: 11.64 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.712, allocations: 87.3 kB / 0.5764 GB, free: 11.55 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.7121, allocations: 24.98 kB / 0.5765 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.7121, allocations: 21.59 kB / 0.5765 GB, free: 11.52 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.7123, allocations: 319.7 kB / 0.5768 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.75e-05/0.7123, allocations: 29.77 kB / 0.5768 GB, free: 11.2 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.929e-05/0.7124, allocations: 51.78 kB / 0.5769 GB, free: 11.17 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.7126, allocations: 87.25 kB / 0.577 GB, free: 11.13 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.7126, allocations: 0 / 0.577 GB, free: 11.13 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002489/0.7128, allocations: 106.7 kB / 0.5771 GB, free: 11.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.7128, allocations: 5.781 kB / 0.5771 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.7128, allocations: 3.656 kB / 0.5771 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.7128, allocations: 2.625 kB / 0.5771 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.448e-05/0.7129, allocations: 13.06 kB / 0.5771 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.7129, allocations: 2.25 kB / 0.5771 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.713, allocations: 9.859 kB / 0.5771 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.713, allocations: 12.41 kB / 0.5771 GB, free: 11.08 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 8.727e-05/0.7131, allocations: 118.5 kB / 0.5772 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.128e-05/0.7131, allocations: 4.844 kB / 0.5772 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.7134, allocations: 114.3 kB / 0.5773 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.7134, allocations: 1.203 kB / 0.5773 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.7134, allocations: 4.141 kB / 0.5773 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.7134, allocations: 0.8125 kB / 0.5773 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.7135, allocations: 160 kB / 0.5775 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.7135, allocations: 4 kB / 0.5775 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.659e-05/0.7136, allocations: 11.88 kB / 0.5775 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.7136, allocations: 0 / 0.5775 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.7136, allocations: 12.72 kB / 0.5775 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.7136, allocations: 0 / 0.5775 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.7136, allocations: 0 / 0.5775 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.714, allocations: 166.4 kB / 0.5777 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.392e-05/0.714, allocations: 13.61 kB / 0.5777 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.714, allocations: 3.938 kB / 0.5777 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.319e-05/0.714, allocations: 2.656 kB / 0.5777 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.7141, allocations: 5.203 kB / 0.5777 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.7141, allocations: 8.578 kB / 0.5777 GB, free: 10.65 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.823e-05/0.7142, allocations: 106.7 kB / 0.5778 GB, free: 10.58 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.7142, allocations: 3.062 kB / 0.5778 GB, free: 10.58 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006066/0.7148, allocations: 166.5 kB / 0.578 GB, free: 10.54 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 (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.001433/0.7162, allocations: 1.012 MB / 0.579 GB, free: 9.875 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.7164, allocations: 67.05 kB / 0.579 GB, free: 9.867 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.7164, allocations: 0 / 0.579 GB, free: 9.867 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.606e-05/0.7165, allocations: 36.38 kB / 0.5791 GB, free: 9.863 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.7168, allocations: 20.09 kB / 0.5791 GB, free: 9.863 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.7188, allocations: 1.74 MB / 0.5808 GB, free: 8.559 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.7191, allocations: 0.6922 MB / 0.5815 GB, free: 7.859 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.96e-05/0.7191, allocations: 14.84 kB / 0.5815 GB, free: 7.852 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.63e-05/0.7192, allocations: 21.81 kB / 0.5815 GB, free: 7.844 MB / 462.1 MB Notification: Performance of SimCode: time 4.81e-07/0.7192, allocations: 2.406 kB / 0.5815 GB, free: 7.844 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03349/0.7527, allocations: 6.308 MB / 0.5877 GB, free: 5.195 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.267/9.02, allocations: 6.844 kB / 0.5877 GB, free: 5.191 MB / 462.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.499445277266204] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 9.09849070571363 9.120262634 8.407137093 Calling exit ...