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/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 trunk/package.mo", uses=false) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001242/0.001247, allocations: 109.1 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00128/0.001281, allocations: 205.8 kB / 18.26 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 54.78 kB / 306.4 MB, free: 0.9531 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08333/0.08457, allocations: 50.53 MB / 357 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002418/0.08702, allocations: 1.432 MB / 358.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005094/0.09214, allocations: 4.029 MB / 362.4 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.161e-05/0.0922, allocations: 0 / 362.4 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.359e-05/0.09226, allocations: 0 / 362.4 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001055/0.09332, allocations: 255.2 kB / 362.7 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.09452, allocations: 462.6 kB / 363.1 MB, free: 8.223 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.09465, allocations: 63.59 kB / 363.2 MB, free: 8.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.58e-05/0.0947, allocations: 4.281 kB / 363.2 MB, free: 8.156 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.09484, allocations: 31.91 kB / 363.2 MB, free: 8.125 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007914/0.09564, allocations: 423 kB / 363.6 MB, free: 7.711 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.09567, allocations: 0 / 363.6 MB, free: 7.711 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009413/0.09662, allocations: 0.5615 MB / 364.2 MB, free: 7.148 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.09665, allocations: 7.984 kB / 364.2 MB, free: 7.141 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.421e-05/0.09669, allocations: 23.86 kB / 364.2 MB, free: 7.117 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007401/0.09744, allocations: 459.1 kB / 364.7 MB, free: 6.668 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.09745, allocations: 4 kB / 364.7 MB, free: 6.664 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.09746, allocations: 4 kB / 364.7 MB, free: 6.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.09747, allocations: 0 / 364.7 MB, free: 6.66 MB / 302.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.0005179/0.09799, allocations: 439.1 kB / 365.1 MB, free: 6.184 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.09804, allocations: 8.031 kB / 365.1 MB, free: 6.176 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.09808, allocations: 8.922 kB / 365.1 MB, free: 6.168 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.09828, allocations: 188.2 kB / 365.3 MB, free: 5.945 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.09831, allocations: 384 / 365.3 MB, free: 5.945 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.09834, allocations: 11.94 kB / 365.3 MB, free: 5.934 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.09851, allocations: 63.39 kB / 365.4 MB, free: 5.859 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.09853, allocations: 0 / 365.4 MB, free: 5.859 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.09854, allocations: 0 / 365.4 MB, free: 5.859 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.09856, allocations: 0 / 365.4 MB, free: 5.859 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.514e-05/0.09864, allocations: 23.92 kB / 365.4 MB, free: 5.836 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.09883, allocations: 174.5 kB / 365.6 MB, free: 5.613 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.09912, allocations: 77.12 kB / 365.7 MB, free: 5.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.765e-05/0.0992, allocations: 25.78 kB / 365.7 MB, free: 5.488 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009413/0.1001, allocations: 1.548 MB / 367.2 MB, free: 3.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.1002, allocations: 34.56 kB / 367.3 MB, free: 3.547 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1002, allocations: 4 kB / 367.3 MB, free: 3.543 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002684/0.1005, allocations: 85.5 kB / 367.3 MB, free: 3.453 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.1005, allocations: 77.11 kB / 367.4 MB, free: 3.359 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.708e-05/0.1006, allocations: 113.8 kB / 367.5 MB, free: 3.238 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.1006, allocations: 25.7 kB / 367.6 MB, free: 3.207 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.905e-05/0.1007, allocations: 80.14 kB / 367.6 MB, free: 3.125 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.1007, allocations: 27.69 kB / 367.7 MB, free: 3.098 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.1008, allocations: 25.66 kB / 367.7 MB, free: 3.066 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.458e-05/0.1009, allocations: 322.8 kB / 368 MB, free: 2.742 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.636e-05/0.1009, allocations: 11.98 kB / 368 MB, free: 2.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.45e-05/0.101, allocations: 35.42 kB / 368.1 MB, free: 2.684 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.1011, allocations: 67.36 kB / 368.1 MB, free: 2.605 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1012, allocations: 0 / 368.1 MB, free: 2.605 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00019/0.1013, allocations: 89.39 kB / 368.2 MB, free: 2.512 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1014, allocations: 4 kB / 368.2 MB, free: 2.508 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.1014, allocations: 3.938 kB / 368.2 MB, free: 2.504 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1014, allocations: 4 kB / 368.2 MB, free: 2.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.607e-05/0.1015, allocations: 15.98 kB / 368.2 MB, free: 2.484 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.1015, allocations: 4.062 kB / 368.2 MB, free: 2.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.555e-05/0.1015, allocations: 7.938 kB / 368.2 MB, free: 2.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.1015, allocations: 3.984 kB / 368.2 MB, free: 2.469 MB / 302.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 7.465e-05/0.1016, allocations: 121.7 kB / 368.4 MB, free: 2.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.1017, allocations: 4 kB / 368.4 MB, free: 2.336 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003543/0.102, allocations: 132.9 kB / 368.5 MB, free: 2.203 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.102, allocations: 4 kB / 368.5 MB, free: 2.199 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.102, allocations: 0 / 368.5 MB, free: 2.199 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.1021, allocations: 0.5625 kB / 368.5 MB, free: 2.199 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.1022, allocations: 173.6 kB / 368.7 MB, free: 1.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1022, allocations: 0 / 368.7 MB, free: 1.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.786e-05/0.1023, allocations: 11.98 kB / 368.7 MB, free: 1.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1023, allocations: 4 kB / 368.7 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.1023, allocations: 0 / 368.7 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1023, allocations: 0 / 368.7 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1023, allocations: 8 kB / 368.7 MB, free: 1.957 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.1026, allocations: 149.7 kB / 368.8 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.1027, allocations: 85.14 kB / 368.9 MB, free: 1.688 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.1027, allocations: 3.984 kB / 368.9 MB, free: 1.684 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.219e-05/0.1027, allocations: 4 kB / 368.9 MB, free: 1.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.1028, allocations: 8 kB / 368.9 MB, free: 1.672 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.1028, allocations: 12.05 kB / 369 MB, free: 1.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.267e-05/0.1029, allocations: 87.28 kB / 369 MB, free: 1.574 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1029, allocations: 0 / 369 MB, free: 1.574 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004031/0.1033, allocations: 135.8 kB / 369.2 MB, free: 1.441 MB / 302.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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005987/0.1039, allocations: 289.3 kB / 369.5 MB, free: 1.156 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.1041, allocations: 51.91 kB / 369.5 MB, free: 1.105 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1041, allocations: 4.125 kB / 369.5 MB, free: 1.102 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.486e-05/0.1042, allocations: 31.92 kB / 369.5 MB, free: 1.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.1044, allocations: 15.92 kB / 369.6 MB, free: 1.055 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.1049, allocations: 294.8 kB / 369.8 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.1051, allocations: 0.6856 MB / 370.5 MB, free: 28 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.1317/0.2368, allocations: 34.05 kB / 370.6 MB, free: 20.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.826e-05/0.2369, allocations: 21 kB / 370.6 MB, free: 20.11 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2369, allocations: 0 / 370.6 MB, free: 20.11 MB / 302.1 MB Notification: Performance of Templates: time 0.006449/0.2433, allocations: 3.023 MB / 373.6 MB, free: 19.82 MB / 302.1 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)