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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001445/0.001445, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0014/0.0014, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.571/1.571, allocations: 227.7 MB / 247.1 MB, free: 10.29 MB / 206.1 MB 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.002028/0.002028, allocations: 60.48 kB / 307.3 MB, free: 392 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1203, allocations: 50.54 MB / 357.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.00291/0.1233, allocations: 1.386 MB / 359.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3926/0.5159, allocations: 151.9 MB / 0.4992 GB, free: 1.711 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.047e-05/0.516, allocations: 0 / 0.4992 GB, free: 1.711 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 5.254e-05/0.5161, allocations: 11.92 kB / 0.4992 GB, free: 1.699 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001417/0.5175, allocations: 376.6 kB / 0.4996 GB, free: 1.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.519, allocations: 0.496 MB / 0.5 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.5192, allocations: 75.69 kB / 0.5001 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.466e-05/0.5192, allocations: 7.938 kB / 0.5001 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.239e-05/0.5193, allocations: 31.86 kB / 0.5001 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.896e-05/0.5194, allocations: 35.84 kB / 0.5002 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.5195, allocations: 8 kB / 0.5002 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002224/0.5217, allocations: 1.066 MB / 0.5012 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.421e-05/0.5218, allocations: 7.984 kB / 0.5012 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.971e-05/0.5218, allocations: 35.78 kB / 0.5013 GB, free: 15.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.5236, allocations: 0.6977 MB / 0.502 GB, free: 14.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.5236, allocations: 0 / 0.502 GB, free: 14.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5236, allocations: 4 kB / 0.502 GB, free: 14.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.5236, allocations: 0 / 0.502 GB, free: 14.88 MB / 430.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.0008471/0.5245, allocations: 459.8 kB / 0.5024 GB, free: 14.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.5245, allocations: 12.03 kB / 0.5024 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.203e-05/0.5246, allocations: 34.41 kB / 0.5024 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005594/0.5251, allocations: 73.62 kB / 0.5025 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.5254, allocations: 196.2 kB / 0.5027 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.5254, allocations: 7.938 kB / 0.5027 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.5254, allocations: 0 / 0.5027 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.5257, allocations: 75.33 kB / 0.5028 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.5257, allocations: 4 kB / 0.5028 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.5257, allocations: 4 kB / 0.5028 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.5257, allocations: 1.312 kB / 0.5028 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.5259, allocations: 39.97 kB / 0.5028 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.5262, allocations: 198.5 kB / 0.503 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.5265, allocations: 117.1 kB / 0.5031 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.594e-05/0.5266, allocations: 37.75 kB / 0.5032 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005948/0.5272, allocations: 145 kB / 0.5033 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.5273, allocations: 34.5 kB / 0.5033 GB, free: 13.26 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.5273, allocations: 0 / 0.5033 GB, free: 13.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.000469/0.5277, allocations: 113.5 kB / 0.5034 GB, free: 13.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.5278, allocations: 81.05 kB / 0.5035 GB, free: 13.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.528, allocations: 145.8 kB / 0.5037 GB, free: 12.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.528, allocations: 29.7 kB / 0.5037 GB, free: 12.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.191e-05/0.5281, allocations: 88.14 kB / 0.5038 GB, free: 12.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/0.5282, allocations: 19.72 kB / 0.5038 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/0.5282, allocations: 21.7 kB / 0.5038 GB, free: 12.72 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.5284, allocations: 314.8 kB / 0.5041 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.685e-05/0.5285, allocations: 27.97 kB / 0.5041 GB, free: 12.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.767e-05/0.5286, allocations: 51.42 kB / 0.5042 GB, free: 12.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.5288, allocations: 83.28 kB / 0.5043 GB, free: 12.22 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.5289, allocations: 0 / 0.5043 GB, free: 12.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002802/0.5291, allocations: 105.5 kB / 0.5044 GB, free: 12.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.5292, allocations: 4 kB / 0.5044 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.5292, allocations: 4.062 kB / 0.5044 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.5292, allocations: 6.438 kB / 0.5044 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.067e-05/0.5293, allocations: 19.92 kB / 0.5044 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.026e-06/0.5293, allocations: 3.938 kB / 0.5044 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.705e-05/0.5294, allocations: 11.94 kB / 0.5044 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.5294, allocations: 4 kB / 0.5044 GB, free: 12.06 MB / 430.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.0001258/0.5295, allocations: 121.8 kB / 0.5045 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.244e-05/0.5296, allocations: 12.31 kB / 0.5045 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002983/0.5299, allocations: 112 kB / 0.5047 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.5299, allocations: 4 kB / 0.5047 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.5299, allocations: 0 / 0.5047 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.5299, allocations: 0 / 0.5047 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.5302, allocations: 189.6 kB / 0.5048 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.5302, allocations: 0 / 0.5048 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.837e-05/0.5303, allocations: 12 kB / 0.5048 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5303, allocations: 0 / 0.5048 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.5303, allocations: 3.984 kB / 0.5049 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.5303, allocations: 7.938 kB / 0.5049 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5303, allocations: 4 kB / 0.5049 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/0.5307, allocations: 162.7 kB / 0.505 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.64e-05/0.5308, allocations: 89 kB / 0.5051 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.5308, allocations: 4 kB / 0.5051 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.063e-05/0.5308, allocations: 0 / 0.5051 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.5309, allocations: 16.05 kB / 0.5051 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.5309, allocations: 0 / 0.5051 GB, free: 11.24 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.06e-05/0.531, allocations: 115.6 kB / 0.5052 GB, free: 11.12 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.531, allocations: 0 / 0.5052 GB, free: 11.12 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006952/0.5317, allocations: 163.8 kB / 0.5054 GB, free: 10.96 MB / 430.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.002149/0.5339, allocations: 1.028 MB / 0.5064 GB, free: 9.918 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002741/0.5342, allocations: 64.03 kB / 0.5065 GB, free: 9.855 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5342, allocations: 0 / 0.5065 GB, free: 9.855 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.974e-05/0.5343, allocations: 35.91 kB / 0.5065 GB, free: 9.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.5346, allocations: 34.86 kB / 0.5065 GB, free: 9.789 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/0.5373, allocations: 1.719 MB / 0.5082 GB, free: 7.969 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.5378, allocations: 0.6885 MB / 0.5089 GB, free: 7.254 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.725e-05/0.5379, allocations: 29.53 kB / 0.5089 GB, free: 7.227 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.096e-05/0.5379, allocations: 23.44 kB / 0.5089 GB, free: 7.203 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.538, allocations: 0 / 0.5089 GB, free: 7.203 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03337/0.5713, allocations: 6.177 MB / 0.515 GB, free: 1.152 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.517/9.088, allocations: 15.98 kB / 0.515 GB, free: 1.137 MB / 430.1 MB (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 --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)