Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002423/0.002423, allocations: 195.4 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 3.014/3.014, allocations: 226.5 MB / 245.3 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001445/0.001446, allocations: 102.5 kB / 297.4 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005572/0.0005577, allocations: 8 kB / 357.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6483/0.6489, allocations: 51.29 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9577/1.607, allocations: 187.4 MB / 0.5821 GB, free: 12.76 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/1.607, allocations: 74.78 kB / 0.5821 GB, free: 12.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1134/1.721, allocations: 25.55 MB / 0.6071 GB, free: 6.938 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.243e-06/1.721, allocations: 4 kB / 0.6071 GB, free: 6.934 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.36e-05/1.721, allocations: 0 / 0.6071 GB, free: 6.934 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.001812/1.723, allocations: 486.2 kB / 0.6076 GB, free: 6.414 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.939e-05/1.723, allocations: 8.031 kB / 0.6076 GB, free: 6.406 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.225e-05/1.723, allocations: 12.84 kB / 0.6076 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004676/1.723, allocations: 183.7 kB / 0.6077 GB, free: 6.184 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/1.723, allocations: 4.375 kB / 0.6078 GB, free: 6.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/1.723, allocations: 4.359 kB / 0.6078 GB, free: 6.176 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/1.724, allocations: 59.03 kB / 0.6078 GB, free: 6.113 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/1.724, allocations: 192 / 0.6078 GB, free: 6.113 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/1.724, allocations: 11.88 kB / 0.6078 GB, free: 6.102 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/1.724, allocations: 7.984 kB / 0.6078 GB, free: 6.094 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/1.724, allocations: 15.48 kB / 0.6078 GB, free: 6.082 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005125/1.724, allocations: 174 kB / 0.608 GB, free: 5.867 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009055/1.733, allocations: 88.58 kB / 0.6081 GB, free: 5.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/1.734, allocations: 21.72 kB / 0.6081 GB, free: 5.742 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003715/1.738, allocations: 2.19 MB / 0.6103 GB, free: 3.078 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.019e-05/1.738, allocations: 34.56 kB / 0.6103 GB, free: 3.035 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 6.662e-06/1.738, allocations: 0 / 0.6103 GB, free: 3.035 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006356/1.738, allocations: 80.84 kB / 0.6104 GB, free: 2.957 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/1.739, allocations: 88.86 kB / 0.6104 GB, free: 2.855 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/1.739, allocations: 113.1 kB / 0.6106 GB, free: 2.738 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.989e-05/1.739, allocations: 25.7 kB / 0.6106 GB, free: 2.707 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/1.739, allocations: 88.08 kB / 0.6107 GB, free: 2.621 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/1.739, allocations: 23.45 kB / 0.6107 GB, free: 2.602 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-06/1.739, allocations: 0 / 0.6107 GB, free: 2.602 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003479/1.74, allocations: 314 kB / 0.611 GB, free: 2.289 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/1.74, allocations: 19.92 kB / 0.611 GB, free: 2.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/1.74, allocations: 39.3 kB / 0.611 GB, free: 2.223 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/1.74, allocations: 58.59 kB / 0.6111 GB, free: 2.164 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.74, allocations: 4 kB / 0.6111 GB, free: 2.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003429/1.74, allocations: 80.45 kB / 0.6112 GB, free: 2.082 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.436e-05/1.74, allocations: 11.98 kB / 0.6112 GB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/1.74, allocations: 3.938 kB / 0.6112 GB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.908e-05/1.741, allocations: 0 / 0.6112 GB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/1.741, allocations: 15.5 kB / 0.6112 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/1.741, allocations: 7.938 kB / 0.6112 GB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/1.741, allocations: 7.922 kB / 0.6112 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/1.741, allocations: 4 kB / 0.6112 GB, free: 2.035 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 0.0001783/1.741, allocations: 117.5 kB / 0.6113 GB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/1.741, allocations: 7.906 kB / 0.6113 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005824/1.742, allocations: 118.9 kB / 0.6115 GB, free: 1.797 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/1.742, allocations: 0 / 0.6115 GB, free: 1.797 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.812e-05/1.742, allocations: 4 kB / 0.6115 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/1.742, allocations: 3.984 kB / 0.6115 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003554/1.742, allocations: 168.9 kB / 0.6116 GB, free: 1.582 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/1.742, allocations: 0 / 0.6116 GB, free: 1.582 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/1.742, allocations: 15.92 kB / 0.6116 GB, free: 1.566 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/1.742, allocations: 0 / 0.6116 GB, free: 1.566 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/1.742, allocations: 7.938 kB / 0.6117 GB, free: 1.559 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.367e-05/1.742, allocations: 4 kB / 0.6117 GB, free: 1.555 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.742, allocations: 3.938 kB / 0.6117 GB, free: 1.551 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005072/1.743, allocations: 148.4 kB / 0.6118 GB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/1.743, allocations: 92.34 kB / 0.6119 GB, free: 1.301 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/1.743, allocations: 7.375 kB / 0.6119 GB, free: 1.297 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.343e-05/1.743, allocations: 0 / 0.6119 GB, free: 1.297 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.9e-05/1.743, allocations: 7.984 kB / 0.6119 GB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/1.743, allocations: 4 kB / 0.6119 GB, free: 1.285 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001076/1.743, allocations: 99.02 kB / 0.612 GB, free: 1.191 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.71e-07/1.743, allocations: 0 / 0.612 GB, free: 1.191 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001113/1.745, allocations: 150 kB / 0.6121 GB, free: 1.055 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.001949/1.747, allocations: 304.9 kB / 0.6124 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003771/1.747, allocations: 47.53 kB / 0.6125 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.747, allocations: 0 / 0.6125 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/1.747, allocations: 26.98 kB / 0.6125 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/1.748, allocations: 12.06 kB / 0.6125 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/1.749, allocations: 373.8 kB / 0.6129 GB, free: 308 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009348/1.75, allocations: 0.6926 MB / 0.6136 GB, free: 15.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/1.75, allocations: 27.36 kB / 0.6136 GB, free: 15.55 MB / 410.7 MB Notification: Performance of SimCode: time 7.82e-07/1.75, allocations: 0 / 0.6136 GB, free: 15.55 MB / 410.7 MB Notification: Performance of Templates: time 0.01285/1.763, allocations: 2.906 MB / 0.6164 GB, free: 12.68 MB / 410.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)