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.00131/0.00131, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001222, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.001181, allocations: 58.38 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08422/0.08542, allocations: 50.54 MB / 358.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002244/0.0877, allocations: 1.358 MB / 360.2 MB, free: 12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004629/0.09234, allocations: 4.042 MB / 364.3 MB, free: 7.934 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.674e-05/0.09238, allocations: 0 / 364.3 MB, free: 7.934 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.002e-05/0.09242, allocations: 3.938 kB / 364.3 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008024/0.09323, allocations: 282.9 kB / 364.6 MB, free: 7.652 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008771/0.09412, allocations: 493.3 kB / 365.1 MB, free: 7.172 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.89e-05/0.09422, allocations: 59.67 kB / 365.1 MB, free: 7.113 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.333e-05/0.09426, allocations: 0 / 365.1 MB, free: 7.113 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.762e-05/0.09436, allocations: 43.83 kB / 365.2 MB, free: 7.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006125/0.09499, allocations: 359.2 kB / 365.5 MB, free: 6.719 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.09501, allocations: 4 kB / 365.5 MB, free: 6.715 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008758/0.09589, allocations: 0.6044 MB / 366.1 MB, free: 6.109 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.989e-06/0.09591, allocations: 4 kB / 366.1 MB, free: 6.105 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.811e-05/0.09596, allocations: 23.86 kB / 366.1 MB, free: 6.082 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006204/0.09658, allocations: 455.2 kB / 366.6 MB, free: 5.637 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.0966, allocations: 0 / 366.6 MB, free: 5.637 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.0966, allocations: 0 / 366.6 MB, free: 5.637 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.09661, allocations: 0 / 366.6 MB, free: 5.637 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.0004767/0.09709, allocations: 443.1 kB / 367 MB, free: 5.156 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.09714, allocations: 8.031 kB / 367 MB, free: 5.148 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.09718, allocations: 8.875 kB / 367 MB, free: 5.141 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.09737, allocations: 192.2 kB / 367.2 MB, free: 4.914 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.09739, allocations: 4.375 kB / 367.2 MB, free: 4.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.09742, allocations: 3.938 kB / 367.2 MB, free: 4.906 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.09755, allocations: 59.39 kB / 367.3 MB, free: 4.836 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.09757, allocations: 0 / 367.3 MB, free: 4.836 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.09758, allocations: 0 / 367.3 MB, free: 4.836 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.09759, allocations: 4 kB / 367.3 MB, free: 4.832 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.582e-05/0.09767, allocations: 19.92 kB / 367.3 MB, free: 4.812 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/0.09785, allocations: 190.5 kB / 367.5 MB, free: 4.574 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.09811, allocations: 81.06 kB / 367.6 MB, free: 4.477 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.499e-05/0.09819, allocations: 21.77 kB / 367.6 MB, free: 4.449 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009499/0.09915, allocations: 1.54 MB / 369.1 MB, free: 2.559 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.09919, allocations: 34.56 kB / 369.2 MB, free: 2.516 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.0992, allocations: 0 / 369.2 MB, free: 2.516 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002591/0.09946, allocations: 85.81 kB / 369.3 MB, free: 2.426 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.09951, allocations: 81.11 kB / 369.3 MB, free: 2.328 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.449e-05/0.0996, allocations: 109.8 kB / 369.4 MB, free: 2.211 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.09962, allocations: 33.7 kB / 369.5 MB, free: 2.172 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.036e-05/0.09966, allocations: 84.14 kB / 369.6 MB, free: 2.086 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.09969, allocations: 15.72 kB / 369.6 MB, free: 2.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.09974, allocations: 25.7 kB / 369.6 MB, free: 2.039 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.79e-05/0.09984, allocations: 314.8 kB / 369.9 MB, free: 1.723 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.778e-05/0.09991, allocations: 15.98 kB / 369.9 MB, free: 1.707 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.639e-05/0.09998, allocations: 43.36 kB / 370 MB, free: 1.652 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.1001, allocations: 55.45 kB / 370 MB, free: 1.586 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1001, allocations: 0 / 370 MB, free: 1.586 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000178/0.1003, allocations: 93.38 kB / 370.1 MB, free: 1.488 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1003, allocations: 11.94 kB / 370.1 MB, free: 1.477 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.1003, allocations: 4.062 kB / 370.1 MB, free: 1.473 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1004, allocations: 0 / 370.1 MB, free: 1.473 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.573e-05/0.1004, allocations: 19.92 kB / 370.1 MB, free: 1.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1004, allocations: 4 kB / 370.1 MB, free: 1.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.1005, allocations: 7.938 kB / 370.2 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.1005, allocations: 4 kB / 370.2 MB, free: 1.438 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 6.925e-05/0.1006, allocations: 121.7 kB / 370.3 MB, free: 1.309 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.672e-05/0.1006, allocations: 4 kB / 370.3 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003108/0.1009, allocations: 124.9 kB / 370.4 MB, free: 1.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.1009, allocations: 3.984 kB / 370.4 MB, free: 1.176 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.101, allocations: 4 kB / 370.4 MB, free: 1.172 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.101, allocations: 0 / 370.4 MB, free: 1.172 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.1011, allocations: 177.6 kB / 370.6 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1011, allocations: 0 / 370.6 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.749e-05/0.1012, allocations: 8 kB / 370.6 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1012, allocations: 4 kB / 370.6 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1012, allocations: 4 kB / 370.6 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.1012, allocations: 3.984 kB / 370.6 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1012, allocations: 3.938 kB / 370.6 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.1015, allocations: 141.8 kB / 370.7 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.1016, allocations: 85.12 kB / 370.8 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.1016, allocations: 8.062 kB / 370.8 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.909e-05/0.1016, allocations: 4 kB / 370.8 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.1017, allocations: 7.984 kB / 370.8 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.1017, allocations: 4 kB / 370.9 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.575e-05/0.1017, allocations: 91.27 kB / 370.9 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1017, allocations: 0 / 370.9 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003781/0.1021, allocations: 131.9 kB / 371.1 MB, free: 432 kB / 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.0005471/0.1027, allocations: 305.9 kB / 371.4 MB, free: 124 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001704/0.1029, allocations: 43.91 kB / 371.4 MB, free: 80 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1029, allocations: 4 kB / 371.4 MB, free: 76 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.229e-05/0.103, allocations: 27.97 kB / 371.4 MB, free: 48 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.1032, allocations: 20.28 kB / 371.5 MB, free: 32 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1368/0.2399, allocations: 288.5 kB / 371.7 MB, free: 20.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.2401, allocations: 0.6917 MB / 372.4 MB, free: 19.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.936e-05/0.2402, allocations: 27.83 kB / 372.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.62e-05/0.2402, allocations: 21.78 kB / 372.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of SimCode: time 9.72e-07/0.2403, allocations: 0 / 372.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of Templates: time 0.007106/0.2474, allocations: 3.043 MB / 375.5 MB, free: 19.39 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 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)