Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001293, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.589/1.589, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001132/0.001132, allocations: 99.83 kB / 286.7 MB, free: 5.23 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.865e-05/1.88e-05, allocations: 4 kB / 343.7 MB, free: 8.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1351, allocations: 51.48 MB / 395.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.718/1.853, allocations: 498.5 MB / 0.8727 GB, free: 25.5 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/1.853, allocations: 71.59 kB / 0.8728 GB, free: 25.46 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.41/2.263, allocations: 30.8 MB / 0.9028 GB, free: 118.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.294e-06/2.263, allocations: 2.625 kB / 0.9028 GB, free: 118.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.16e-05/2.263, allocations: 0 / 0.9028 GB, free: 118.8 MB / 442.7 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.0008317/2.264, allocations: 417.7 kB / 0.9032 GB, free: 118.4 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.822e-05/2.264, allocations: 9.188 kB / 0.9033 GB, free: 118.4 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/2.265, allocations: 106.9 kB / 0.9034 GB, free: 118.4 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/2.266, allocations: 192.5 kB / 0.9035 GB, free: 118.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/2.266, allocations: 0 / 0.9035 GB, free: 118.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/2.266, allocations: 2.75 kB / 0.9035 GB, free: 118.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001282/2.266, allocations: 28.73 kB / 0.9036 GB, free: 118.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/2.266, allocations: 69.58 kB / 0.9036 GB, free: 118.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/2.266, allocations: 0 / 0.9036 GB, free: 118.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/2.266, allocations: 0 / 0.9036 GB, free: 118.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/2.266, allocations: 0 / 0.9036 GB, free: 118.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002468/2.266, allocations: 175 kB / 0.9038 GB, free: 118 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003718/2.267, allocations: 90.8 kB / 0.9039 GB, free: 118 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.771e-05/2.267, allocations: 26.44 kB / 0.9039 GB, free: 118 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001084/2.268, allocations: 1.631 MB / 0.9055 GB, free: 116.1 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/2.268, allocations: 45.3 kB / 0.9056 GB, free: 116.1 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/2.268, allocations: 0 / 0.9056 GB, free: 116.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005978/2.269, allocations: 125.5 kB / 0.9057 GB, free: 116 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/2.269, allocations: 79.36 kB / 0.9057 GB, free: 115.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/2.269, allocations: 118.7 kB / 0.9059 GB, free: 115.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/2.269, allocations: 25.7 kB / 0.9059 GB, free: 115.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.569e-05/2.269, allocations: 89.61 kB / 0.906 GB, free: 115.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.56e-05/2.269, allocations: 23.92 kB / 0.906 GB, free: 115.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-06/2.269, allocations: 0 / 0.906 GB, free: 115.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.577e-05/2.269, allocations: 314.3 kB / 0.9063 GB, free: 115.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.546e-05/2.269, allocations: 17.34 kB / 0.9063 GB, free: 115.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.028e-05/2.269, allocations: 40.83 kB / 0.9063 GB, free: 115.4 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003572/2.269, allocations: 70.72 kB / 0.9064 GB, free: 115.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/2.269, allocations: 2.062 kB / 0.9064 GB, free: 115.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00052/2.27, allocations: 134.9 kB / 0.9065 GB, free: 115.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/2.27, allocations: 5.281 kB / 0.9066 GB, free: 115.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/2.27, allocations: 1.469 kB / 0.9066 GB, free: 115.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/2.27, allocations: 6.266 kB / 0.9066 GB, free: 115.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/2.27, allocations: 22.17 kB / 0.9066 GB, free: 115.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/2.27, allocations: 4.188 kB / 0.9066 GB, free: 115.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/2.27, allocations: 9 kB / 0.9066 GB, free: 115.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/2.27, allocations: 4.438 kB / 0.9066 GB, free: 115.3 MB / 442.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.48e-05/2.27, allocations: 105.5 kB / 0.9067 GB, free: 115.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/2.27, allocations: 6.812 kB / 0.9067 GB, free: 115.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005875/2.271, allocations: 160.1 kB / 0.9069 GB, free: 115.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/2.271, allocations: 6.875 kB / 0.9069 GB, free: 115.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/2.271, allocations: 3.953 kB / 0.9069 GB, free: 115.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/2.271, allocations: 4.125 kB / 0.9069 GB, free: 115.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/2.271, allocations: 154 kB / 0.907 GB, free: 115 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/2.271, allocations: 5.156 kB / 0.907 GB, free: 115 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/2.271, allocations: 11.97 kB / 0.907 GB, free: 115 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/2.271, allocations: 2.5 kB / 0.907 GB, free: 115 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/2.271, allocations: 4.594 kB / 0.907 GB, free: 115 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/2.271, allocations: 2.719 kB / 0.907 GB, free: 115 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/2.271, allocations: 3.188 kB / 0.907 GB, free: 115 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005173/2.272, allocations: 193.7 kB / 0.9072 GB, free: 114.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.51e-05/2.272, allocations: 93.11 kB / 0.9073 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/2.272, allocations: 0 / 0.9073 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/2.272, allocations: 5.25 kB / 0.9073 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/2.272, allocations: 15.86 kB / 0.9073 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/2.272, allocations: 6.812 kB / 0.9073 GB, free: 114.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.281e-05/2.272, allocations: 106.6 kB / 0.9074 GB, free: 114.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/2.272, allocations: 1.688 kB / 0.9074 GB, free: 114.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006273/2.273, allocations: 165.8 kB / 0.9076 GB, free: 114.7 MB / 442.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001371/2.274, allocations: 0.7835 MB / 0.9084 GB, free: 114.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001311/2.274, allocations: 41.78 kB / 0.9084 GB, free: 114.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/2.274, allocations: 0 / 0.9084 GB, free: 114.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.041e-05/2.275, allocations: 24.05 kB / 0.9084 GB, free: 114.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/2.275, allocations: 13.52 kB / 0.9084 GB, free: 114.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005149/2.275, allocations: 221.6 kB / 0.9087 GB, free: 114.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/2.275, allocations: 0.6925 MB / 0.9093 GB, free: 113.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002004/2.276, allocations: 44.23 kB / 0.9094 GB, free: 113.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.396e-05/2.276, allocations: 30.53 kB / 0.9094 GB, free: 113.8 MB / 442.7 MB Notification: Performance of SimCode: time 2.3e-07/2.276, allocations: 2.031 kB / 0.9094 GB, free: 113.8 MB / 442.7 MB Notification: Performance of Templates: time 0.01175/2.288, allocations: 6.504 MB / 0.9158 GB, free: 113.1 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1)