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.001861/0.001861, allocations: 120 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.002277/0.002277, allocations: 213.6 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.518/1.518, allocations: 230.5 MB / 254.8 MB, free: 15.1 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.001977/0.001977, allocations: 71.81 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09665/0.09863, allocations: 53.33 MB / 427 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002409/0.101, allocations: 1.383 MB / 428.4 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3701/0.4712, allocations: 152 MB / 0.5668 GB, free: 7.012 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.618e-05/0.4712, allocations: 4 kB / 0.5668 GB, free: 7.008 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.103e-05/0.4712, allocations: 7.922 kB / 0.5668 GB, free: 7 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009472/0.4722, allocations: 236.2 kB / 0.567 GB, free: 6.773 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.4732, allocations: 401.4 kB / 0.5674 GB, free: 6.387 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.4733, allocations: 59.72 kB / 0.5675 GB, free: 6.328 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.619e-05/0.4734, allocations: 0 / 0.5675 GB, free: 6.328 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.519e-05/0.4734, allocations: 23.91 kB / 0.5675 GB, free: 6.305 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.763e-05/0.4735, allocations: 35.86 kB / 0.5675 GB, free: 6.27 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.4735, allocations: 0 / 0.5675 GB, free: 6.27 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001222/0.4748, allocations: 0.7057 MB / 0.5682 GB, free: 5.562 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.4748, allocations: 5.406 kB / 0.5682 GB, free: 5.559 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.4748, allocations: 19.88 kB / 0.5683 GB, free: 5.539 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007971/0.4756, allocations: 499.4 kB / 0.5687 GB, free: 5.055 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4756, allocations: 0 / 0.5687 GB, free: 5.055 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4756, allocations: 3.938 kB / 0.5687 GB, free: 5.051 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.4756, allocations: 0 / 0.5687 GB, free: 5.051 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.0006176/0.4762, allocations: 442.5 kB / 0.5692 GB, free: 4.57 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.4763, allocations: 12.03 kB / 0.5692 GB, free: 4.559 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.956e-05/0.4763, allocations: 30.75 kB / 0.5692 GB, free: 4.52 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/0.4776, allocations: 104.8 kB / 0.5693 GB, free: 4.418 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.4779, allocations: 227.8 kB / 0.5695 GB, free: 4.156 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.478, allocations: 8 kB / 0.5695 GB, free: 4.148 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.478, allocations: 4 kB / 0.5695 GB, free: 4.145 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.4782, allocations: 87.33 kB / 0.5696 GB, free: 4.047 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.4782, allocations: 0 / 0.5696 GB, free: 4.047 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.4782, allocations: 8.969 kB / 0.5696 GB, free: 4.039 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.4782, allocations: 0 / 0.5696 GB, free: 4.039 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.4784, allocations: 39.95 kB / 0.5697 GB, free: 4 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002767/0.4787, allocations: 218.9 kB / 0.5699 GB, free: 3.734 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000503/0.4792, allocations: 117.1 kB / 0.57 GB, free: 3.602 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.4793, allocations: 41.75 kB / 0.57 GB, free: 3.555 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007368/0.4801, allocations: 0.9901 MB / 0.571 GB, free: 2.344 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.4801, allocations: 30.56 kB / 0.571 GB, free: 2.305 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.4801, allocations: 3.938 kB / 0.571 GB, free: 2.301 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005226/0.4806, allocations: 137.5 kB / 0.5711 GB, free: 2.16 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/0.4807, allocations: 77.11 kB / 0.5712 GB, free: 2.066 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.4809, allocations: 156.6 kB / 0.5714 GB, free: 1.906 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.4809, allocations: 29.7 kB / 0.5714 GB, free: 1.871 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.481, allocations: 88.12 kB / 0.5715 GB, free: 1.781 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.478e-05/0.481, allocations: 23.8 kB / 0.5715 GB, free: 1.758 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.885e-05/0.4811, allocations: 29.69 kB / 0.5715 GB, free: 1.723 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.4812, allocations: 326.8 kB / 0.5718 GB, free: 1.395 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.4814, allocations: 25.92 kB / 0.5719 GB, free: 1.371 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.4815, allocations: 56.03 kB / 0.5719 GB, free: 1.305 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.4817, allocations: 87.7 kB / 0.572 GB, free: 1.207 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4817, allocations: 0 / 0.572 GB, free: 1.207 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00036/0.4821, allocations: 121.6 kB / 0.5721 GB, free: 1.082 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.4821, allocations: 12 kB / 0.5721 GB, free: 1.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4821, allocations: 0 / 0.5721 GB, free: 1.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.4821, allocations: 0 / 0.5721 GB, free: 1.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.4823, allocations: 27.95 kB / 0.5722 GB, free: 1.043 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.4823, allocations: 4.797 kB / 0.5722 GB, free: 1.039 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.4825, allocations: 8 kB / 0.5722 GB, free: 1.031 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.4825, allocations: 7.984 kB / 0.5722 GB, free: 1.023 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.0001068/0.4826, allocations: 117.8 kB / 0.5723 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/0.4827, allocations: 11.95 kB / 0.5723 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006364/0.4833, allocations: 229.3 kB / 0.5725 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.4833, allocations: 3.984 kB / 0.5725 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.4833, allocations: 1.5 kB / 0.5725 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.4833, allocations: 4 kB / 0.5725 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.4835, allocations: 214.9 kB / 0.5727 GB, free: 400 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.4835, allocations: 4 kB / 0.5727 GB, free: 396 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.4837, allocations: 27.91 kB / 0.5728 GB, free: 368 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.4837, allocations: 3.984 kB / 0.5728 GB, free: 364 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.4837, allocations: 0 / 0.5728 GB, free: 364 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.4837, allocations: 4 kB / 0.5728 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4837, allocations: 3.938 kB / 0.5728 GB, free: 356 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004597/0.4842, allocations: 189.7 kB / 0.573 GB, free: 144 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.792e-05/0.4843, allocations: 89.08 kB / 0.573 GB, free: 36 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.4843, allocations: 8.875 kB / 0.5731 GB, free: 28 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.4845, allocations: 3.984 kB / 0.5731 GB, free: 24 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.555e-05/0.4846, allocations: 7.984 kB / 0.5731 GB, free: 16 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.4846, allocations: 4 kB / 0.5731 GB, free: 12 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001947/0.4848, allocations: 129.4 kB / 0.5732 GB, free: 15.88 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4848, allocations: 4.062 kB / 0.5732 GB, free: 15.88 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005076/0.4853, allocations: 139.6 kB / 0.5733 GB, free: 15.74 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 (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.001263/0.4865, allocations: 0.91 MB / 0.5742 GB, free: 14.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002994/0.4868, allocations: 71.88 kB / 0.5743 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.4868, allocations: 0 / 0.5743 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.487, allocations: 39.91 kB / 0.5743 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.4872, allocations: 15.89 kB / 0.5743 GB, free: 14.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002755/0.4899, allocations: 1.798 MB / 0.5761 GB, free: 12.79 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.4902, allocations: 0.6885 MB / 0.5768 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005941/0.4908, allocations: 434.9 kB / 0.5772 GB, free: 11.65 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.491, allocations: 51.38 kB / 0.5772 GB, free: 11.6 MB / 494.1 MB Notification: Performance of SimCode: time 6.01e-07/0.491, allocations: 0 / 0.5772 GB, free: 11.6 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03301/0.524, allocations: 6.623 MB / 0.5837 GB, free: 5.125 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.376/8.9, allocations: 19.86 kB / 0.5837 GB, free: 5.105 MB / 494.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.453559417743236] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 8.968166648875922 8.9814093 8.502826143 Calling exit ...