Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001533/0.001533, allocations: 200.7 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 226.5 MB / 245.4 MB, free: 6.449 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000832/0.0008323, allocations: 98.77 kB / 297.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002543/0.0002547, allocations: 12 kB / 358.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2417, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4032/0.645, allocations: 187.4 MB / 0.5828 GB, free: 12.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.6454, allocations: 75.53 kB / 0.5828 GB, free: 12.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05696/0.7023, allocations: 25.55 MB / 0.6078 GB, free: 6.859 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.7024, allocations: 0 / 0.6078 GB, free: 6.859 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.7024, allocations: 0 / 0.6078 GB, free: 6.859 MB / 394.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.0008608/0.7033, allocations: 489.3 kB / 0.6082 GB, free: 6.336 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.7033, allocations: 8.031 kB / 0.6083 GB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.7034, allocations: 8.844 kB / 0.6083 GB, free: 6.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.7036, allocations: 184.2 kB / 0.6084 GB, free: 6.109 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.7037, allocations: 384 / 0.6084 GB, free: 6.109 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.7037, allocations: 384 / 0.6084 GB, free: 6.109 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.7039, allocations: 63.02 kB / 0.6085 GB, free: 6.043 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.7039, allocations: 192 / 0.6085 GB, free: 6.043 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.7039, allocations: 7.938 kB / 0.6085 GB, free: 6.035 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.7039, allocations: 4 kB / 0.6085 GB, free: 6.031 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.467e-05/0.704, allocations: 23.17 kB / 0.6085 GB, free: 6.012 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002218/0.7042, allocations: 177.5 kB / 0.6087 GB, free: 5.793 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.7045, allocations: 84.19 kB / 0.6088 GB, free: 5.699 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.449e-05/0.7046, allocations: 29.33 kB / 0.6088 GB, free: 5.668 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001607/0.7062, allocations: 2.186 MB / 0.6109 GB, free: 3.004 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.7063, allocations: 38 kB / 0.611 GB, free: 2.961 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.7063, allocations: 0 / 0.611 GB, free: 2.961 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002911/0.7066, allocations: 80.59 kB / 0.6111 GB, free: 2.883 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.7066, allocations: 85.11 kB / 0.6111 GB, free: 2.781 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.7067, allocations: 105.6 kB / 0.6112 GB, free: 2.672 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.7068, allocations: 37.44 kB / 0.6113 GB, free: 2.633 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.7068, allocations: 80.14 kB / 0.6114 GB, free: 2.551 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.7069, allocations: 18.84 kB / 0.6114 GB, free: 2.535 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.7069, allocations: 3.938 kB / 0.6114 GB, free: 2.535 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.707, allocations: 314.8 kB / 0.6117 GB, free: 2.219 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.316e-05/0.7071, allocations: 15.75 kB / 0.6117 GB, free: 2.207 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.66e-05/0.7072, allocations: 42.98 kB / 0.6117 GB, free: 2.156 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.7073, allocations: 62.58 kB / 0.6118 GB, free: 2.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.7073, allocations: 0 / 0.6118 GB, free: 2.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001815/0.7075, allocations: 83.95 kB / 0.6119 GB, free: 2.012 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.7075, allocations: 8 kB / 0.6119 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.7076, allocations: 3.938 kB / 0.6119 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.7076, allocations: 0 / 0.6119 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.042e-05/0.7076, allocations: 23.98 kB / 0.6119 GB, free: 1.977 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.7077, allocations: 0 / 0.6119 GB, free: 1.977 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.899e-05/0.7077, allocations: 7.938 kB / 0.6119 GB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.7077, allocations: 3.688 kB / 0.6119 GB, free: 1.969 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.3e-05/0.7078, allocations: 121.8 kB / 0.612 GB, free: 1.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.7078, allocations: 7.906 kB / 0.612 GB, free: 1.832 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003131/0.7082, allocations: 118.8 kB / 0.6122 GB, free: 1.723 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.7082, allocations: 0 / 0.6122 GB, free: 1.723 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.7082, allocations: 4 kB / 0.6122 GB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.7082, allocations: 0 / 0.6122 GB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.7084, allocations: 180.3 kB / 0.6123 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.7084, allocations: 0 / 0.6123 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.655e-05/0.7085, allocations: 11.98 kB / 0.6123 GB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.7085, allocations: 0 / 0.6123 GB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.7085, allocations: 7.938 kB / 0.6123 GB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.7085, allocations: 3.938 kB / 0.6124 GB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.7085, allocations: 3.938 kB / 0.6124 GB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.7088, allocations: 143.6 kB / 0.6125 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.967e-05/0.7089, allocations: 96.95 kB / 0.6126 GB, free: 1.227 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.7089, allocations: 3.938 kB / 0.6126 GB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.931e-05/0.709, allocations: 4 kB / 0.6126 GB, free: 1.219 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.709, allocations: 7.422 kB / 0.6126 GB, free: 1.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.709, allocations: 4 kB / 0.6126 GB, free: 1.211 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.418e-05/0.7091, allocations: 94.95 kB / 0.6127 GB, free: 1.121 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.7091, allocations: 0 / 0.6127 GB, free: 1.121 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005354/0.7096, allocations: 146.5 kB / 0.6128 GB, free: 0.9883 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0007932/0.7104, allocations: 308 kB / 0.6131 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.7106, allocations: 50.95 kB / 0.6132 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.7107, allocations: 0 / 0.6132 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.827e-05/0.7107, allocations: 23.23 kB / 0.6132 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.711, allocations: 22.48 kB / 0.6132 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006151/0.7116, allocations: 352.3 kB / 0.6136 GB, free: 256 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.7119, allocations: 0.6965 MB / 0.6142 GB, free: 15.53 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.045e-05/0.712, allocations: 31.44 kB / 0.6143 GB, free: 15.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/0.7121, allocations: 23.38 kB / 0.6143 GB, free: 15.48 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.7121, allocations: 0 / 0.6143 GB, free: 15.48 MB / 410.7 MB Notification: Performance of Templates: time 0.006584/0.7187, allocations: 2.925 MB / 0.6171 GB, free: 12.59 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)