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.001171/0.001171, allocations: 109 kB / 19.74 MB, free: 2.586 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.001254/0.001254, allocations: 215.7 kB / 22.92 MB, free: 5.559 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.284/1.284, allocations: 230.4 MB / 256.4 MB, free: 8.277 MB / 206.1 MB " [Timeout remaining time 179] 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.001811/0.001811, allocations: 71.83 kB / 376.1 MB, free: 4.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2096, allocations: 53.32 MB / 429.4 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002149/0.2118, allocations: 1.386 MB / 430.8 MB, free: 6.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3434/0.5552, allocations: 152.1 MB / 0.5692 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.044e-05/0.5553, allocations: 0 / 0.5692 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.5553, allocations: 6.422 kB / 0.5692 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007474/0.556, allocations: 240.7 kB / 0.5694 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008251/0.5569, allocations: 397.7 kB / 0.5698 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 8.773e-05/0.5569, allocations: 57.31 kB / 0.5698 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.399e-05/0.557, allocations: 5.078 kB / 0.5699 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.805e-05/0.557, allocations: 20.95 kB / 0.5699 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.023e-05/0.5571, allocations: 35.77 kB / 0.5699 GB, free: 13 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.5571, allocations: 2.094 kB / 0.5699 GB, free: 13 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.5581, allocations: 0.6922 MB / 0.5706 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.5581, allocations: 16.39 kB / 0.5706 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.393e-05/0.5582, allocations: 13.42 kB / 0.5706 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006331/0.5588, allocations: 0.4957 MB / 0.5711 GB, free: 12.92 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.5588, allocations: 0 / 0.5711 GB, free: 12.92 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.5588, allocations: 0 / 0.5711 GB, free: 12.92 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.5588, allocations: 0 / 0.5711 GB, free: 12.92 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.0005313/0.5594, allocations: 436 kB / 0.5715 GB, free: 12.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.5594, allocations: 11.97 kB / 0.5715 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.153e-05/0.5594, allocations: 39.36 kB / 0.5716 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.5607, allocations: 102 kB / 0.5717 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.5609, allocations: 224.1 kB / 0.5719 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.5609, allocations: 2.625 kB / 0.5719 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.5609, allocations: 3.656 kB / 0.5719 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.5611, allocations: 106 kB / 0.572 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.5611, allocations: 0 / 0.572 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.5612, allocations: 0 / 0.572 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.5612, allocations: 3.062 kB / 0.572 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.5613, allocations: 44.14 kB / 0.572 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.5616, allocations: 212.3 kB / 0.5722 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004394/0.562, allocations: 126.8 kB / 0.5724 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.5621, allocations: 38.31 kB / 0.5724 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006843/0.5628, allocations: 0.9823 MB / 0.5733 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.5628, allocations: 40 kB / 0.5734 GB, free: 10.76 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.5628, allocations: 0 / 0.5734 GB, free: 10.76 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004305/0.5633, allocations: 129.9 kB / 0.5735 GB, free: 10.72 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.5633, allocations: 84.83 kB / 0.5736 GB, free: 10.62 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.5635, allocations: 159.5 kB / 0.5737 GB, free: 10.52 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.5635, allocations: 27.8 kB / 0.5738 GB, free: 10.49 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/0.5636, allocations: 87.83 kB / 0.5739 GB, free: 10.41 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.5636, allocations: 24.55 kB / 0.5739 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.277e-05/0.5637, allocations: 31.19 kB / 0.5739 GB, free: 10.38 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5638, allocations: 322.6 kB / 0.5742 GB, free: 10.06 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.44e-05/0.5639, allocations: 26.55 kB / 0.5742 GB, free: 10.06 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.564, allocations: 54.83 kB / 0.5743 GB, free: 10.03 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.5642, allocations: 84.09 kB / 0.5744 GB, free: 9.988 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.5642, allocations: 0 / 0.5744 GB, free: 9.988 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003109/0.5645, allocations: 121.8 kB / 0.5745 GB, free: 9.949 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.5645, allocations: 4.781 kB / 0.5745 GB, free: 9.949 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.5645, allocations: 6.969 kB / 0.5745 GB, free: 9.945 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.5646, allocations: 1.203 kB / 0.5745 GB, free: 9.945 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.5647, allocations: 31.16 kB / 0.5745 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.5647, allocations: 2.688 kB / 0.5745 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.5649, allocations: 8.297 kB / 0.5745 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.5649, allocations: 5.078 kB / 0.5745 GB, free: 9.941 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.626e-05/0.565, allocations: 115.5 kB / 0.5747 GB, free: 9.824 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.672e-05/0.565, allocations: 6.547 kB / 0.5747 GB, free: 9.82 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005013/0.5655, allocations: 241.4 kB / 0.5749 GB, free: 9.77 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.5655, allocations: 2.406 kB / 0.5749 GB, free: 9.77 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5655, allocations: 0 / 0.5749 GB, free: 9.77 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5655, allocations: 6.5 kB / 0.5749 GB, free: 9.766 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.5657, allocations: 224 kB / 0.5751 GB, free: 9.562 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.5657, allocations: 4 kB / 0.5751 GB, free: 9.559 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.5659, allocations: 29.5 kB / 0.5751 GB, free: 9.551 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.5659, allocations: 0 / 0.5751 GB, free: 9.551 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.5659, allocations: 4.453 kB / 0.5751 GB, free: 9.551 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.5659, allocations: 2.719 kB / 0.5752 GB, free: 9.551 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5659, allocations: 0 / 0.5752 GB, free: 9.551 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003734/0.5663, allocations: 178 kB / 0.5753 GB, free: 9.469 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.928e-05/0.5663, allocations: 98 kB / 0.5754 GB, free: 9.371 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.5664, allocations: 0 / 0.5754 GB, free: 9.371 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.5665, allocations: 4.797 kB / 0.5754 GB, free: 9.371 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.5666, allocations: 10.02 kB / 0.5754 GB, free: 9.371 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.5666, allocations: 5.438 kB / 0.5754 GB, free: 9.371 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001582/0.5667, allocations: 129.3 kB / 0.5756 GB, free: 9.297 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5667, allocations: 0 / 0.5756 GB, free: 9.297 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003995/0.5671, allocations: 131.4 kB / 0.5757 GB, free: 9.273 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.001192/0.5683, allocations: 0.9362 MB / 0.5766 GB, free: 8.613 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002536/0.5686, allocations: 74.28 kB / 0.5767 GB, free: 8.609 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5686, allocations: 2.094 kB / 0.5767 GB, free: 8.609 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.5687, allocations: 37.75 kB / 0.5767 GB, free: 8.605 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.5689, allocations: 16.38 kB / 0.5767 GB, free: 8.602 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.5713, allocations: 1.793 MB / 0.5785 GB, free: 7.316 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.5715, allocations: 0.6879 MB / 0.5791 GB, free: 6.621 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004206/0.5719, allocations: 440.4 kB / 0.5796 GB, free: 6.57 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.5721, allocations: 56.48 kB / 0.5796 GB, free: 6.559 MB / 462.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5721, allocations: 0 / 0.5796 GB, free: 6.559 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02963/0.6017, allocations: 6.658 MB / 0.5861 GB, free: 3.469 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.036/7.638, allocations: 4 kB / 0.5861 GB, free: 3.465 MB / 462.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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: 9.624493335999432]