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.001759/0.001759, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.002262/0.002262, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.421/1.421, allocations: 230.5 MB / 254.7 MB, free: 15.03 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.001958/0.001958, allocations: 75.81 kB / 373.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09747/0.09943, allocations: 53.32 MB / 426.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002547/0.102, allocations: 1.387 MB / 428.3 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3645/0.4664, allocations: 152.3 MB / 0.567 GB, free: 6.832 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.346e-05/0.4665, allocations: 4 kB / 0.567 GB, free: 6.828 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.74e-05/0.4665, allocations: 11.92 kB / 0.567 GB, free: 6.816 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001168/0.4677, allocations: 374.4 kB / 0.5674 GB, free: 6.449 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.4689, allocations: 0.5144 MB / 0.5679 GB, free: 5.938 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.4691, allocations: 75.64 kB / 0.568 GB, free: 5.863 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.4691, allocations: 7.984 kB / 0.568 GB, free: 5.855 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.069e-05/0.4692, allocations: 31.86 kB / 0.568 GB, free: 5.824 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.684e-05/0.4693, allocations: 35.89 kB / 0.568 GB, free: 5.789 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.4693, allocations: 4 kB / 0.568 GB, free: 5.785 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002062/0.4713, allocations: 1.13 MB / 0.5691 GB, free: 4.652 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/0.4714, allocations: 19.91 kB / 0.5692 GB, free: 4.633 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.365e-05/0.4714, allocations: 28.94 kB / 0.5692 GB, free: 4.605 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.4725, allocations: 0.6894 MB / 0.5699 GB, free: 3.918 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4725, allocations: 0 / 0.5699 GB, free: 3.918 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4725, allocations: 4 kB / 0.5699 GB, free: 3.914 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.4725, allocations: 0 / 0.5699 GB, free: 3.914 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.0006586/0.4732, allocations: 462.3 kB / 0.5703 GB, free: 3.414 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.4732, allocations: 8.031 kB / 0.5703 GB, free: 3.406 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.452e-05/0.4733, allocations: 38.73 kB / 0.5703 GB, free: 3.359 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004594/0.4737, allocations: 72.8 kB / 0.5704 GB, free: 3.289 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.474, allocations: 200 kB / 0.5706 GB, free: 3.055 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.474, allocations: 0 / 0.5706 GB, free: 3.055 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.474, allocations: 4 kB / 0.5706 GB, free: 3.051 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.4742, allocations: 80.08 kB / 0.5707 GB, free: 2.961 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.577e-06/0.4742, allocations: 0 / 0.5707 GB, free: 2.961 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.4742, allocations: 0 / 0.5707 GB, free: 2.961 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.4742, allocations: 0 / 0.5707 GB, free: 2.961 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.4743, allocations: 43.97 kB / 0.5707 GB, free: 2.918 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002458/0.4745, allocations: 194.5 kB / 0.5709 GB, free: 2.676 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.4749, allocations: 113.1 kB / 0.571 GB, free: 2.547 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.415e-05/0.4749, allocations: 29.77 kB / 0.571 GB, free: 2.512 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005403/0.4755, allocations: 152.4 kB / 0.5712 GB, free: 2.348 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.4755, allocations: 30.56 kB / 0.5712 GB, free: 2.309 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.4755, allocations: 3.938 kB / 0.5712 GB, free: 2.305 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003691/0.4759, allocations: 117.5 kB / 0.5713 GB, free: 2.184 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.476, allocations: 89.05 kB / 0.5714 GB, free: 2.078 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.4761, allocations: 138.6 kB / 0.5716 GB, free: 1.934 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001107/0.4762, allocations: 25.7 kB / 0.5716 GB, free: 1.902 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.569e-05/0.4763, allocations: 92.12 kB / 0.5717 GB, free: 1.809 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.4763, allocations: 27.78 kB / 0.5717 GB, free: 1.781 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.4764, allocations: 17.72 kB / 0.5717 GB, free: 1.758 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.4765, allocations: 322.8 kB / 0.572 GB, free: 1.434 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.107e-05/0.4766, allocations: 27.98 kB / 0.572 GB, free: 1.406 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.626e-05/0.4767, allocations: 51.41 kB / 0.5721 GB, free: 1.344 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.4768, allocations: 79.34 kB / 0.5722 GB, free: 1.254 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4768, allocations: 0 / 0.5722 GB, free: 1.254 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002534/0.4771, allocations: 109.5 kB / 0.5723 GB, free: 1.141 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.4771, allocations: 4 kB / 0.5723 GB, free: 1.137 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.4771, allocations: 4 kB / 0.5723 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.4771, allocations: 0 / 0.5723 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.555e-05/0.4772, allocations: 19.92 kB / 0.5723 GB, free: 1.113 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.4772, allocations: 0 / 0.5723 GB, free: 1.113 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.229e-05/0.4773, allocations: 11.95 kB / 0.5723 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.4773, allocations: 4 kB / 0.5723 GB, free: 1.098 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.596e-05/0.4774, allocations: 121.8 kB / 0.5724 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.4774, allocations: 4 kB / 0.5724 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002732/0.4777, allocations: 120.4 kB / 0.5725 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.4777, allocations: 4 kB / 0.5726 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.4777, allocations: 0 / 0.5726 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4777, allocations: 0 / 0.5726 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.4779, allocations: 182.1 kB / 0.5727 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4779, allocations: 0 / 0.5727 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.108e-05/0.478, allocations: 19.98 kB / 0.5727 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.478, allocations: 0.5 kB / 0.5727 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.478, allocations: 4 kB / 0.5727 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.478, allocations: 3.938 kB / 0.5728 GB, free: 0.582 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.478, allocations: 8.375 kB / 0.5728 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.4783, allocations: 165.8 kB / 0.5729 GB, free: 400 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.252e-05/0.4784, allocations: 83.36 kB / 0.573 GB, free: 300 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.4784, allocations: 11.98 kB / 0.573 GB, free: 288 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.171e-05/0.4785, allocations: 0 / 0.573 GB, free: 288 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.4785, allocations: 4 kB / 0.573 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.4785, allocations: 4 kB / 0.573 GB, free: 280 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001482/0.4787, allocations: 116.2 kB / 0.5731 GB, free: 164 kB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4787, allocations: 0 / 0.5731 GB, free: 164 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005998/0.4793, allocations: 167.5 kB / 0.5733 GB, free: 15.99 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.001658/0.4809, allocations: 1.021 MB / 0.5743 GB, free: 14.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002067/0.4811, allocations: 67.89 kB / 0.5744 GB, free: 14.89 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4811, allocations: 8.062 kB / 0.5744 GB, free: 14.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.788e-05/0.4812, allocations: 31.92 kB / 0.5744 GB, free: 14.85 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.4815, allocations: 28.28 kB / 0.5744 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.4837, allocations: 1.73 MB / 0.5761 GB, free: 13 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.4841, allocations: 0.7001 MB / 0.5768 GB, free: 12.27 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.166e-05/0.4842, allocations: 11.98 kB / 0.5768 GB, free: 12.26 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.049e-05/0.4842, allocations: 25.81 kB / 0.5768 GB, free: 12.23 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4842, allocations: 0 / 0.5768 GB, free: 12.23 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03235/0.5166, allocations: 6.345 MB / 0.583 GB, free: 6.047 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.178/8.695, allocations: 7.609 kB / 0.583 GB, free: 6.043 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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: 10.951042326167226] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 8.766149007249624 8.789899339 8.312950021 Calling exit ...