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.001815/0.001815, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002074/0.002074, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 64.05 kB / 307 MB, free: 0.582 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08977/0.09163, allocations: 50.54 MB / 357.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.00245/0.09412, allocations: 1.368 MB / 358.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005215/0.09935, allocations: 4.038 MB / 362.9 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.307e-05/0.09941, allocations: 0 / 362.9 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.012e-05/0.09945, allocations: 4 kB / 362.9 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009441/0.1004, allocations: 294.9 kB / 363.2 MB, free: 8.305 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.1016, allocations: 494.1 kB / 363.7 MB, free: 7.824 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.458e-05/0.1017, allocations: 55.67 kB / 363.8 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.25e-05/0.1017, allocations: 4.266 kB / 363.8 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.1018, allocations: 35.86 kB / 363.8 MB, free: 7.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007081/0.1025, allocations: 363.2 kB / 364.1 MB, free: 7.375 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.1026, allocations: 0 / 364.1 MB, free: 7.375 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009918/0.1036, allocations: 0.5537 MB / 364.7 MB, free: 6.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.1036, allocations: 11.98 kB / 364.7 MB, free: 6.809 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.492e-05/0.1036, allocations: 23.86 kB / 364.7 MB, free: 6.785 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007117/0.1043, allocations: 455.1 kB / 365.2 MB, free: 6.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1044, allocations: 0 / 365.2 MB, free: 6.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1044, allocations: 0 / 365.2 MB, free: 6.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1044, allocations: 0 / 365.2 MB, free: 6.34 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.0005862/0.105, allocations: 447.1 kB / 365.6 MB, free: 5.855 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.105, allocations: 12.03 kB / 365.6 MB, free: 5.844 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.1051, allocations: 0.9375 kB / 365.6 MB, free: 5.844 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.1054, allocations: 188.3 kB / 365.8 MB, free: 5.621 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1054, allocations: 384 / 365.8 MB, free: 5.621 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.1054, allocations: 7.938 kB / 365.8 MB, free: 5.613 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.1056, allocations: 63.33 kB / 365.9 MB, free: 5.539 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.1056, allocations: 4 kB / 365.9 MB, free: 5.535 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1056, allocations: 4 kB / 365.9 MB, free: 5.531 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1056, allocations: 0 / 365.9 MB, free: 5.531 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.446e-05/0.1057, allocations: 15.98 kB / 365.9 MB, free: 5.516 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002132/0.1059, allocations: 174.5 kB / 366.1 MB, free: 5.293 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.1062, allocations: 89.06 kB / 366.2 MB, free: 5.188 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.988e-05/0.1063, allocations: 25.77 kB / 366.2 MB, free: 5.156 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001306/0.1076, allocations: 1.536 MB / 367.7 MB, free: 3.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.1077, allocations: 38.5 kB / 367.8 MB, free: 3.223 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1077, allocations: 0 / 367.8 MB, free: 3.223 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002971/0.108, allocations: 93.48 kB / 367.9 MB, free: 3.125 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.1081, allocations: 77.11 kB / 367.9 MB, free: 3.031 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.1082, allocations: 109.8 kB / 368 MB, free: 2.914 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.1082, allocations: 29.64 kB / 368.1 MB, free: 2.879 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.1082, allocations: 88.14 kB / 368.2 MB, free: 2.789 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.1083, allocations: 15.72 kB / 368.2 MB, free: 2.773 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.1083, allocations: 25.7 kB / 368.2 MB, free: 2.742 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1085, allocations: 314.8 kB / 368.5 MB, free: 2.426 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.314e-05/0.1086, allocations: 15.98 kB / 368.5 MB, free: 2.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.132e-05/0.1086, allocations: 43.42 kB / 368.6 MB, free: 2.355 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.1088, allocations: 63.72 kB / 368.6 MB, free: 2.281 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1088, allocations: 4 kB / 368.6 MB, free: 2.277 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002339/0.1091, allocations: 89.44 kB / 368.7 MB, free: 2.184 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1091, allocations: 4 kB / 368.7 MB, free: 2.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.1091, allocations: 4 kB / 368.7 MB, free: 2.176 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1091, allocations: 3.938 kB / 368.7 MB, free: 2.172 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.338e-05/0.1092, allocations: 23.92 kB / 368.7 MB, free: 2.148 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.1092, allocations: 0 / 368.7 MB, free: 2.148 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.717e-05/0.1093, allocations: 7.938 kB / 368.8 MB, free: 2.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.1093, allocations: 8.062 kB / 368.8 MB, free: 2.133 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 9.217e-05/0.1094, allocations: 113.8 kB / 368.9 MB, free: 2.012 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/0.1094, allocations: 4 kB / 368.9 MB, free: 2.008 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003938/0.1098, allocations: 120.8 kB / 369 MB, free: 1.887 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.465e-06/0.1098, allocations: 3.984 kB / 369 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.1098, allocations: 4 kB / 369 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1098, allocations: 0 / 369 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.11, allocations: 177.6 kB / 369.2 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.11, allocations: 0 / 369.2 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.999e-05/0.1101, allocations: 15.94 kB / 369.2 MB, free: 1.641 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.1101, allocations: 0 / 369.2 MB, free: 1.641 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.1101, allocations: 0 / 369.2 MB, free: 1.641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.1102, allocations: 7.984 kB / 369.2 MB, free: 1.633 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1102, allocations: 0 / 369.2 MB, free: 1.633 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003127/0.1105, allocations: 145.8 kB / 369.3 MB, free: 1.469 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.1105, allocations: 81.09 kB / 369.4 MB, free: 1.371 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.1106, allocations: 8 kB / 369.4 MB, free: 1.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.863e-05/0.1106, allocations: 0 / 369.4 MB, free: 1.363 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.1107, allocations: 11.92 kB / 369.4 MB, free: 1.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.1107, allocations: 3.938 kB / 369.4 MB, free: 1.348 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.101e-05/0.1108, allocations: 91.81 kB / 369.5 MB, free: 1.258 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1108, allocations: 4.062 kB / 369.5 MB, free: 1.254 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004175/0.1112, allocations: 131.9 kB / 369.7 MB, free: 1.125 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.0006571/0.1118, allocations: 305.7 kB / 370 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.1121, allocations: 51.89 kB / 370 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1121, allocations: 0 / 370 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.889e-05/0.1122, allocations: 28.05 kB / 370 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.1124, allocations: 16.69 kB / 370.1 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005447/0.1129, allocations: 290.7 kB / 370.3 MB, free: 428 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1304/0.2433, allocations: 0.6848 MB / 371 MB, free: 19.9 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.2434, allocations: 24.56 kB / 371.1 MB, free: 19.9 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/0.2435, allocations: 18.92 kB / 371.1 MB, free: 19.89 MB / 302.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2435, allocations: 0.5938 kB / 371.1 MB, free: 19.89 MB / 302.1 MB Notification: Performance of Templates: time 0.007109/0.2506, allocations: 3.049 MB / 374.1 MB, free: 19.59 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)